Software /
code /
prosody-modules
Changeset
5813:429cc52c3ce8
mod_http_oauth2: Use color-scheme to get nice dark mode defaults
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 08 Dec 2023 20:08:35 +0100 |
parents | 5812:25e20fa3824c |
children | 5814:9d3d719db285 |
files | mod_http_oauth2/html/style.css |
diffstat | 1 files changed, 4 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_oauth2/html/style.css Fri Dec 08 16:00:34 2023 +0000 +++ b/mod_http_oauth2/html/style.css Fri Dec 08 20:08:35 2023 +0100 @@ -1,7 +1,10 @@ +:root +{ + color-scheme:light dark; +} body { text-align:center; - background-color:#f8f8f8; font-family:sans-serif } @@ -76,12 +79,6 @@ @media(prefers-color-scheme:dark) { - body - { - background-color:#161616; - color:#eee; - } - .error { color: #f8d7da; background-color: #842029; @@ -90,17 +87,6 @@ color: #d7daf8; background-color: #202984; } - - - :link - { - color: #6197df; - } - - :visited - { - color: #9a61df; - } } @media(min-width: 768px)