From 028503055f5e70e7985126a850f7704448ea852d Mon Sep 17 00:00:00 2001 From: Bizcochito Date: Fri, 18 Mar 2022 19:09:19 +0100 Subject: [PATCH] made the site readable with aspect ratios <1 --- style.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 13513c7..a340558 100644 --- a/style.css +++ b/style.css @@ -14,12 +14,19 @@ body{ color: #F0F0F0; } +@media screen and (min-aspect-ratio: 1) { + .centercubepleaseind{ + width: 50%; + } + .centercubeplease{ + width: 50%; + } +} .centercubepleaseind{ color: #000000; background-color: #5F8E76; border: 3px solid #527C46; - width: 50%; margin: auto; padding: 10px; } @@ -42,7 +49,6 @@ body{ color: #FFF0F0; background-color: #990033; border: 3px solid #cc0066; - width: 50%; margin: auto; padding: 10px; }