-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathindex.css
More file actions
162 lines (142 loc) · 3.02 KB
/
index.css
File metadata and controls
162 lines (142 loc) · 3.02 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
@import "tailwindcss";
@plugin "@tailwindcss/typography";
@custom-variant dark (&:where(.dark, .dark *));
body {
font-family: 'Inter', sans-serif;
background-color: #f8fafc;
color: #1e293b;
}
.dark body {
background-color: #020617;
color: #e2e8f0;
}
.mono {
font-family: 'JetBrains Mono', monospace;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f5f9;
}
.dark ::-webkit-scrollbar-track {
background: #0f172a;
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
background: #334155;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
.dark ::-webkit-scrollbar-thumb:hover {
background: #475569;
}
.prose a {
color: #2563eb;
text-decoration: underline;
text-underline-offset: 2px;
}
.prose a:hover {
color: #1d4ed8;
}
::selection {
background: #dbeafe;
color: #1e3a5f;
}
html {
scroll-behavior: smooth;
}
*:focus-visible {
outline: 2px solid #3b82f6;
outline-offset: 2px;
border-radius: 4px;
}
.animate-pulse-slow {
animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.animate-pulse-subtle {
animation: pulseSubtle 2s ease-in-out infinite;
}
.animate-in.fade-in {
animation: fadeIn 0.2s ease-out;
}
.animate-in.slide-in-from-top-1 {
animation: slideInFromTop 0.2s ease-out;
}
.animate-in.slide-in-from-top-2 {
animation: slideInFromTop 0.3s ease-out;
}
.animate-in.zoom-in-95 {
animation: zoomIn95 0.2s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideInFromTop {
from { opacity: 0; transform: translateY(-8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn95 {
from { opacity: 0; transform: scale(0.95); }
to { opacity: 1; transform: scale(1); }
}
@keyframes pulseSubtle {
0%, 100% { box-shadow: 0 0 10px rgba(59,130,246,0.08); }
50% { box-shadow: 0 0 20px rgba(59,130,246,0.2); }
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeInUp 0.6s ease-out;
}
@keyframes flowLine {
0% { background-position: 0 0; }
100% { background-position: 0 20px; }
}
.connector-flowing {
background: repeating-linear-gradient(
to bottom,
#e2e8f0 0px,
#e2e8f0 6px,
transparent 6px,
transparent 12px
);
background-size: 2px 20px;
animation: flowLine 1s linear infinite;
}
@keyframes flow {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.gradient-border {
position: relative;
border-radius: 0.5rem;
background: #ffffff;
}
.gradient-border::before {
content: "";
position: absolute;
inset: -1px;
z-index: -1;
border-radius: 0.6rem;
background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899);
background-size: 200% 200%;
animation: flow 4s ease infinite;
opacity: 0.4;
}
.node-connector {
position: absolute;
width: 2px;
background-color: #e2e8f0;
z-index: 0;
}