commit 7fb1906e0e490f92f9c4eba70f6d37267e63ee3c
parent b6952a502ce804e006a0e2bb360ed2a1ee61e711
Author: Dan Callaghan <djc@djc.id.au>
Date: Sun, 4 Oct 2026 13:55:56 +1100
fix screenshot layout on phones
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css
@@ -22,7 +22,7 @@ body {
}
.container.gallery {
display: grid;
- grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
+ grid-template-columns: repeat(auto-fill, minmax(min(500px, 90%), 1fr));
column-gap: 3%;
row-gap: 2.5em;
margin-bottom: 2.5em;
@@ -36,7 +36,7 @@ section {
margin: 0;
}
.gallery figcaption {
- margin: 0 5px;
+ margin: 0;
}
h1, h2, h3, h4, h5, h6 {
@@ -106,7 +106,6 @@ header .tagline {
}
section img {
width: 100%;
- margin: 5px;
box-shadow: 1px 1px 10px rgb(128,128,128);
}