-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathglobals.css
345 lines (299 loc) · 7.06 KB
/
globals.css
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--background: #000000;
--foreground: #ededed;
--color-secondary: #ffffff;
--color-accent: #5b61d6;
/* Add HSL format for accent color that Tailwind expects */
--accent: 237 65% 64%; /* HSL values for #5b61d6 */
--accent-foreground: 0 0% 100%; /* White text on accent */
}
/* Define explicitly for dark mode as well */
.dark {
--accent: 237 65% 64%; /* Same accent color in dark mode */
--accent-foreground: 0 0% 100%;
}
body {
color: var(--foreground) !important;
background: var(--background) !important;
font-family: Arial, Helvetica, sans-serif;
/** smooth scrolling on id click */
}
html {
scroll-behavior: smooth;
}
@layer utilities {
.scrollable-element::-webkit-scrollbar {
width: 12px;
}
.scrollable-element::-webkit-scrollbar-track {
@apply bg-black;
}
.scrollable-element::-webkit-scrollbar-thumb {
@apply bg-black;
border-radius: 10px;
}
.scrollable-element::-webkit-scrollbar-thumb:hover {
@apply bg-black;
}
.scrollable-element {
scrollbar-width: thin;
scrollbar-color: #000000 #0e0e0e;
}
.perspective-1000 {
perspective: 1000px;
}
.transform-3d {
transform-style: preserve-3d;
}
.rotate-x-55 {
transform: rotateX(55deg);
}
.rotate-y-45 {
transform: rotateY(45deg);
}
.rotate-x-90 {
transform: rotateX(90deg);
}
.rotate-y-90 {
transform: rotateY(90deg);
}
::selection {
@apply bg-accent text-white;
}
.text-balance {
text-wrap: balance;
}
.pause-animation {
animation-play-state: paused;
}
.card-wrapper {
@apply relative overflow-hidden;
}
/* Gradient */
.card-wrapper::before {
background: conic-gradient(
rgba(91, 97, 214, 1) 0deg,
rgba(91, 97, 214, 0.5) 90deg,
transparent 80deg
);
content: '';
position: absolute;
top: 10%;
left: -10%;
height: 75%;
width: 125%;
@apply animate-border-spin;
}
/* Body */
.card-content {
@apply absolute left-[1px] top-[1px] h-[calc(100%-2px)] w-[calc(100%-2px)];
}
.text-gradient {
@apply bg-clip-text text-transparent bg-gradient-to-b;
}
/** This is acting like the 'border' of the arrow */
.gh-card-arrow::before {
@apply -left-2 top-2.5 h-4 w-2 absolute;
content: '';
clip-path: polygon(100% 0, 0 50%, 100% 100%);
background: var(--arrow-border-color);
}
/** This is acting like the 'background' of the arrow */
.gh-card-arrow::after {
@apply -left-1.5 top-2.5 h-4 w-2 absolute;
content: '';
clip-path: polygon(100% 0, 0 50%, 100% 100%);
background: var(--arrow-color);
}
/** data-name="onborda-pointer" */
[data-name='onborda-pointer'] {
@apply !rounded-md !p-1;
}
.text-focus-in {
-webkit-animation: text-focus-in 0.5s linear both;
animation: text-focus-in 0.5s linear both;
}
/* ----------------------------------------------
* Generated by Animista on 2025-3-14 21:44:14
* Licensed under FreeBSD License.
* See http://animista.net/license for more info.
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */
/**
* ----------------------------------------
* animation text-focus-in
* ----------------------------------------
*/
@-webkit-keyframes text-focus-in {
0% {
-webkit-filter: blur(12px);
filter: blur(12px);
opacity: 0;
}
13% {
-webkit-filter: blur(10px);
filter: blur(10px);
opacity: 0.33;
}
25% {
-webkit-filter: blur(9px);
filter: blur(9px);
opacity: 0.25;
}
50% {
-webkit-filter: blur(6px);
filter: blur(6px);
opacity: 0.5;
}
75% {
-webkit-filter: blur(3px);
filter: blur(3px);
opacity: 0.75;
}
87% {
-webkit-filter: blur(1px);
filter: blur(1px);
opacity: 0.87;
}
100% {
-webkit-filter: blur(0px);
filter: blur(0px);
opacity: 1;
}
}
@keyframes text-focus-in {
0% {
-webkit-filter: blur(12px);
filter: blur(12px);
opacity: 0;
}
100% {
-webkit-filter: blur(0px);
filter: blur(0px);
opacity: 1;
}
}
/** pure css animation (no framer motion) to fade in and up an element. */
.animate-fade-in-up {
animation: fade-in-up 0.6s ease-out forwards;
opacity: 0;
}
@keyframes fade-in-up {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
}
/** calendar css */
.rdp-nav_button_next {
@apply !left-[90%] relative [&>svg]:!w-3 [&>svg]:!h-3;
}
.rdp-nav_button_previous {
@apply left-[4%] relative [&>svg]:!w-3 [&>svg]:!h-3;
}
/* Basic editor styles */
.tiptap {
:first-child {
margin-top: 0;
}
/* Code and preformatted text styles */
code {
background-color: var(--purple-light);
border-radius: 0.4rem;
color: var(--white);
font-size: 0.85rem;
padding: 0.25em 0.3em;
}
pre:focus-visible {
outline: 2px solid var(--purple);
outline-offset: 0.5rem;
}
.monaco-editor .line-numbers {
@apply !w-6;
}
}
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 240 10% 3.9%;
--card: 0 0% 5% 1;
--card-foreground: 240 10% 3.9%;
--popover: 0 0% 100%;
--popover-foreground: 240 10% 3.9%;
--primary: 240 5.9% 10%;
--primary-foreground: 0 0% 98%;
--secondary: 240 4.8% 95.9%;
--secondary-foreground: 240 5.9% 10%;
--muted: 240 4.8% 95.9%;
--muted-foreground: 240 3.8% 46.1%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--border: 240 5.9% 90%;
--input: 240 5.9% 90%;
--ring: 240 10% 3.9%;
--chart-1: 12 76% 61%;
--chart-2: 173 58% 39%;
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
--radius: 0.5rem;
--sidebar-background: 0 0% 7%;
--sidebar-foreground: 240 4.8% 95.9%;
--sidebar-primary: 224.3 76.3% 48%;
--sidebar-primary-foreground: 0 0% 100%;
--sidebar-accent: 240 3.7% 15.9%;
--sidebar-accent-foreground: 240 4.8% 95.9%;
--sidebar-border: 240 3.7% 15.9%;
--sidebar-ring: 217.2 91.2% 59.8%;
--mantine-color-text: var(--foreground) !important;
--mantine-color-red-6: var(--foreground) !important;
--mantine-primary-color-filled: rgb(94, 102, 214) !important;
--mantine-primary-color-filled-hover: rgb(94, 102, 214, 0.5) !important;
--mantine-primary-color-light: rgba(94, 102, 214, 0.1) !important;
--mantine-primary-color-light-hover: rgba(94, 102, 214, 0.12) !important;
--mantine-color-gray-0: var(--background) !important;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
h1,
h2,
h3,
h4,
h5,
h6 {
@apply font-onest !font-medium;
}
}
@keyframes accordion-down {
from {
height: 0;
opacity: 0;
}
to {
height: var(--radix-accordion-content-height);
opacity: 1;
}
}
/*---break--- */
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
}
}