« get me outta code hell

panel sizing fixes - precanon - Homestuck^2: Preceeding Canon - (re)presentation of HS2 stylized upon Prequel
summary refs log tree commit diff
path: root/style.css
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-10-08 21:35:22 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-10-08 21:43:45 -0300
commitbfa442d8de092761dd00a7e053fe383eeb83cc94 (patch)
treeef3ce444b69e7407548b08583df9c1e792d190c3 /style.css
parent49b30f13457ff3af82de2e8fffcad77eed16de3c (diff)
panel sizing fixes
Diffstat (limited to 'style.css')
-rw-r--r--style.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/style.css b/style.css
index 57752ff..76166d9 100644
--- a/style.css
+++ b/style.css
@@ -34,7 +34,8 @@ nav > span:not(:last-of-type):after {
 
 .panel {
     display: block;
-    width: 100%;
+    max-width: 100%;
+    height: auto;
     margin: 2em 0;
     image-rendering: pixelated;
 }
@@ -143,6 +144,10 @@ h2 {
     margin-right: -20px;
 }
 
+.wide .panel {
+    width: 100%;
+}
+
 .two-columns {
     columns: 2;
     margin: 20px;