Repository navigation
Expand file tree
/
Copy pathindex.css
More file actions
70 lines (61 loc) · 1.52 KB
/
Copy pathindex.css
File metadata and controls
70 lines (61 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
@import "tailwindcss";
/* Design tokens: paper + ink, one highlighter accent.
Tailwind v4 reads @theme here (tailwind.config.ts is not loaded). */
@theme {
--font-serif: "Fraunces", Georgia, serif;
--font-sans: "Inter", system-ui, sans-serif;
--font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
--color-paper: #FBF8F3;
--color-paper-2: #F3EEE4;
--color-ink: #1C1A17;
--color-ink-2: #5C564C;
--color-rule: #D9D2C3;
--color-hi: #FFE45C;
--color-agent: #FF4F00;
--color-machine: #111111;
--color-machine-ink: #A8A8A8;
--color-machine-dim: #8C8C8C;
}
html {
scroll-behavior: smooth;
scroll-padding-top: 80px;
}
body {
background-color: var(--color-paper);
color: var(--color-ink);
font-family: var(--font-sans);
}
/* Hard-edged highlighter stroke behind text */
@utility mark-hi {
background-image: linear-gradient(transparent 58%, var(--color-hi) 58%);
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
@media print {
nav,
footer,
button {
display: none !important;
}
}
/* Accessibility: keep focus visible when navigating via keyboard */
:focus-visible {
outline: 2px solid var(--color-ink);
outline-offset: 2px;
}
[data-dark] :focus-visible,
[data-dark]:focus-visible {
outline-color: var(--color-hi);
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}