]> git.ardis.lu - git.ardis.lu/commitdiff
Improve <code> styling in README
authorArdis Lu <ardisglu@gmail.com>
Mon, 15 Sep 2025 00:41:00 +0000 (17:41 -0700)
committerArdis Lu <ardisglu@gmail.com>
Mon, 15 Sep 2025 00:41:00 +0000 (17:41 -0700)
usr/share/gitweb/static/custom.css

index 814c422c4484e941a41525d8e1546cad3be19274..b84ea9aca2bd251493779145efec1a8a21d19170 100644 (file)
@@ -57,6 +57,20 @@ div.readme {
   max-inline-size: min(100dvi - 38px, 1440px);
 }
 
+div.readme {
+  & :not(pre) code {
+    border: 1px solid transparent;
+    border-radius: 4px;
+    background: hsl(0deg 0% 95%);
+    padding: 1px 3px 2px;
+    hyphens: none;
+  }
+
+  & pre {
+    padding: 8px 12px;
+  }
+}
+
 div.title_text {
   display: flex;
   align-items: center;
This page took 0.034727 seconds and 4 git commands to generate.