diff options
author | Alex Scerba <alex@scerba.org> | 2024-11-03 10:44:24 -0500 |
---|---|---|
committer | Alex Scerba <alex@scerba.org> | 2024-11-03 10:44:24 -0500 |
commit | 26fc78701e7af9e37d79160c169f9ecdf8bf33c4 (patch) | |
tree | 762323c7f585e45141c76922ad81ccad18f4fe19 /static/style.css | |
parent | 17fb3a1c4fada28d28f88918afaa36bbb6ab9d70 (diff) |
Move to temporary masonry layout using text columns
Diffstat (limited to 'static/style.css')
-rw-r--r-- | static/style.css | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/static/style.css b/static/style.css index 6957c25..930dc25 100644 --- a/static/style.css +++ b/static/style.css @@ -373,11 +373,15 @@ blockquote { }
.gallery {
- display: grid;
- grid-template-columns: repeat(4, 1fr);
+ /*display: grid;
+ grid-template-columns: repeat(4, 1fr);*/
margin-top: 1.75rem;
+ column-count: 3;
+ column-gap: 0;
}
+.gallery {}
+
@media screen and (max-width: 45rem) {
nav {
display: none;
@@ -390,7 +394,8 @@ blockquote { grid-template-columns: 1fr;
}
.gallery {
- grid-template-columns: repeat(2, 1fr);
+ /*grid-template-columns: repeat(2, 1fr);*/
+ column-count: 2;
}
.toggler{
|