-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (108 loc) · 2.02 KB
/
style.css
File metadata and controls
111 lines (108 loc) · 2.02 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
*,
*::before,
*::after{
margin:0;
padding:0%;
box-sizing: border-box;
}
html{
font-size: 62.5%;
font-family: sans-serif;
}
.main_div{
width:100vw;
height:100vh;
background-color:#f6f6f6;
display: grid;
place-items: center;
}
.music_container{
width:35rem;
height: 55rem;
background-color:#ffffff;
border-radius: 2rem;
box-shadow: 0 1.2rem 3rem 0.5rem rgba(0,0,0,0.2);
padding:3rem;
text-align: center;
}
audio{
visibility: hidden;
}
.music_container #title
{
text-transform: uppercase;
letter-spacing: 0.2rem;
word-spacing: 0.5rem;
color:#171717;
margin:2rem 0 0.5rem 0;
font-size:2.5rem;
font-weight:500;
text-shadow: 0 0.3rem 0.5rem rgba(0,0,0,0.3);
}
.music_container #artist
{
color:#cccaca;
text-transform: capitalize;
letter-spacing: 0.1rem;
font-size:2rem;margin-bottom: 4rem;
font-weight:300;
}
#img_container
{
width:25rem;
height:25rem;
margin:auto;
}
img{
width:280px;
height:270px;
border-radius:50%;
object-fit: cover;
}
.music-controls
{
width:20rem;
display: flex;
align-items: center;
justify-content: space-between;
margin: auto;
margin-top: 1rem;
}
.music-controls .fas
{
columns: #111111;
font-size: 2rem;
cursor: pointer;
filter: drop-shadow(0 1.2rem 3rem 0.5rem rgba(0,0,0,0.4));
}
.music-controls .main_button
{
width:5rem;
height:5rem;
border-radius:50%;
background-color:#111111;
color:#f6f6f6;
display:flex;
justify-content: center;
align-items: center;
font-size:1.4rem;
}
.music-controls .fas:hover
{
color:grey;
}
.music-controls .fa-play:hover
{
background-color: #f6f6f6;
color: #111111;
box-shadow: 0 1rem 2rem 0.2rem rgba(0,0,0,0.4);
}
.anime
{
animation: rotatePlayer 3s linear infinite ;
}
@keyframes rotatePlayer
{
from {transform: rotate(0deg);}
to{transform: rotate(360deg);}
}