modified order of operations in theme style.
authordanix <danix@danix.xyz>
Sat, 25 Feb 2023 19:19:02 +0000 (20:19 +0100)
committerdanix <danix@danix.xyz>
Sat, 25 Feb 2023 19:19:02 +0000 (20:19 +0100)
gitweb-danixland/gitweb.css

index 404ceea..2e92d91 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;
+  }
+}