diff options
author | Wynn Wolf Arbor | 2020-06-13 11:45:53 +0200 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-06-13 16:42:26 +0200 |
commit | 58a901ebfe016cdef471325080921a85a3d265d8 (patch) | |
tree | eb00e63adb69c344dbf993a3bb470454443795cf /scss | |
parent | ba981d0e87f9009e3b60a9e54277840d7ae4d0bb (diff) | |
download | site-58a901ebfe016cdef471325080921a85a3d265d8.tar.gz |
css: Have man.css respect prefers-color-scheme
Add support for prefers-color-scheme to man.css by including all custom
properties and referencing them in man.scss
Diffstat (limited to 'scss')
-rw-r--r-- | scss/man.scss | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/scss/man.scss b/scss/man.scss index ccbbdb2..b5c40a6 100644 --- a/scss/man.scss +++ b/scss/man.scss @@ -1,9 +1,20 @@ @import '_webfonts'; @import '_responsive_fonts'; +@import '_vars'; + +a { + color: var(--fg-href); +} + +a:visited { + color: var(--fg-href-visited); +} body { - background-color: white; - font-family: "Alegreya Sans", sans; + background-color: var(--bg-color); + color: var(--fg-color); + + font-family: var(--font-sans); font-size: 1.3em; line-height: 1.6; margin: 1em auto; |