diff options
| author | Antoine Ouvrard <antoine@emao.fr> | 2022-02-22 14:26:38 +0100 |
|---|---|---|
| committer | Antoine Ouvrard <antoine@emao.fr> | 2022-02-22 14:30:35 +0100 |
| commit | 7fa1a10b3eef2097ea7dccd31ca844de37f0425a (patch) | |
| tree | 61d2300f083563db1262f2d2237bf77d38e1db6b | |
| parent | 81f388ef4bae288186026565c8b87fd08f82c0ff (diff) | |
utilise le mode 'color-sheme' des navigateurs a la place d'un css en dur pour le mode sombre
| -rw-r--r-- | antoine.css | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/antoine.css b/antoine.css index 4415e96..28d991e 100644 --- a/antoine.css +++ b/antoine.css @@ -1,10 +1,13 @@ +:root { + color-scheme: dark; +} + body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; max-width: 800px; margin: auto; - background: #333; padding: 0px 0px 70px 0px; - color: #c3c3c3; + color: #9a9a9a; line-height: 30px; } @@ -79,10 +82,10 @@ table { /* Print settings */ @media print { - body * { + body * { background: #c3c3c3; color: #333; - line-height: 1em; + line-height: 1.3em; } } |
