logo

lanodan.eu

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/lanodan.eu.git
commit: 0102dd5586b215c2d7ddbaced5a1bbed0a7ded5d
parent 9934b528bb927248cacd55575f2b7d5d02df93d0
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 22 Feb 2022 10:24:45 +0100

style.css: Add use of color-scheme property

Diffstat:

Mstyle.css7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/style.css b/style.css @@ -2,6 +2,13 @@ font-family: serif; text-rendering: optimizelegibility; font-kerning: normal; + color-scheme: light dark; +} +/* <https://github.com/whatwg/html/issues/5426#issuecomment-607286557> */ +@supports (color-scheme: light dark) { + @media (prefers-color-scheme: dark) { + a { color: violet; } + } } .small-caps { font-variant: small-caps } nav li { list-style: none }