diff options
Diffstat (limited to 'theme/static')
| -rw-r--r-- | theme/static/styles.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/theme/static/styles.css b/theme/static/styles.css index d7b08f1..348b9d7 100644 --- a/theme/static/styles.css +++ b/theme/static/styles.css @@ -1,4 +1,5 @@ body { max-width: 800px; margin: 0 auto; } +a, a:visited { color:blue; } nav ul { list-style: none; padding: 0; display: flex; flex-direction: row; } nav ul li { padding-right: 0.5rem;} img { max-width: 100%; } @@ -11,3 +12,7 @@ pre, blockquote { margin: 1rem 0; padding: 0.5rem; background-color: lightgrey; pre { overflow: auto; white-space: pre; } blockquote p { margin: 0; } code { color: darkred; } +@media (prefers-color-scheme: dark) { + body { background-color: #181a1b; color: #e8e6e3; } + a, a:visited { color: #66adff; } +} |
