-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (88 loc) · 1.72 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
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,500;1,300;1,400;1,500&family=Poppins:ital,wght@0,200;0,500;0,600;0,700;1,600&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Manrope", sans-serif;
font-size: 24px;
background-color: hsl(218, 23%, 16%);
color: hsl(193, 38%, 86%);
}
@media screen and (max-width: 768px) {
body {
font-size: 22px;
}
}
.container {
max-width: 90%;
height: 100vh;
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 25px;
}
.rand {
width: 100%;
max-width: 500px;
height: 300px;
background-color: hsl(217, 19%, 24%);
border-radius: 20px;
box-shadow: 0 0 30px 10px rgba(0, 168, 84, 0.68);
padding: 20px;
display: grid;
grid-template-rows: repeat(2, 1fr);
place-items: center;
}
h4 {
text-align: justify;
color: #f8f9fa;
font-family: "Open Sans", sans-serif;
font-weight: 300;
font-style: italic;
}
.song-container {
padding: 10px;
border-top: 2px solid #f8f9fa;
}
#song {
margin-top: 20px;
font-size: 16px;
font-weight: 400;
}
.btn {
display: flex;
justify-content: flex-end;
}
button {
background-color: transparent;
font-family: "Poppins", sans-serif;
font-weight: 500;
color: #f8f9fa;
border: none;
outline: none;
text-transform: uppercase;
padding: 10px;
border-radius: 5px;
cursor: pointer;
position: relative;
border: 2px solid rgb(0, 168, 84);
}
button::before {
content: "";
width: 0;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-color: rgb(0, 168, 84);
transition: all 300ms;
z-index: -1;
border-radius: 1px;
}
button:hover::before {
width: 100%;
}