From: danix Date: Sat, 25 Feb 2023 19:19:02 +0000 (+0100) Subject: modified order of operations in theme style. X-Git-Url: https://git.danix.xyz/?p=gitweb-theme-danix.git;a=commitdiff_plain;h=050112dff54fa9b1de3f3c4c966d7e0a8a52a244 modified order of operations in theme style. --- diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index 404ceea..2e92d91 100644 --- a/gitweb-danixland/gitweb.css +++ b/gitweb-danixland/gitweb.css @@ -41,15 +41,6 @@ table { a { outline: none; } -@media screen and (prefers-color-scheme: dark) { -/* General - dark theme ----------------------------------------------------------------------------- */ - body { - background-color: #303030; - color: #e2e2e2; - } -} - /* General - light theme ---------------------------------------------------------------------------- */ @@ -772,3 +763,12 @@ td.pre, div.pre, div.diff { .kwc { color:#d4663d; } .kwd { color:#2928ff; } + +@media screen and (prefers-color-scheme: dark) { +/* General - dark theme +---------------------------------------------------------------------------- */ + body { + background-color: #303030; + color: #e2e2e2; + } +}