dark theme, better url and date formats

This commit is contained in:
2022-04-11 22:36:32 +03:00
parent e1bc97d33c
commit 3a91ff1e61
3 changed files with 38 additions and 8 deletions

View File

@@ -77,17 +77,17 @@ hr {
height: 1px
}
a {
color: #00f;
word-wrap: break-word
a, a:visited, a:hover {
color: #007bff;
word-wrap: break-word;
}
a:visited {
color: #009
a, a:visited {
text-decoration: none;
}
a:hover {
color: #f80;
text-decoration: underline;
}
header a,
@@ -316,3 +316,28 @@ nav#TableOfContents ul {
content: '';
}
}
@media (prefers-color-scheme: dark) {
body {
color: #ccc;
background-color: #222;
}
header a,
header a:visited,
footer a,
footer a:visited,
h1 a,
h1 a:visited,
h2 a,
h2 a:visited,
h3 a,
h3 a:visited,
h4 a,
h4 a:visited,
h5 a,
h5 a:visited,
h6 a,
h6 a:visited {
color: #ccc;
}
}