| gio | e71b12b | 2026-07-29 10:02:37 +0400 | [diff] [blame] | 1 | :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 | |
| 26 | html { |
| 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 | |
| 35 | body { |
| 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 | |
| 44 | button, |
| 45 | input, |
| 46 | select, |
| 47 | textarea { |
| 48 | max-width: 100%; |
| 49 | border-radius: 0; |
| 50 | color: inherit; |
| 51 | font: inherit; |
| 52 | } |
| 53 | |
| 54 | button, |
| 55 | input, |
| 56 | select, |
| 57 | textarea, |
| 58 | a { |
| 59 | min-height: 44px; |
| 60 | } |
| 61 | |
| 62 | button, |
| 63 | a { |
| 64 | min-width: 44px; |
| 65 | } |
| 66 | |
| 67 | button { |
| 68 | cursor: pointer; |
| 69 | } |
| 70 | |
| 71 | input, |
| 72 | select, |
| 73 | textarea { |
| 74 | width: 100%; |
| 75 | } |
| 76 | |
| 77 | a { |
| 78 | color: inherit; |
| 79 | overflow-wrap: anywhere; |
| 80 | text-decoration-thickness: 0.12em; |
| 81 | text-underline-offset: 0.18em; |
| 82 | } |
| 83 | |
| 84 | a: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 | |
| 93 | h1, |
| 94 | h2, |
| 95 | p, |
| 96 | li, |
| 97 | label, |
| 98 | strong, |
| 99 | code { |
| 100 | overflow-wrap: anywhere; |
| 101 | } |
| 102 | |
| 103 | code { |
| 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 | } |