From 050112dff54fa9b1de3f3c4c966d7e0a8a52a244 Mon Sep 17 00:00:00 2001 From: danix Date: Sat, 25 Feb 2023 20:19:02 +0100 Subject: [PATCH] modified order of operations in theme style. --- gitweb-danixland/gitweb.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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; + } +} -- 2.20.1