-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
83 lines (72 loc) · 1.61 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
@import url('https://fonts.googleapis.com/css2?family=Chivo:wght@300;400;700;900&family=Chonburi&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Chivo', sans-serif;
height: 100vh;
width: 100vw;
background-image: linear-gradient(rgba(30, 41, 54, 0.9), rgba(30, 41, 54, 0.9)), url('pic2.jpg');
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
}
.music-box {
width: 300px;
min-height: 400px;
background:rgba(135, 120, 164, 0.808);
padding: 10px;
text-align: center;
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
border-radius: 10px;
display: flex;
justify-content: space-around;
flex-direction: column;
}
.music-box h1 {
font-size: 30px;
font-weight: 600;
letter-spacing: 1.3px;
color: #d08d61;
}
.music-box h4 {
font-size: 20px;
font-weight: 400;
color: #d08d61;
}
.music-box .song-img {
display: flex;
justify-content: center;
align-items: center;
}
.music-box .song-img img {
height: 100px;
width: 100px;
object-fit: cover;
border-radius: 55%;
}
.music-box audio {
width: 100%;
outline: none;
}
.music-box .controls {
width: 100%;
height: 80px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px;
}
.music-box .controls img {
width: 60px;
cursor: pointer;
}
@media (max-width: 500px) {
.music-box{
width: 250px;
}
}