-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
141 lines (119 loc) · 2.44 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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
@import url('https://fonts.googleapis.com/css2?family=Cinzel&display=swap');
html{
font-size: 62.5%;
}
.main{
margin: 0 0;
width: 100vw;
height: 100vh;
background: linear-gradient(145deg, rgba(115,95,67,1) 15%, rgba(222,186,161,1) 100%);
display: grid;
place-items: center;
}
.music_container{
/* margin: 20px 20px ; */
box-sizing: border-box;
width: 35rem;
height: 55rem;
box-shadow: 0 1.2rem 3rem 0.5rem rgb(0, 0, 0, 0.2);
background-color: #fff;
text-align: center;
padding: 3rem;
border-radius: 2rem;
}
#title{
font-family: 'Cinzel', serif;
font-size: 3.5rem;
text-transform: uppercase;
color: #171717;
text-shadow: 0 0.3rem 0.5rem rgba(0,0,0,0.5);
}
#artist{
font-family: 'Cinzel', serif;
font-weight: 200;
font-size: 2rem;
color: #a1a1a1;
text-transform: uppercase;
}
.image img{
height: 20rem;
width: 20rem;
box-shadow: 0 1.2rem 3rem 0.5rem rgb(0, 0, 0, 0.4);
border-radius: 50%;
}
.slider{
/* background-color: rgb(170, 111, 39); */
margin-top: 3rem;
margin-bottom: 3rem;
width: 100%;
position: relative;
}
.seek-bar{
-webkit-appearance: none;
border-radius: 1rem;
height: 0.7rem;
width: 100%;
cursor: pointer;
background: rgb(19, 19, 18);
overflow: hidden;
}
.seek-bar::-webkit-slider-thumb{
-webkit-appearance: none;
width: 0.1rem;
height: 0.1rem;
border-radius: 50%;
background: rgb(111, 110, 110);
box-shadow: -40rem 0 0 40rem rgb(189, 189, 188) ;
}
.current-time,
.song-duration{
font-size: 1.4rem;
}
.song-duration{
position: absolute;
right: 0;
}
.current-time{
position: absolute;
left: 0;
}
.control{
display: flex;
margin: 1rem auto;
justify-content: space-between;
align-items: center;
width: 20rem;
}
.control .fas{
cursor: pointer;
font-size: 1.7rem;
}
.control .play_btn{
color: #fff;
background-color: #171717;
border-radius: 50%;
width: 4rem;
height: 4rem;
justify-content: center;
align-items: center;
display: flex;
}
.control .fas:hover{
color: #a1a1a1;
}
.control .play_btn:hover{
background-color: #fff;
color: #171717;
box-shadow: 0 1.2rem 3rem 0.5rem rgb(0, 0, 0, 0.4);
}
.rotate {
animation: rotation 5s infinite linear;
}
@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}