-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
124 lines (110 loc) · 2.79 KB
/
Copy pathstyle.css
File metadata and controls
124 lines (110 loc) · 2.79 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
/* Use a clean modern font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Inter', sans-serif;
}
body {
background: linear-gradient(135deg, #e9eff5, #f7fafc);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem;
color: #1f2937;
}
/* Main counter display */
#countLabel {
font-size: clamp(5rem, 15vw, 15rem);
font-weight: 700;
color: #0f172a;
margin-bottom: 2rem;
transition: color 0.3s ease-in-out;
}
/* Button container */
#buttons {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1.5rem;
}
/* Stylish button design */
.buttons {
background: linear-gradient(145deg, #1e3a8a, #2563eb);
color: white;
border: none;
padding: 0.75rem 2rem;
font-size: 1.125rem;
font-weight: 500;
border-radius: 9999px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
cursor: pointer;
transition: all 0.3s ease;
min-width: 120px;
}
.buttons:hover {
background: linear-gradient(145deg, #2563eb, #1e3a8a);
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
/* Responsive tweaks */
@media (max-width: 600px) {
.buttons {
font-size: 1rem;
padding: 0.65rem 1.5rem;
min-width: 100px;
}
}
body {
transition: background 0.6s ease;
}
/* === Dynamic Blurry Background === */
body::before {
content: "";
position: fixed;
top: -20%;
left: -20%;
width: 200%;
height: 200%;
z-index: -1;
background: radial-gradient(circle at 20% 20%, #ff6ec4, transparent 30%),
radial-gradient(circle at 80% 30%, #7873f5, transparent 40%),
radial-gradient(circle at 50% 80%, #63e2ff, transparent 35%);
filter: blur(100px);
animation: moveBlobs 20s infinite ease-in-out;
opacity: 0.6;
}
@keyframes moveBlobs {
0% {
transform: translate(0, 0) scale(1);
}
50% {
transform: translate(calc(var(--blobX, 0%) * 1%), calc(var(--blobY, 0%) * 1%)) scale(1.05);
}
100% {
transform: translate(0, 0) scale(1);
}
}
body::before {
background: radial-gradient(circle at 20% 20%, hsl(var(--blobHue), 100%, 80%), transparent 30%),
radial-gradient(circle at 80% 30%, hsl(calc(var(--blobHue) + 60), 100%, 80%), transparent 40%),
radial-gradient(circle at 50% 80%, hsl(calc(var(--blobHue) + 120), 100%, 80%), transparent 35%);
}
#bgCanvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -2;
pointer-events: none;
}
#countLabel {
transition: transform 0.2s ease;
}
#countLabel.bump {
transform: scale(1.1);
}