Repository navigation
Expand file tree
/
Copy pathindex.css
More file actions
140 lines (118 loc) · 2.55 KB
/
Copy pathindex.css
File metadata and controls
140 lines (118 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
@import "@fontsource/inter/400.css";
@import "@fontsource/inter/500.css";
@import "@fontsource/inter/600.css";
@import "@fontsource/inter/700.css";
* {
box-sizing: border-box;
}
:root {
/* Surfaces */
--bg-base: #101214;
--bg-surface: #16191b;
--bg-elevated: #1d2124;
--bg-hover: #24292d;
/* Accent (crimson) */
--accent-400: #e85a6b;
--accent-500: #d43347;
--accent-600: #a31d2a;
--accent-soft: rgba(212, 51, 71, 0.14);
--accent-ring: rgba(212, 51, 71, 0.4);
--accent-fg: #ffffff;
/* Text */
--text-primary: #e6e8ea;
--text-secondary: #a8aeb4;
--text-tertiary: #71787e;
/* Semantic */
--success: #2fa968;
--danger: #e5484d;
--info: #60a5fa;
--online: #2fa968;
--offline: #71787e;
/* Structure */
--border-subtle: rgba(255, 255, 255, 0.06);
--border-strong: rgba(255, 255, 255, 0.12);
--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
--shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 16px;
--radius-pill: 999px;
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 24px;
--space-6: 32px;
/* Type scale */
--text-xs: 11px;
--text-sm: 13px;
--text-md: 14px;
--text-lg: 16px;
--text-xl: 20px;
/* Motion */
--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
--dur-fast: 120ms;
--dur: 200ms;
/* Stacking order, lowest layer first. */
--z-dialog: 50;
--z-drawer-backdrop: 60;
--z-drawer: 61;
--z-popover: 9998;
--z-overlay: 9999;
--z-toast: 10000;
}
html,
body,
#root {
min-height: 100%;
margin: 0;
}
body {
font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
font-size: var(--text-md);
line-height: 1.5;
background: var(--bg-base);
color: var(--text-primary);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
button,
input,
textarea {
font: inherit;
}
button {
cursor: pointer;
}
:focus-visible {
outline: 2px solid var(--accent-ring);
outline-offset: 2px;
}
/* Scrollbars */
* {
scrollbar-width: thin;
scrollbar-color: var(--border-strong) transparent;
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
border-radius: var(--radius-pill);
background: var(--border-strong);
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-tertiary);
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}