-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
71 lines (63 loc) · 1.51 KB
/
Copy pathstyle.css
File metadata and controls
71 lines (63 loc) · 1.51 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
:root {
--aqua: #01ebeb;
--black: #000000;
--bg-opacity: 0.7;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: 'Segoe UI', sans-serif;
background: linear-gradient(135deg, var(--aqua), var(--black));
background-size: 300% 300%;
animation: bgShift 12s ease infinite;
color: #fff;
}
@keyframes bgShift {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
.title {
font-size: 28px;
font-weight: 600;
margin-bottom: 20px;
text-shadow: 0 0 10px var(--aqua);
letter-spacing: 1px;
}
.clock {
padding: 30px 50px;
background: rgba(0, 0, 0, var(--bg-opacity));
border-radius: 20px;
font-size: 64px;
font-weight: bold;
letter-spacing: 3px;
text-align: center;
box-shadow: 0 0 25px var(--aqua), inset 0 0 10px var(--black);
text-shadow: 0 0 10px var(--aqua), 0 0 15px var(--aqua);
animation: pulseGlow 4s infinite alternate;
transition: all 0.3s ease-in-out;
}
@keyframes pulseGlow {
0% {
box-shadow: 0 0 20px var(--aqua), inset 0 0 10px var(--black);
}
100% {
box-shadow: 0 0 35px var(--aqua), inset 0 0 15px var(--aqua);
}
}
@media (max-width: 600px) {
.clock {
font-size: 36px;
padding: 20px 30px;
}
.title {
font-size: 20px;
}
}