« get me outta code hell

css: fix scaling & aspect ratios in square images in general - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/site6.css
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-01-27 14:47:16 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-27 14:49:08 -0400
commit1065803804cbf5f927440a8b2781419a6d6de5e2 (patch)
treeb36ffbce72d57f4a81740098900bada920ce0db1 /src/static/site6.css
parent035d3abaf4981b7f43654d5ac01ae466d01bbedd (diff)
css: fix scaling & aspect ratios in square images in general
Diffstat (limited to 'src/static/site6.css')
-rw-r--r--src/static/site6.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/static/site6.css b/src/static/site6.css
index 87afd145..a6a0ed9a 100644
--- a/src/static/site6.css
+++ b/src/static/site6.css
@@ -779,6 +779,11 @@ ul.image-details li {
   height: 100%;
 }
 
+.square .image {
+  width: 100%;
+  height: 100%;
+}
+
 h1 {
   font-size: 1.5em;
 }