aboutsummaryrefslogtreecommitdiff
path: root/public/main.css
diff options
context:
space:
mode:
authorJoris2023-01-21 14:10:47 +0100
committerJoris2023-01-21 14:10:47 +0100
commit25abf9bc7fd3e6f5b5aabf745cef7d217cde4262 (patch)
treed3ef6f2be1b117cfe5c75f5cd22408b2f47088f0 /public/main.css
parent424cabd49593b13470be1868cf75349b1830929c (diff)
Setup initial view of covers
Diffstat (limited to 'public/main.css')
-rw-r--r--public/main.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/public/main.css b/public/main.css
new file mode 100644
index 0000000..711aaf2
--- /dev/null
+++ b/public/main.css
@@ -0,0 +1,21 @@
+body {
+ margin: 2rem;
+}
+
+.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;
+}
+
+.g-Book:hover {
+ transform: scale(1.1);
+ transition: transform 0.1s linear;
+}