summaryrefslogtreecommitdiffstats
path: root/assets/css/main.min.css
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-05 11:16:10 +0100
committerDanilo M. <danix@danix.xyz>2026-11-05 11:16:10 +0100
commit2066c9933766f5176a79ecf4ce5acc3a5fd339f1 (patch)
tree50ba3a1b6a9d9f994bf1c41a50e7a7f363bfc859 /assets/css/main.min.css
parent7b654189673fb7c517f095f468f8608e73f5cddf (diff)
downloaddanixxyz-theme-2066c9933766f5176a79ecf4ce5acc3a5fd339f1.tar.gz
danixxyz-theme-2066c9933766f5176a79ecf4ce5acc3a5fd339f1.zip
fix: code block alignment and backticks around inline codeHEADmaster
The line number column took a share of the spare table width, pushing the code to the right. Typography's literal backticks showed around inline code, which already has its own box. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'assets/css/main.min.css')
-rw-r--r--assets/css/main.min.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/assets/css/main.min.css b/assets/css/main.min.css
index cb92172..afa3039 100644
--- a/assets/css/main.min.css
+++ b/assets/css/main.min.css
@@ -5067,6 +5067,13 @@ html.theme-light .hero-name {
}
}
+/* Inline code already has its own box: no literal backticks around it. */
+
+.prose code::before,
+.prose code::after {
+ content: none;
+}
+
.hover\:bg-surface:hover {
background-color: var(--surface);
}