This commit is contained in:
@@ -8,7 +8,6 @@
|
|||||||
color-scheme: light dark;
|
color-scheme: light dark;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Dark palette: follows the OS unless the switch pinned a theme (data-theme on <html>). */
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
:root:not([data-theme="light"]) {
|
:root:not([data-theme="light"]) {
|
||||||
--bg: #111;
|
--bg: #111;
|
||||||
@@ -62,7 +61,6 @@ h2 {
|
|||||||
a { color: var(--link); text-decoration: none; }
|
a { color: var(--link); text-decoration: none; }
|
||||||
a:hover { text-decoration: underline; }
|
a:hover { text-decoration: underline; }
|
||||||
|
|
||||||
/* Theme switch */
|
|
||||||
.topbar { display: flex; justify-content: flex-end; margin: -1.5rem 0 1.5rem; }
|
.topbar { display: flex; justify-content: flex-end; margin: -1.5rem 0 1.5rem; }
|
||||||
.theme-toggle {
|
.theme-toggle {
|
||||||
padding: .25rem .7rem;
|
padding: .25rem .7rem;
|
||||||
@@ -78,7 +76,6 @@ a:hover { text-decoration: underline; }
|
|||||||
.theme-toggle:hover { border-color: var(--muted); }
|
.theme-toggle:hover { border-color: var(--muted); }
|
||||||
.theme-toggle:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
|
.theme-toggle:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
|
||||||
|
|
||||||
/* Contact list */
|
|
||||||
dl {
|
dl {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: max-content 1fr;
|
grid-template-columns: max-content 1fr;
|
||||||
@@ -88,7 +85,6 @@ dl {
|
|||||||
dt { color: var(--muted); }
|
dt { color: var(--muted); }
|
||||||
dd { margin: 0; overflow-wrap: anywhere; }
|
dd { margin: 0; overflow-wrap: anywhere; }
|
||||||
|
|
||||||
/* Key blocks */
|
|
||||||
.key { margin: 0 0 1.25rem; }
|
.key { margin: 0 0 1.25rem; }
|
||||||
.key p { margin: 0 0 .35rem; color: var(--muted); font-size: .9rem; }
|
.key p { margin: 0 0 .35rem; color: var(--muted); font-size: .9rem; }
|
||||||
|
|
||||||
@@ -102,7 +98,6 @@ pre {
|
|||||||
font: .85rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
font: .85rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Error pages (403/404) */
|
|
||||||
main.error h2 { margin-top: 0; }
|
main.error h2 { margin-top: 0; }
|
||||||
main.error h1 { margin-bottom: .75rem; }
|
main.error h1 { margin-bottom: .75rem; }
|
||||||
main.error p { color: var(--muted); margin: 0 0 2rem; }
|
main.error p { color: var(--muted); margin: 0 0 2rem; }
|
||||||
|
|||||||
Reference in New Issue
Block a user