summaryrefslogtreecommitdiff
path: root/stylesheets/quatuor.css
diff options
context:
space:
mode:
Diffstat (limited to 'stylesheets/quatuor.css')
-rw-r--r--stylesheets/quatuor.css25
1 files changed, 13 insertions, 12 deletions
diff --git a/stylesheets/quatuor.css b/stylesheets/quatuor.css
index cc79f60..97aa2f1 100644
--- a/stylesheets/quatuor.css
+++ b/stylesheets/quatuor.css
@@ -57,29 +57,30 @@
filter: none;
transform: scale(1.05);
}
-
- #photos p {
- margin: 0;
- }
}
@media (max-width: 40em) {
#photos {
display: grid;
- grid-template-columns: repeat(4, 20%);
+ grid-template-columns: repeat(auto-fit, minmax(20%, 50%));
justify-content: space-evenly;
width: 100%;
}
- #photos > * {
- width: 100%;
- height: 50vh;
+ #photos > a.member {
+ display: block;
+ text-decoration: none;
}
#photos img.portrait {
- width: 100%;
- height: 100%;
- object-fit: cover;
- object-position: center;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ max-height: 60vh;
+ }
+
+ #photos p {
+ margin: 0;
+ text-align: center;
}
}