-
Notifications
You must be signed in to change notification settings - Fork 0
/
music.css
64 lines (57 loc) · 1.08 KB
/
music.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
.music-container {
display: flex;
position: relative;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
max-width: 500px;
min-width: 300px;
min-height: 230px;
}
.player {
display: flex;
justify-content: center;
background: transparent;
cursor: pointer;
width: 100%;
}
.player-button::before,
.player-button.playing::before {
content: '';
display: inline-block;
border: 0;
background: transparent;
box-sizing: border-box;
width: 0;
height: 12px;
margin-right: 10px;
border-color: transparent transparent transparent black;
transition: 100ms all ease;
cursor: pointer;
border-style: solid;
border-width: 6px 0 6px 8px;
}
.player-button.playing::before {
border-style: double;
border-width: 0px 0 0px 8px;
}
#song-info {
width: 100%;
display: flex;
justify-content: center;
font-size: 1.2rem;
}
.duration {
width: 75px;
letter-spacing: 1px;
}
.full-duration {
width: 75px;
text-align: center;
letter-spacing: 1px;
}
a {
text-decoration: none;
color: black;
}