forked from surprise010/SURPRISE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
97 lines (96 loc) · 1.89 KB
/
style.css
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
body {
font-family: Arial;
background: #46CE90;
background: linear-gradient(45deg, #46CE90 0%, #3E55A4 52%, #6E2A46 100%);
}
.playing {
position: absolute;
top: 25%;
left: 50%;
width: auto;
transform: translateX(-50%) translateY(-50%);
z-index: 1;
}
.now.playing .bar {
display: inline-block;
position: relative;
margin-right: 1px;
width: 10px;
height: 1px;
overflow: hidden;
background: linear-gradient(to bottom, #ff9500, #ff5e3a);
color: transparent;
animation-name: pulse;
animation-duration: 1s;
animation-iteration-count: infinite;
}
.n1 {
animation-delay: 0.5s;
}
.n2 {
animation-delay: 0.2s;
}
.n3 {
animation-delay: 1.2s;
}
.n4 {
animation-delay: 0.9s;
}
.n5 {
animation-delay: 2.3s;
}
.n6 {
animation-delay: 1.3s;
}
.n7 {
animation-delay: 3.1s;
}
.n8 {
animation-delay: 1.9s;
}
@keyframes pulse {
0% {
height: 1px;
margin-top: 0;
}
10% {
height: 40px;
margin-top: -40px;
}
50% {
height: 20px;
margin-top: -20px;
}
60% {
height: 30px;
margin-top: -30px;
}
80% {
height: 60px;
margin-top: -60px;
}
100% {
height: 1px;
margin-top: 0;
}
}
.container {
max-width: 500px;
margin: 0 auto;
text-align: center;
position: relative; /* Add a position to allow z-index to work */
z-index: 2; /* Set a higher z-index to ensure it's on top */
}
.con{
text-align: center;
color: #c31b45;
letter-spacing: .1em;
text-shadow: 0 -1px 0 #fff, 0 1px 0 #2e2e2e, 0 2px 0 #2c2c2c, 0 3px 0 #2a2a2a, 0 4px 0 #282828, 0 5px 0 #262626, 0 6px 0 #242424, 0 7px 0 #222, 0 8px 0 #202020, 0 9px 0 #1e1e1e, 0 10px 0 #1c1c1c, 0 11px 0 #1a1a1a, 0 12px 0 #181818, 0 13px 0 #161616, 0 14px 0 #141414, 0 15px 0 #121212, 0 22px 30px rgba(0,0,0,0.9);
color: #e11c7b;
}
h1 {
font-size: 32px;
}
audio {
width: 100%;
}