-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
72 lines (70 loc) · 1.29 KB
/
Copy pathstyle.css
File metadata and controls
72 lines (70 loc) · 1.29 KB
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
@import url("https://fonts.googleapis.com/css2?family=Quicksand&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap");
* {
margin: 0;
padding: 0;
}
.wrapper {
display: grid;
justify-content: center;
margin: 50px 0;
}
.music-widget {
background-color: antiquewhite;
display: grid;
grid-template-rows: auto auto;
grid-template-columns: 1fr;
}
.art {
width: 100%;
height: 300px;
aspect-ratio: 1;
object-fit: cover;
grid-row: 1 / 2;
grid-column: 1 / 2;
}
.song-info {
grid-row: 1 / 2;
grid-column: 1 / 2;
align-self: end;
background-color: rgba(100%, 100%, 100%, 60%);
backdrop-filter: blur(50px);
padding: 10px 5px;
}
.song-title {
animation: text-animation 10s linear infinite;
font-family: "Quicksand", sans-serif;
font-size: 22px;
}
.artist-name {
font-family: "Josefin Sans", sans-serif;
}
@keyframes text-animation {
from {
transform: translateX(100%);
}
to {
transform: translateX(-150%);
}
}
.toolbar {
grid-row: 2 / 3;
grid-column: 1 / 2;
display: flex;
justify-content: space-evenly;
align-items: center;
margin: 10px;
}
li {
list-style: none;
}
li img {
width: 20px;
}
.button-play {
height: 3rem;
width: 3rem;
border-radius: 50%;
background-color: palevioletred;
border: none;
}