Better link contrast in dark mode

This commit is contained in:
Sami Samhuri 2026-02-03 05:28:58 -08:00
parent 99985430c2
commit 23e62f4a49
No known key found for this signature in database

View file

@ -103,7 +103,8 @@ img {
body { body {
background-color: #f7f7f7; background-color: #f7f7f7;
color: #222; color: #222;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial,
sans-serif; sans-serif;
padding-bottom: env(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
} }
@ -156,7 +157,8 @@ header.primary h4 {
margin: 0; margin: 0;
padding: 0; padding: 0;
word-wrap: break-word; word-wrap: break-word;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial,
sans-serif; sans-serif;
font-weight: normal; font-weight: normal;
} }
@ -206,7 +208,7 @@ header.primary nav.remote {
header.primary nav a, header.primary nav a,
header.primary nav a:visited { header.primary nav a:visited {
color: #ce0000; color: #ee0000;
} }
header.primary nav ul { header.primary nav ul {
@ -274,11 +276,11 @@ footer a:visited {
} }
a { a {
color: #b30000; color: #e30000;
} }
a:visited { a:visited {
color: #900; color: #d00;
} }
hr { hr {
@ -311,7 +313,7 @@ footer a:visited {
header.primary nav a, header.primary nav a,
header.primary nav a:visited { header.primary nav a:visited {
color: #cc0000; color: #e30000;
} }
footer { footer {
@ -485,7 +487,8 @@ pre {
code, code,
pre { pre {
font-family: "Fira Code", "JetBrains Mono", "Meslo LG M", "Inconsolata", "Menlo", "Courier New", font-family:
"Fira Code", "JetBrains Mono", "Meslo LG M", "Inconsolata", "Menlo", "Courier New",
monospace; monospace;
} }
@ -520,6 +523,7 @@ pre.line-numbers {
.gist { .gist {
font-size: 0.8rem; font-size: 0.8rem;
line-height: 1.2rem; line-height: 1.2rem;
font-family: "Fira Code", "JetBrains Mono", "Meslo LG M", "Inconsolata", "Menlo", "Courier New", font-family:
"Fira Code", "JetBrains Mono", "Meslo LG M", "Inconsolata", "Menlo", "Courier New",
monospace; monospace;
} }