blob: 0df1916cc5c5c697b34ce0bc27f1384d5d3271e2 [file] [log] [blame]
gioe71b12b2026-07-29 10:02:37 +04001:root {
2 --color-surface: #d6d6d6;
3 --color-ink: #3a3a3a;
4 --color-action: #7f9f7f;
5 --color-identity: #d4888d;
6 --space-1: 4px;
7 --space-2: 8px;
8 --space-3: 12px;
9 --space-4: 16px;
10 --space-5: 24px;
11 --space-6: 32px;
12 --font-mono: "Hack", ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
13 color: var(--color-ink);
14 background: var(--color-surface);
15 font-family: var(--font-mono);
16 font-size: 14px;
17 line-height: 1.5;
18}
19
20*,
21*::before,
22*::after {
23 box-sizing: border-box;
24}
25
26html {
27 min-width: 0;
28 margin: 0;
29 padding: 0;
30 background: var(--color-surface);
31 color: var(--color-ink);
32 scroll-behavior: smooth;
33}
34
35body {
36 min-width: 0;
37 min-height: 100vh;
38 min-height: 100dvh;
39 margin: 0;
40 background: var(--color-surface);
41 color: var(--color-ink);
42}
43
44button,
45input,
46select,
47textarea {
48 max-width: 100%;
49 border-radius: 0;
50 color: inherit;
51 font: inherit;
52}
53
54button,
55input,
56select,
57textarea,
58a {
59 min-height: 44px;
60}
61
62button,
63a {
64 min-width: 44px;
65}
66
67button {
68 cursor: pointer;
69}
70
71input,
72select,
73textarea {
74 width: 100%;
75}
76
77a {
78 color: inherit;
79 overflow-wrap: anywhere;
80 text-decoration-thickness: 0.12em;
81 text-underline-offset: 0.18em;
82}
83
84a:hover {
85 text-decoration-thickness: 0.2em;
86}
87
88:focus-visible {
89 outline: 2px solid var(--color-ink);
90 outline-offset: 2px;
91}
92
93h1,
94h2,
95p,
96li,
97label,
98strong,
99code {
100 overflow-wrap: anywhere;
101}
102
103code {
104 color: inherit;
105 font-family: inherit;
106}
107
108.visually-hidden {
109 position: absolute;
110 width: 1px;
111 height: 1px;
112 padding: 0;
113 margin: -1px;
114 overflow: hidden;
115 clip: rect(0, 0, 0, 0);
116 white-space: nowrap;
117 border: 0;
118}
119
120@media (prefers-reduced-motion: reduce) {
121 *,
122 *::before,
123 *::after {
124 scroll-behavior: auto !important;
125 transition-duration: 0s !important;
126 animation-duration: 0s !important;
127 animation-iteration-count: 1 !important;
128 }
129}