diff options
| author | Julian Hurst <julian.hurst92@gmail.com> | 2021-01-10 00:33:31 +0100 |
|---|---|---|
| committer | Julian Hurst <julian.hurst92@gmail.com> | 2021-01-10 00:33:31 +0100 |
| commit | b8c6629672e745cc0b4f138bbee900f6e34b1494 (patch) | |
| tree | 279d474a86b9fdd049982a58fa1a94c1cb36a545 /static/style.css | |
| parent | c14a472f704355b665f53214df67522e162c9613 (diff) | |
| download | grimtube-b8c6629672e745cc0b4f138bbee900f6e34b1494.tar.gz | |
Support light/dark color scheme prefs
Diffstat (limited to 'static/style.css')
| -rw-r--r-- | static/style.css | 63 |
1 files changed, 2 insertions, 61 deletions
diff --git a/static/style.css b/static/style.css index a4f71c5..420e9c2 100644 --- a/static/style.css +++ b/static/style.css @@ -1,62 +1,3 @@ -a { - color: black; -} +@import "light.css" screen; -li { - list-style-type: none; -} - -body { - margin: 0 auto; - margin-top: 10px; - max-width: 80ex; -} - -table { - border-collapse: collapse; - width: 100%; -} - -tr { - border-bottom: 1px solid black; - border-top: 1px solid black; -} - -td { - padding-top: 10px; - padding-bottom: 10px; -} - -form { - margin-bottom: 10px; -} - -input { - width: 100%; -} - -iframe { - position: absolute; - top: 0; - left: 0; -} - -.comments { - font-size: small; -} - -input#term { - width: 90%; - height: 22px; - border: 1px solid black; - padding: 0px; - margin: 0px; -} - -select#lang { - width: calc(10% - 8px); - height: 22px; - border: 1px solid black; - padding: 0px; - margin: 0px; -} +@import "dark.css" screen and (prefers-color-scheme: dark); |
