blob: 09c344ffb8a0d1fbe2e6c6f8c7cf061a2eafc0c9 (
plain)
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
|
html {
height: 100%;
}
body {
margin: 0;
display: flex;
height: 100%;
font-family: sans-serif;
}
/* Filters */
aside {
background-color: #333;
color: white;
width: 200px;
overflow-y: auto;
}
ul {
margin: 0;
padding: 0;
list-style-type: none;
}
.g-FilterTitle {
padding: 0.5rem 1rem;
background-color: #555;
border-left: 8px solid transparent;
font-weight: bold;
}
.g-Filter--Unselected {
border-left: 8px solid #555;
}
.g-Filter--Selected {
border-left: 8px solid #883333;
}
.g-Filter button {
border: none;
background-color: transparent;
color: inherit;
cursor: pointer;
padding: 0.5rem 1rem;
width: 100%;
text-align: left;
}
.g-Filter button:hover {
background-color: #888833;
}
/* Books */
main {
width: 100%;
padding: 1rem;
overflow-y: auto;
}
header {
display: flex;
font-size: 120%;
margin-bottom: 1rem;
}
.g-Search {
margin-right: 1rem;
}
.g-Books {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
grid-gap: 1rem;
}
.g-Book {
width: 13rem;
align-self: center;
border: 1px solid #DDDDDD;
}
|