-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
110 lines (94 loc) · 1.7 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
body {
margin: 0;
padding: 0;
}
.player {
border: 3px solid orange;
border-radius: 3px;
width: 100%;
height: 50px;
display: flex;
align-items: center;
box-sizing: border-box;
padding: 0 20px;
}
.player-controls {
display: flex;
align-items: center;
}
.volume {
width: 150px;
height: 10px;
background: #717171;
border-radius: 5px;
position: relative;
margin-left: 20px;
}
.volume-control {
background: red;
height: 15px;
width: 15px;
position: absolute;
border-radius: 10px;
top: -2px;
}
.play {
background: coral;
width: 30px;
height: 30px;
border-radius: 30px;
position: relative;
}
.play.stopped:after {
content: '';
display: block;
position: absolute;
width: 0;
height: 0;
border-top: 7px solid transparent;
border-bottom: 7px solid transparent;
border-left: 12px solid white;
top: 8px;
left: 11px;}
.play.playing:after, .play.playing:before {
content: '';
display: block;
position: absolute;
width: 3px;
height: 18px;
background: white;
top: 6px;
border-radius: 5px;
}
.play.playing:after {
left: 10px;
}
.play.playing:before {
right: 10px;
}
.song-name {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-left: 20px;
}
.song-name.span:first-child {
font-size: bold;
}
.broadcast {
border: 1px solid black;
cursor: pointer;
transition: background 0.5s ease-in-out;
}
.broadcast:hover {
background: coral;
}
.broadcast-wrap {
display: flex;
}
@media(max-width: 700px) {
.broadcast-wrap {
flex-direction: column;
}
}