-
-
Notifications
You must be signed in to change notification settings - Fork 681
Expand file tree
/
Copy pathstyle.css
More file actions
140 lines (118 loc) · 2.12 KB
/
Copy pathstyle.css
File metadata and controls
140 lines (118 loc) · 2.12 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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap");
:root {
--main-color: #3b9b76;
--secondary-color: #5ab193;
--text-color: rgba(255, 255, 255, 0.87);
}
* {
box-sizing: border-box;
}
body {
font-family: "Rubik", sans-serif;
margin: 0;
}
header {
background: #040404
url("https://images.unsplash.com/photo-1495305379050-64540d6ee95d?auto=format&fit=crop&w=1350&q=80")
no-repeat center center/cover;
color: rgba(255, 255, 255, 0.95);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 6.25rem 0;
position: relative;
}
header::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
}
header * {
z-index: 1;
}
header h1 {
margin: 0 0 2rem;
}
form {
position: relative;
width: 31.25rem;
max-width: 90%;
}
form input {
border: 0;
border-radius: 50px;
font-size: 1rem;
padding: 1rem 2rem;
width: 100%;
}
form button {
background-color: var(--main-color);
color: rgba(255, 255, 255, 0.95);
position: absolute;
top: 0.125rem;
right: 0.125rem;
border: 0;
border-radius: 50px;
font-size: 1rem;
padding: 0.875rem 2rem;
}
form button:hover {
background-color: var(--secondary-color);
}
button {
cursor: pointer;
}
button:active {
transform: scale(0.95);
}
input:focus,
button:focus {
outline: none;
}
.btn {
background-color: var(--secondary-color);
border: 0;
border-radius: 10px;
color: #fff;
padding: 0.25rem 0.625rem;
}
.btn:hover {
background-color: var(--main-color);
}
ul.songs {
list-style-type: none;
padding: 0;
}
ul.songs li {
display: flex;
align-items: center;
justify-content: space-between;
margin: 0.625rem 0;
}
.container {
margin: 2rem auto;
width: 31.25rem;
max-width: 90%;
}
.container h2 {
font-weight: 300;
}
.container p {
text-align: center;
}
.toast {
position: fixed;
bottom: 10px;
right: 10px;
background-color: var(--secondary-color);
color: var(--text-color);
border-radius: 50px;
font-size: 1rem;
padding: 0.875rem 2rem;
margin: 0.5rem;
}