-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
150 lines (141 loc) · 2.77 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
142
143
144
145
146
147
148
149
150
*{
box-sizing: border-box;
}
body{
height: 100vh;
margin: 10px;
font-family: 'lato' ,sans-serif;
background:linear-gradient(0deg, #399191,#a0cccc);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.music_container{
background-color: white;
border-radius: 20px;
box-shadow: 0 20px 20px 0 teal;
display: flex;
flex-direction: row;
padding: 20px 30px;
position: relative;
z-index: 10;
margin: 100px 0;
}
.img_container{
position: relative;
width: 110px;
}
.img_container::after{
content: '';
background-color: #fff;
height: 20px;
width: 20;
position:absolute;
left: 50%;
bottom: 50%;
border-radius: 50%;
transform: translate(-50%,-50%);
}
.img_container img{
width:inherit;
height: 110px;
border-radius: 50%;
object-fit: cover;
position: absolute;
bottom: 0;
left: 0;
animation: rotate 3s linear infinite;
animation-play-state: paused ;
}
.music_container.play .img_container img{
animation-play-state: running ;
}
@keyframes rotate {
from{
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.nav{
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
}
.action-btn{
background-color: ivory;
border: 0;
color: #316A74;
font-size: 20px;
cursor: pointer;
padding: 10px;
margin: 0 20px;
}
.action-btn-big{
color:#21545e ;
}
.action-btn:focus{
outline: 0;
}
.music_info{
background-color: #e2b1ae;
position: absolute;
border-radius: 15px 15px 0 0;
top: 0;
left: 20px;
width: calc(100% - 40px);
opacity: 0;
transform: translateY(0%);
padding: 10px 10px 10px 150px;
transition: transform 0.5s ease-in, opacity .3s ease-in;
}
.music_info h4{
margin: 0;
text-transform:uppercase;
}
.music_container.play .music_info{
opacity: 1;
transform: translateY(-100%);
}
.progress_container{
background-color:rgb(236, 128, 164);
border-radius: 5px;
cursor: pointer;
margin: 10px 0;
height: 4px;
width: 100%;
}
.progress {
background-color: teal;
border-radius: 5px;
height: 100%;
width: 0%;
transition: width 0.1s linear;
}
span{
font-size: 50px;
background: linear-gradient(145deg ,#f81f01,#f32170,#2196f3);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
font-family: 'Allison', cursive;
padding: 0 10px;
}
.logo{
padding-bottom: 110px;
}
h1{
margin: 0;
font-size: 20px;
}
.visit{
background-color:#0a6b41 ;
width: max-content;
padding: 2px 2px;
margin: 10px 10px;
color:#fff;
display: flex;
float: left;
}