dark mode
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Wojciech Kwolek 2024-03-17 22:54:37 +01:00
parent c0aef1cb38
commit b19e477464
No known key found for this signature in database
1 changed files with 21 additions and 2 deletions

View File

@ -1,6 +1,7 @@
html { html {
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
padding-bottom: 4em; padding-bottom: 4em;
font-size: 18px;
} }
body { body {
@ -73,7 +74,7 @@ h3 + ul {
} }
#viewer-friend:not(:checked) ~ #switcharoo #onlyfriends { #viewer-friend:not(:checked) ~ #switcharoo #onlyfriends {
display: none; display: none;
} }
#viewer-recruiter:checked ~ #switcharoo { #viewer-recruiter:checked ~ #switcharoo {
@ -107,4 +108,22 @@ h3 + ul {
#nocss { #nocss {
display: none; display: none;
} }
@media (prefers-color-scheme: dark) {
body {
background-color: #121212;
color: #f0f0f0;
}
a {
color: cyan;
}
a:visited {
color: pink;
}
.no-a-visited a:visited,
.cleanlinks a:visited {
color: cyan;
}
}