diff options
Diffstat (limited to 'src/content/style.css')
-rw-r--r-- | src/content/style.css | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/content/style.css b/src/content/style.css index e69de29..ab5e956 100644 --- a/src/content/style.css +++ b/src/content/style.css @@ -0,0 +1,43 @@ +:root { + --color-fg: black; + --color-bg: white; + --color-pre-bg: #eee; + + --green: #1a7320; + + color: var(--color-fg); + background-color: var(--color-bg); +} + +@media (prefers-color-scheme: dark) { + :root { + --color-fg: white; + --color-bg: black; + --color-pre-bg: #111; + } + + a { + color: hsl(211, 100%, 60%); + &:visited { + color: hsl(242, 100%, 80%); + } + } +} + + +pre, code { + background-color: var(--color-pre-bg); + border-radius: 5px; + padding: 5px; +} + +body { + font-family: sans-serif; + /* prevent pull to refresh */ + overscroll-behaviour-y: contain; +} + + +.unselectable { + user-select: none; +} |