-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
120 lines (98 loc) · 2.03 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
*,*::before,*::after{
margin: 0;
padding: 0%;
box-sizing: border-box;
}
html{
font-size: 70%;
font-family: "Jost",sans-serif;
}
.main-div{
width: 100vw;
height: 100vh;
background-color: #1110103f;
display: grid;
place-items: center;
}
.music-container{
width: 36rem;
height: 54rem;
background-color: #ffffff;
border-radius: 2rem;
box-shadow:0 1.2rem 3rem 0.5 rgba(0, 0, 0, 0.3) ;
padding: 3rem;
text-align: center;
}
.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: grey;
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{
border-radius: 50%;
width: 100%;
height: 100%;
box-shadow: 0 1.2rem 3rem 0.5rem rgba(0, 0, 0, 0.4);
object-fit: cover;
}
.music-controls{
width: 20rem;
display: flex;
justify-content: space-between;
margin: auto;
margin-top: 5rem;
align-items: center;
}
.music-controls .fas{
color: #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: #111;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.4rem;
color: white;
}
.music-controls .fas:hover{
color: gold;
}
.music-controls .fa-play:hover{
background-color: #f6f6f6;
color: gold;
box-shadow: 0 1rem 2rem 0.2rem rgba(0, 0, 0, 0.4);
}
/* Animation */
.anime{
animation: rotatePlayer 3s linear infinite ;
}
@keyframes rotatePlayer{
from { transform: rotate(0deg);}
to{
transform: rotate(360deg) ;
}
}