-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
124 lines (104 loc) · 1.78 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
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
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
* {
box-sizing: border-box;
}
body {
margin: 0;
background-color: #fff;
font-family: "Roboto", sans-serif;
}
h1 {
margin: 0 0 30px;
}
button {
cursor: pointer;
}
button:active {
transform: scale(0.9);
}
input:focus,
button:focus {
outline: none;
}
header {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 100px 0;
position: relative;
background: url("https://images.unsplash.com/photo-1575854372692-1155df194fae?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
repeat center center/cover;
color: #fff;
}
header::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.6);
}
header * {
z-index: 1;
}
form {
position: relative;
width: 500px;
max-width: 100%;
}
form input {
padding: 15px 30px;
width: 100%;
border: 0;
border-radius: 50px;
font-size: 16px;
}
form button {
position: absolute;
top: 2px;
right: 2px;
padding: 13px 30px;
background-color: #fd8b56;
border: 0;
border-radius: 50px;
color: #fff;
font-size: 16px;
}
.btn {
padding: 4px 10px;
background-color: #fd9956;
border: 0;
border-radius: 10px;
color: #fff;
}
ul.songs {
list-style-type: none;
padding: 0;
}
ul.songs li {
display: flex;
justify-content: space-between;
align-items: center;
margin: 10px 0;
}
.container {
margin: 30px auto;
max-width: 100%;
width: 500px;
}
.container h2 {
font-weight: 300;
}
.container p {
text-align: center;
}
.centered {
display: flex;
justify-content: center;
}
.centered button {
transform: scale(1.3);
margin: 15px;
}