summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/style.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/partials/style.html b/layouts/partials/style.html
index 8685d39..2ce5d10 100644
--- a/layouts/partials/style.html
+++ b/layouts/partials/style.html
@@ -704,4 +704,20 @@
display: none;
}
}
+
+ @media (max-width: 700px) {
+ .booklist {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ gap: 10px;
+ }
+ }
+
+ @media (max-width: 400px) {
+ .booklist {
+ display: grid;
+ grid-template-columns: repeat(2, 1fr);
+ gap: 10px;
+ }
+ }
</style>