css/anchor,screen

This commit is contained in:
Marc Beninca 2025-02-16 21:25:41 +01:00
parent 4f88ae569b
commit 9b8e548664
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,15 +1,19 @@
:root { :root {
--anchor-text: #f88;
--banner-background: #ccf; --banner-background: #ccf;
--body-background: #fff; --body-background: #fff;
--body-text: #000; --body-text: #000;
--header-background: #ccc; --header-background: #ccc;
} }
@media screen {
.dark { .dark {
--anchor-text: #f88;
--banner-background: #669; --banner-background: #669;
--body-background: #000; --body-background: #000;
--body-text: #aaa; --body-text: #aaa;
--header-background: #444; --header-background: #444;
} }
}
@font-face { @font-face {
font-display: swap; font-display: swap;
@ -36,7 +40,7 @@ a {
text-underline-offset: .25em; text-underline-offset: .25em;
} }
a:hover { a:hover {
background-color: #f88; color: var(--anchor-text);
} }
article.org, header { article.org, header {