Repository navigation
Expand file tree
/
Copy pathbase.css
More file actions
142 lines (119 loc) · 2.55 KB
/
Copy pathbase.css
File metadata and controls
142 lines (119 loc) · 2.55 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
/* ==========================================================================
base.css — tokens, reset, layout primitives
Palette derived from the brand mark (favicon gradient #59819f → #3e2b8e):
neutral base carries ~70% of the surface, steel the structure, violet the
single accent (links, primary CTA, focus ring only).
========================================================================== */
:root {
--bg: #0b0b0e;
--surface: #141419;
--surface-2: #1d1d24;
--border: #26262e;
--text: #ededf0;
--text-muted: #a8a8b4;
--text-faint: #85858f;
--accent: #a78bfa;
--accent-deep: #3e2b8e;
--steel: #59819f;
--radius-sm: 4px;
--radius-md: 10px;
--speed: 150ms;
--ease: cubic-bezier(0.2, 0, 0, 1);
--fs-xs: 13px;
--fs-sm: 16px;
--fs-md: 20px;
--fs-lg: 25px;
--fs-xl: 32px;
--fs-hero: 44px;
--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--font-mono: "Fira Code", "Courier New", monospace;
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-sans);
background: var(--bg);
color: var(--text-muted);
font-size: var(--fs-sm);
line-height: 1.6;
min-height: 100vh;
overflow-x: hidden;
position: relative;
}
img {
max-width: 100%;
display: block;
}
a {
color: inherit;
text-decoration: none;
}
ul {
list-style: none;
}
strong {
color: var(--text);
font-weight: 600;
}
h1,
h2,
h3 {
color: var(--text);
font-weight: 600;
line-height: 1.25;
}
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
border-radius: var(--radius-sm);
}
.container {
max-width: 720px;
margin: 0 auto;
padding: 0 1.5rem;
position: relative;
}
.page-wrap {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.section {
padding: 4rem 1.5rem;
border-top: 1px solid var(--border);
}
.section-center {
text-align: center;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
html {
scroll-behavior: auto;
}
}