commit b1d2bb7c538c99edd2d52df2ffd19b5dba7c1273
parent cca0ffba5b651808a6d3b2d2bbfb489c9547cabc
Author: aabacchus <ben@bvnf.space>
Date: Sun, 24 Oct 2021 01:05:47 +0100
colour tweaks in style.css
Diffstat:
1 file changed, 25 insertions(+), 2 deletions(-)
diff --git a/style.css b/style.css
@@ -1,7 +1,8 @@
body {
color: #000;
- background-color: #fff;
+ background: #eee;
font-family: monospace;
+ font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
@@ -55,7 +56,7 @@ table td {
#index tr:hover td,
#log tr:hover td,
#files tr:hover td {
- background-color: #eee;
+ background-color: #ddd;
}
#index tr td:nth-child(2),
@@ -104,3 +105,25 @@ pre a.i:hover,
pre a.d:hover {
text-decoration: none;
}
+
+@media(prefers-color-scheme: dark) {
+ body {
+ background: #292929;
+ color: #fff;
+ }
+ a {
+ color: #6cf;
+ }
+ #branches tr:hover td,
+ #tags tr:hover td,
+ #index tr:hover td,
+ #log tr:hover td,
+ #files tr:hover td {
+ background-color: #333;
+ }
+
+ .desc {
+ color: #999;
+ }
+
+}