-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
142 lines (118 loc) · 2.01 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
/* Images created by: https://unsplash.com/@pawel_czerwinski */
@import url('https://fonts.googleapis.com/css2?family=Hind:wght@400;700&display=swap');
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background: #84a9ca;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Hind', sans-serif;
font-size: 12px;
}
.player-container {
height: 500px;
width: 400px;
background: whitesmoke;
border-radius: 20px;
box-shadow: 0 15px 30px 5px rgba(0, 0, 0, 0.3);
}
.img-container {
height: 300px;
width:300px;
position: relative;
top: -50px;
left: 50px;
}
.img-container img {
height: 100%;
width: 100%;
object-fit: cover;
border-radius: 20px;
box-shadow: 0 15px 30px 5px rgba(0, 0, 0, 0.5);
}
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: #220035;
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;
}
#right {
text-align: right;
}
#left {
text-align: left;
}
/* Controls */
.player-controls {
position: relative;
top: -15px;
left: 120px;
width: 200px;
}
.fas:hover {
filter: brightness(80%);
color: #4f2e00;
}
.fas {
font-size: 30px;
color: #646464;
margin-right: 30px;
cursor: pointer;
user-select: none;
}
.main-button {
font-size: 40px;
position: relative;
top: 3px;
}
/* Media Query: iPhone (Vertical) */
@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;
}
}