-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
122 lines (103 loc) · 1.71 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
* {
margin: 0;
padding: 0;
font-family: 'Lato', sans-serif;
box-sizing: border-box;
}
body {
background: #1E2D3B;
min-height: 100vh;
}
.container {
width: 1070px;
height: 100%;
margin: 0 auto;
}
header {
width: 100%;
height: 70px;
background: rgb(46, 58, 70);
}
header img {
height: 50px;
margin-top: 10px;
}
.cds-container {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
padding: 20px 0;
}
.cd {
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: column;
flex-basis: 200px;
padding: 20px;
margin: 10px 20px;
height: 360px;
background: rgb(46, 58, 70);
text-align: center;
}
.cd img {
max-width: 100%;
}
.cd h3 {
margin: 20px 0;
color: white;
font-size: 22px;
text-transform: uppercase;
}
.cd span.author {
color: grey;
font-size: 20px;
}
.cd span.year {
color: grey;
}
#checkbox {
display: flex;
justify-content: center;
}
.genre {
padding: 20px;
}
/* CHECKBOXES */
input {
display: none;
}
label {
display: block;
margin: 0.2em;
padding: 0.2em;
color: #aaa;
cursor: pointer;
}
label::before {
content: "\2714";
display: inline-block;
width: 1em;
height: 1em;
border: 0.1em solid #aaa;
border-radius: 0.35em;
padding-left: 0.2em;
padding-bottom: 0.3em;
margin-right: 0.5em;
color: transparent;
}
label:active::before {
transform: scale(0);
}
input:checked+label::before {
background-color: #1ed760;
border-color: #1ed760;
color: black;
}
label:hover {
color: #1ed760;
}
label:hover::before {
border-color: #1ed760;
}