From: danix Date: Sun, 26 Feb 2023 05:38:53 +0000 (+0100) Subject: testing variables in rgba X-Git-Url: https://git.danix.xyz/?p=gitweb-theme-danix.git;a=commitdiff_plain;h=05bbea0e8999e9c46ca6669d7bbe2a8370c0c194 testing variables in rgba --- diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index bc667be..c8b4945 100644 --- a/gitweb-danixland/gitweb.css +++ b/gitweb-danixland/gitweb.css @@ -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 {