]> danix's work - gitweb-theme-danix.git/commitdiff
modified order of operations in theme style.
authordanix <redacted>
Sat, 25 Feb 2023 19:19:02 +0000 (20:19 +0100)
committerdanix <redacted>
Sat, 25 Feb 2023 19:19:02 +0000 (20:19 +0100)
gitweb-danixland/gitweb.css

index 404ceeac68807ac9f032fbf73b75cf1fcf8e939e..2e92d9148ba499e83322b1bdae59f1d343d409ed 100644 (file)
@@ -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;
+  }
+}