-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
154 lines (133 loc) · 3.07 KB
/
styles.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
151
152
153
154
:root {
--background: #d2d7dd;
--gray: #6c6f70;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Times New Roman', Times, serif;
}
img {
max-width: 100%;
}
.container {
background-color: var(--background);
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.player {
width: 300px;
height: 550px;
background-color: var(--background);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 12px;
box-shadow: 9px 9px 16px rgba(163, 177, 198, 0.6), -9px -9px 16px rgba(255, 255, 255, 0.5);
}
.player_controls {
display: flex;
width: 30vw;
max-width: 95%;
justify-content: space-evenly;
align-items: center;
margin-bottom: 25px;
}
.player__btn {
cursor: pointer;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
box-shadow: -8px -8px 20px 0px #fff9, -6px -6px 20px 0px #fff9, 8px 8px 20px 0px #0001, 5px 5px 6px 0px #0001;
color: var(--gray);
}
.player__btn:active {
box-shadow: inset -8px -8px 20px #fff9, inset -6px -6px 20px 0px #fff9, inset 8px 8px 20px 0px #0001, inset 5px 5px 6px 0px #0001;
}
.blue:active {
box-shadow: inset -8px -8px 20px rgba(0, 91, 228, 0.623), inset -6px -6px 20px 0px #fff9, inset 8px 8px 20px 0px rgba(0, 0, 0, 0.158), inset 5px 5px 6px 0px #0001
}
.player__title {
font-weight: 600;
font-size: 0.9em;
color: #407e83;
text-transform: uppercase;
margin-bottom: 10px;
transition: .6s;
}
.player__title:hover {
font-size: 1em;
color: #52aeb4;
border-radius: 3px;
box-shadow: -4px -4px 12px rgba(240, 239, 239, 0.925), 4px 4px 12px rgba(8, 8, 8, 0.562);
}
.player__albun {
width: 150px;
}
.player__img {
border-radius: 10%;
box-shadow: 2px 2px 7px rgb(163, 177, 198), -2px -2px 7px rgb(163, 177, 198), -8px -8px 50px rgba(255, 255, 255, .8), 3px 3px 25px rgba(0, 0, 0, .6);
}
.player__artist{
font-size: 1.2em;
font-weight: 5000;
opacity: 0.5;
margin: 20px 0px 0px 0px;
}
.player__song{
color: #13338d;
position: relative;
width: 100%;
text-align: center;
font-weight: 400;
font-size: 1em;
opacity: .5;
margin: 0;
}
.player__level {
width: 80%;
-webkit-appearance: none;
outline: none;
border: none;
padding: 0;
margin-top: 40px;
}
.player__level::-webkit-slider-runnable-track {
background-color: #d7dbdd;
height: 6px;
border-radius: 3px;
}
.audio-duration {
margin-top: -30px;
display: flex;
width: 78%;
font-size: 10px;
font-weight: 600;
color: #a1a1a1;
letter-spacing: 1px;
}
.start {
flex: 1;
}
.player__audio{
visibility: hidden;
}
.player__btn--medium {
min-height: 70px;
min-width: 70px;
}
.blue {
background-color: #4a6fd4;
color: #fff;
}
.hide {
display: none;
}