21 lines
1.1 KiB
CSS
21 lines
1.1 KiB
CSS
:root { --bg: #fff; --fg: #1c1c1e; --muted: #5b5b66; --line: #dcdce2; --accent: #c2327a; }
|
|
@media (prefers-color-scheme: dark) {
|
|
:root { --bg: #17171a; --fg: #ececf0; --muted: #a5a5b0; --line: #34343c; --accent: #f08cbb; }
|
|
}
|
|
* { box-sizing: border-box; }
|
|
body { margin: 0 auto; max-width: 42rem; padding: 1rem 1rem 3rem; background: var(--bg); color: var(--fg);
|
|
font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
|
|
#langs { display: flex; justify-content: flex-end; gap: .25rem; flex-wrap: wrap; }
|
|
#langs button { font: inherit; font-size: .875rem; padding: .3rem .7rem; border: 1px solid var(--line);
|
|
border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
|
|
#langs button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
|
|
h1 { font-size: 2rem; margin: 1.5rem 0 .5rem; }
|
|
h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
|
|
p { margin: .5rem 0; }
|
|
.lead { font-size: 1.125rem; }
|
|
header { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
|
|
ol { padding-left: 1.4rem; margin: .5rem 0; }
|
|
li { margin: .3rem 0; }
|
|
details { margin-top: 2rem; color: var(--muted); }
|
|
summary { cursor: pointer; }
|