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 {
-webkit-text-size-adjust: 100%;
padding-bottom: 4em;
font-size: 18px;
}
body {
@ -108,3 +109,21 @@ h3 + ul {
#nocss {
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;
}
}