From 7e4551a2b5725af9c176bce98994c07f2c9cefee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20=C5=A0ub=C3=ADn?= Date: Tue, 6 Jun 2023 09:48:44 +0200 Subject: [PATCH] wip --- assets/css/layout.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/assets/css/layout.css b/assets/css/layout.css index e317d26..09970b5 100644 --- a/assets/css/layout.css +++ b/assets/css/layout.css @@ -253,19 +253,20 @@ } .section--preview img { - width: 90vw; + width: 90vh; max-width: 100rem; - height: 90vh; + height: 90vw; max-height: 56.25rem; object-fit: cover; box-shadow: var(--shadow-outset); + transform: rotate(-90deg); } -/* .section--preview.horizontal img { - width: 90vh; - height: 90vw; +.section--preview.horizontal img { + width: 90vw; + height: 90vh; transform: rotate(0deg); -} */ +} .section--switch .section__intro{ flex-direction: column;