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;