-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
150 lines (131 loc) · 2.43 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
@import url('https://fonts.googleapis.com/css2?family=Splash&display=swap');
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background: linear-gradient(
to bottom,
rgba(255, 255, 255, 0.15) 0%,
rgba(0, 0, 0, 0.15) 100%
),
radial-gradient(
at top center,
rgba(255, 255, 255, 0.4) 0%,
rgba(0, 0, 0, 0.4) 120%
)
#989898;
background-blend-mode: multiply, multiply;
display: flex;
justify-content: center;
align-items: center;
font-size: 12px;
font-family: 'Splash', cursive, sans-serif;
}
.player-container {
height: 500px;
width: 400px;
background-image: linear-gradient(to left, #bdbbbe 0%, #9d9ea3 100%),
radial-gradient(
88% 271%,
rgba(255, 255, 255, 0.25) 0%,
rgba(254, 254, 254, 0.25) 1%,
rgba(0, 0, 0, 0.25) 100%
),
radial-gradient(
50% 100%,
rgba(255, 255, 255, 0.3) 0%,
rgba(0, 0, 0, 0.3) 100%
);
background-blend-mode: normal, lighten, soft-light;
border-radius: 25px;
box-shadow: 0 15px 32px 6px rgba(0, 0, 0, 0.2);
}
.img-container {
height: 290px;
width: 290px;
position: relative;
top: -50px;
left: 50px;
}
.img-container img {
height: 100%;
width: 100%;
border-radius: 25px;
box-shadow: 0 4px 32px 6px rgba(0, 0, 0, 0.4);
}
h2 {
font-size: 25px;
text-align: center;
margin: 0;
}
h3 {
font-size: 20px;
text-align: center;
font-weight: 400;
margin: 5px 0 0;
}
/* Progress */
.progress-container {
background: #fff;
border-radius: 5px;
cursor: pointer;
margin: 40px 20px;
height: 4px;
width: 90%;
}
.progress {
background: #242323;
border-radius: 5px;
height: 100%;
/* change this to show progress */
width: 0%;
transition: width 0.1s linear;
}
.duration-wrapper {
position: relative;
top: -25px;
display: flex;
justify-content: space-between;
}
/* Controls */
.player-controls {
position: relative;
top: -15px;
left: 120px;
width: 200px;
}
.fas {
font-size: 30px;
color: rgb(129, 129, 129);
margin-right: 30px;
cursor: pointer;
}
.fas:hover {
filter: brightness(0.5);
}
.main-button {
font-size: 40px;
position: relative;
top: 3px;
}
/* Media Query*/
@media screen and (max-width: 376px) {
.player-container {
width: 95vw;
}
.img-container {
left: 29px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 15px;
}
.player-controls {
top: -10px;
left: 100px;
}
}