-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
133 lines (112 loc) · 2.28 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
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300&family=Bebas+Neue&family=Kaushan+Script&family=Lato&family=League+Spartan:wght@400;700&family=Noto+Sans+JP:wght@300&display=swap');
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background: #c9ced3;
display: flex;
justify-content: center;
align-items: center;
font-family: League Spartan, sans-serif;
font-size: 12px;
}
.player-container {
height: 500px;
/* screen width is around ~400px for smart phones */
width: 400px;
background: -webkit-linear-gradient(to right, #7f7fd5, #86a8e7, #91eae4); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #7f7fd5, #86a8e7, #91eae4); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
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 5px 30px 5px rgba(31, 33, 154, 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: #140861;
border-radius: 5px;
height: 100%;
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(255, 255, 255);
margin-right: 30px;
cursor: pointer;
/* Prevents others fonts from being selected */
user-select: none
}
.fas:hover {
filter: brightness(80%);
}
.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;
}
}