Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
189 lines (167 loc) · 3.84 KB
/
Copy pathstyles.css
File metadata and controls
189 lines (167 loc) · 3.84 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
:root {
/* Carbon Dark: adapted to strip neon and AI purple */
--color-bg: #0b0d10;
--color-surface: #131720;
--color-surface-muted: #192028;
--color-ink: #e9eef5;
--color-slate: #8fa5be;
--color-muted: #4f5e70;
--color-border: #273140;
--color-border-subtle: #1e2838;
--color-accent: #5590b8;
--color-success: #00c48c;
--color-focus: #e9eef5;
/* Typography: Inter for UI prose, JetBrains Mono for data */
--font-ui: "Inter", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--font-mono: "JetBrains Mono", "Fira Code", monospace;
/* Intentionally varied radii: same radius everywhere is a slop tell */
--radius-sm: 4px;
--radius-md: 10px;
--radius-pill: 999px;
--transition: 200ms ease-out;
}
*, *::before, *::after {
box-sizing: border-box;
}
::selection {
background-color: #2b394f;
color: #ffffff;
}
body {
margin: 0;
padding: 0;
min-height: 100vh;
background-color: var(--color-bg);
color: var(--color-ink);
font-family: var(--font-ui);
line-height: 1.5;
color-scheme: dark;
-webkit-font-smoothing: antialiased;
}
/* Skip link: accessibility, never decorative */
.skip-link {
position: absolute;
top: -48px;
left: 16px;
padding: 8px 16px;
background: var(--color-ink);
color: var(--color-bg);
font-size: 0.875rem;
font-weight: 600;
border-radius: var(--radius-sm);
text-decoration: none;
z-index: 999;
}
.skip-link:focus { top: 16px; }
/* Layout shell */
.site-container {
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 24px 16px 64px;
display: flex;
flex-direction: column;
gap: 32px;
}
/* Header: border-bottom is a functional divider, not decoration */
.site-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding-bottom: 20px;
border-bottom: 1px solid var(--color-border);
}
.brand {
display: flex;
align-items: center;
gap: 10px;
}
.brand-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
border-radius: var(--radius-sm);
background-color: var(--color-surface-muted);
color: var(--color-slate);
flex-shrink: 0;
}
.brand-title {
font-size: 1rem;
font-weight: 600;
letter-spacing: -0.01em;
color: var(--color-ink);
}
.header-actions {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
/* Buttons: only interactive borders, nothing decorative */
.btn {
display: inline-flex;
align-items: center;
gap: 6px;
font-family: var(--font-ui);
font-size: 0.8125rem;
font-weight: 500;
padding: 6px 11px;
border-radius: var(--radius-sm);
border: 1px solid var(--color-border);
background-color: transparent;
color: var(--color-slate);
cursor: pointer;
transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}
.btn:hover {
background-color: var(--color-surface);
border-color: var(--color-slate);
color: var(--color-ink);
}
.btn:disabled {
opacity: 0.35;
cursor: not-allowed;
pointer-events: none;
}
.btn:focus-visible {
outline: 2px solid var(--color-focus);
outline-offset: 2px;
}
/* Two-column layout: editor wide, stats narrower */
.main-layout {
display: grid;
grid-template-columns: 1fr;
gap: 24px;
align-items: start;
}
/* Accessibility utility */
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
/* Responsive layout */
@media (min-width: 768px) {
.site-container { padding: 32px 24px 64px; }
}
@media (min-width: 1024px) {
.main-layout {
grid-template-columns: 1fr 300px;
gap: 40px;
}
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}