aboutsummaryrefslogtreecommitdiff
path: root/public/main.css
diff options
context:
space:
mode:
Diffstat (limited to 'public/main.css')
-rw-r--r--public/main.css69
1 files changed, 60 insertions, 9 deletions
diff --git a/public/main.css b/public/main.css
index 7e7f297..1beec21 100644
--- a/public/main.css
+++ b/public/main.css
@@ -1,19 +1,75 @@
+html {
+ height: 100%;
+}
+
body {
margin: 0;
display: flex;
+ height: 100%;
+ font-family: sans-serif;
}
-.g-Aside {
- padding: 1rem;
+/* 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-Main {
+.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 {
+ font-size: 120%;
+ margin-bottom: 1rem;
+}
+
+.g-Books {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
grid-gap: 1rem;
-
}
.g-Book {
@@ -21,8 +77,3 @@ body {
align-self: center;
border: 1px solid #DDDDDD;
}
-
-.g-Book:hover {
- transform: scale(1.1);
- transition: transform 0.1s linear;
-}