-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
57 lines (52 loc) · 1.48 KB
/
style.css
File metadata and controls
57 lines (52 loc) · 1.48 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
::view-transition-old(root),
::view-transition-new(root) {
animation: none;
mix-blend-mode: normal;
}
.chart-container {
position: relative;
width: 100%;
max-width: 600px;
margin-left: auto;
margin-right: auto;
height: 300px;
max-height: 400px;
}
/* Hardware Acceleration Layering */
#eceCanvas {
/* Tells the browser this element will change constantly */
will-change: transform, opacity;
/* Forces the browser to put the canvas on its own 3D GPU layer */
transform: translateZ(0);
/* Ensures it never intercepts mouse clicks meant for buttons */
pointer-events: none;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
@media (min-width: 768px) {
.chart-container {
height: 350px;
}
}
/* Subtle animated gradient background for the hero section to make glass pop */
.hero-bg {
background: linear-gradient(-45deg, #f8fafc, #e2e8f0, #f1f5f9, #ffffff);
background-size: 400% 400%;
animation: gradientBG 15s ease infinite;
}
.dark .hero-bg {
background: linear-gradient(-45deg, #020617, #0f172a, #1e293b, #020617);
background-size: 400% 400%;
}
@keyframes gradientBG {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}