« get me outta code hell

css: content-code precision - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-10-25 14:48:59 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-10-25 14:48:59 -0300
commitadfbf436e15bfddeae3b47dbce26179b026145ca (patch)
treebb359f33ce8d962ea2aae40be6e9113538ef5c87 /src/static
parentdbcb73ad49a36463d0a4618b2c985ca637a48341 (diff)
css: content-code precision
Diffstat (limited to 'src/static')
-rw-r--r--src/static/css/site.css12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index 4998b799..bde7e0cc 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -1555,19 +1555,25 @@ li:not(:first-child:last-child) .tooltip:where(:not(.cover-artwork .tooltip)),
 }
 
 pre.content-code {
-  white-space: normal;
   background: black;
   color: white;
+
+  white-space: nowrap;
+
   padding: 5px;
   max-width: calc(100vw - 180px);
+
+  /* Welcome to heck. */
+  font-family: inherit;
+
   overflow-x: scroll;
   border: 1px dashed var(--primary-color);
 }
 
 pre.content-code code {
+  font-family: "courier new", monospace;
+  font-weight: 800;
   font-size: 0.8em;
-  line-height: 1;
-  white-space: nowrap;
 }
 
 s.spoiler {