-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathindex.css
More file actions
173 lines (151 loc) · 3.7 KB
/
index.css
File metadata and controls
173 lines (151 loc) · 3.7 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
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Mono:wght@300;400;500&family=Inter:wght@100..900&display=swap');
@import 'tailwindcss';
*,
*::before,
*::after {
box-sizing: border-box;
}
:root,
[data-theme='dark'] {
--bg: #080b10;
--surface: #0d1117;
--surface-hi: #161b22;
--border: rgba(255, 255, 255, 0.07);
--border-hi: rgba(255, 255, 255, 0.14);
--text: #e8eaf0;
--muted: #8b949e;
--accent: #4af0b8;
--accent2: #7c6ff7;
--danger: #ff7b72;
--success: #3fb950;
--header-h: 64px;
--font-head: 'Syne', sans-serif;
--font-body: 'Inter', sans-serif;
--font-mono: 'DM Mono', monospace;
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.16);
--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.24);
--shadow-card: 0 2px 8px rgba(0, 0, 0, 0.18);
--shadow-card-hover: 0 6px 20px rgba(0, 0, 0, 0.28);
color-scheme: dark;
}
[data-theme='light'] {
--bg: #f6f8fa;
--surface: #ffffff;
--surface-hi: #f0f2f5;
--border: rgba(0, 0, 0, 0.08);
--border-hi: rgba(0, 0, 0, 0.15);
--text: #1f2328;
--muted: #656d76;
--accent: #0d9668;
--accent2: #6c5ce7;
--danger: #d1242f;
--success: #1a7f37;
--header-h: 64px;
--font-head: 'Syne', sans-serif;
--font-body: 'Inter', sans-serif;
--font-mono: 'DM Mono', monospace;
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
--shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
--shadow-card-hover: 0 6px 20px rgba(0, 0, 0, 0.1);
color-scheme: light;
}
html,
body,
#root {
height: 100%;
background: var(--bg);
color: var(--text);
font-family: var(--font-body);
overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-head);
font-variation-settings: 'wght' 600;
}
/* ── Scrollbar ── */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--border-hi);
border-radius: 10px;
}
/* ── Global Utilities ── */
.glass {
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(10px);
border: 1px solid var(--border);
border-radius: 12px;
}
[data-theme='light'] .glass {
background: rgba(255, 255, 255, 0.7);
}
.noise {
position: relative;
}
.noise::before {
content: '';
position: absolute;
inset: 0;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
pointer-events: none;
opacity: 0.4;
z-index: 10;
}
.glow-mint {
box-shadow: 0 0 20px rgba(74, 240, 184, 0.15);
}
.glow-purple {
box-shadow: 0 0 20px rgba(124, 111, 247, 0.15);
}
/* ── Common Card Style ── */
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 16px;
padding: 24px;
box-shadow: var(--shadow-card);
transition:
transform 0.2s ease,
border-color 0.2s ease,
box-shadow 0.2s ease;
}
.card:hover {
border-color: var(--border-hi);
box-shadow: var(--shadow-card-hover);
transform: translateY(-2px);
}
/* Animations */
.page-fade {
animation: fadeUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(12px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ── SDS Component Fixes ── */
select {
appearance: none !important;
-webkit-appearance: none !important;
-moz-appearance: none !important;
}
.Select__icon {
pointer-events: none;
}