]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
respect user theme
authorAilin Nemui <redacted>
Tue, 15 Dec 2020 15:43:46 +0000 (16:43 +0100)
committerAilin Nemui <redacted>
Tue, 15 Dec 2020 15:43:46 +0000 (16:43 +0100)
[skip ci]

assets/css/style.css

index 9c60c536b39198b89a0f791be2692312f28c0b0e..9ea5aea1935beae6fc0154364d7e7b9c0568c688 100644 (file)
@@ -34,3 +34,31 @@ input#automatic-instructions:checked ~ dl.manual-instructions,
 input#manual-instructions:checked ~ h4,
 input#automatic-instructions:checked ~ h4
 { display: none; }
+body {
+    transition: opacity 300ms linear, color 150ms, background-color 150ms, border-color 150ms;
+}
+@media (prefers-color-scheme: dark) {
+    body {
+       background-color: #2e3440;
+       color: #ffffff;
+    }
+    code,
+    pre {
+       background-color: #1d232e;/*#3b4252*/;
+    }
+    .table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th,
+    .form-control {
+       background-color: #3b4252;
+       color: #eceff4;
+    }
+    .btn-link,
+    a {
+       color: #8699bb;
+    }
+    .btn-link:hover,
+    a:hover,
+    a:focus {
+       color: #5e81ac;
+    }
+}
+
git clone https://git.99rst.org/PROJECT