diff options
author | Dennis Eriksen <d@ennis.no> | 2019-11-02 20:26:26 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2019-11-02 20:26:26 +0100 |
commit | e3deacb7cf9bdc80ac2c5c5ee2c2db18229fdeae (patch) | |
tree | 66f99905d67f4c6a929fca005ccbdb413d389110 | |
parent | redesigning 404 (diff) | |
download | riker-e3deacb7cf9bdc80ac2c5c5ee2c2db18229fdeae.tar.gz |
adding dark-mode!
-rw-r--r-- | static/css/main.css | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/static/css/main.css b/static/css/main.css index 0c451c7..63f5410 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -73,3 +73,25 @@ footer { text-align: center; font-size: 0.8rem; } + +@media (prefers-color-scheme: dark) { + body { + background-color: #070704; + color: #ccc; + } + h1, h2, h3, h4, h5, h6, strong { + color: #fff; + } + pre { + background: #151512; + border-bottom: 2px solid #443; + border-left: 2px solid #595933; + } + code { + color: #d55; + background-color: #222; + } + a { + color: #5386de; + } +} |