summaryrefslogtreecommitdiffstats
path: root/src/style.css
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2021-03-10 15:27:39 -0500
committerLuke Smith <luke@lukesmith.xyz>2021-03-10 15:27:39 -0500
commitd4236e938185f0e4b64227a3af3cb6ec29461318 (patch)
treea6d27ebd70f0bb041d292a6764b7cf20adfb3914 /src/style.css
parente1d67600be03732e479390dcd1288396e7fe8cbf (diff)
downloadbased.cooking-d4236e938185f0e4b64227a3af3cb6ec29461318.tar
based.cooking-d4236e938185f0e4b64227a3af3cb6ec29461318.tar.gz
based.cooking-d4236e938185f0e4b64227a3af3cb6ec29461318.tar.lz
based.cooking-d4236e938185f0e4b64227a3af3cb6ec29461318.tar.xz
based.cooking-d4236e938185f0e4b64227a3af3cb6ec29461318.zip
add dark mode for darkmode browsers, close #1
Diffstat (limited to 'src/style.css')
-rw-r--r--src/style.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css
index 61b4818a6..5ce961299 100644
--- a/src/style.css
+++ b/src/style.css
@@ -17,3 +17,19 @@ img {
margin: auto ;
display: block ;
}
+
+@media (prefers-color-scheme: dark) {
+ body {
+ background: #151515 ;
+ color: white ;
+ }
+ a {
+ color: lightblue ;
+ }
+ a:visited {
+ color: gray ;
+ }
+ h2 {
+ color: tomato ;
+ }
+}