]> danix's work - gitweb-theme-danix.git/commitdiff
testing variables in rgba
authordanix <redacted>
Sun, 26 Feb 2023 05:38:53 +0000 (06:38 +0100)
committerdanix <redacted>
Sun, 26 Feb 2023 05:38:53 +0000 (06:38 +0100)
gitweb-danixland/gitweb.css

index bc667bed1d9641f3189f0eb73998796c861e14d7..c8b494531148a9f1fe482a50f686a5110937cc39 100644 (file)
@@ -48,12 +48,14 @@ a { outline: none; }
   --bg-alt: #F0EEED;
   --fg: #393E46;
   --link: #CF4DCE;
+  --border: 34,40,49,0.035;
 }
 @media screen and (prefers-color-scheme: dark) {
   :root {
     --bg: #393E46;
     --bg-alt: #222831;
     --fg: #D8D9CF;
+    --border: 216,217,207,0.2;
   }
 }
 
@@ -141,7 +143,7 @@ td, th {
   background: -moz-linear-gradient(top, var(--bg) 0%, var(--bg-alt) 100%); /* firefox */
   background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,var(--bg)), color-stop(100%,var(--bg-alt))); /* webkit */
   background: -o-linear-gradient(top, var(--bg) 0%, var(--bg-alt) 100%);
-  border-bottom: 1px solid #dfdfdf;
+  border-bottom: 1px solid rgba(var(--border));
 }
 
 .page_header a:link, .page_header a:visited {