-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
85 lines (73 loc) · 2.16 KB
/
index.css
File metadata and controls
85 lines (73 loc) · 2.16 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
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Noto+Sans+SC:wght@400;500;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
html, body, #root {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
body {
font-family: 'Nunito', 'Noto Sans SC', sans-serif;
background-color: #f8fafc;
background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
background-size: 24px 24px;
overscroll-behavior: none;
}
@keyframes courseIn {
0% { opacity: 0; transform: scale(0.95) translateY(5px); }
100% { opacity: 1; transform: scale(1) translateY(0); }
}
.course-animate-in {
animation: courseIn 0.3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
will-change: transform, opacity;
}
@keyframes courseOut {
0% { opacity: 1; transform: scale(1); }
100% { opacity: 0; transform: scale(0.9) translateY(5px); }
}
.course-animate-out {
animation: courseOut 0.3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
will-change: transform, opacity;
pointer-events: none;
position: absolute;
inset: 0;
z-index: 10;
}
.glass-panel {
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.6);
}
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
input[type=range] {
-webkit-appearance: none;
background: transparent;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
height: 18px;
width: 18px;
border-radius: 50%;
background: #0f172a;
cursor: pointer;
margin-top: -7px; /* (TrackHeight 4px - ThumbHeight 18px) / 2 = -7px */
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 4px;
background: #e2e8f0;
border-radius: 4px;
}
@keyframes fadeInGentle {
from { opacity: 0; transform: scale(0.99); }
to { opacity: 1; transform: scale(1); }
}
.animate-fade-in-gentle {
animation: fadeInGentle 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}