diff --git a/assets/development/styles/organization.css b/assets/development/styles/organization.css index 0917583..8731143 100644 --- a/assets/development/styles/organization.css +++ b/assets/development/styles/organization.css @@ -155,12 +155,16 @@ display: flex; justify-content: center; } + .mosaic-1 .media-container { width: 70%; } /* Mosaic level 2 */ .mosaic-2 { + width: 80%; + margin-left: auto; + margin-right: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; } @@ -176,6 +180,9 @@ /* Mosaic level 4 */ .mosaic-4 { + width: 70%; + margin-left: auto; + margin-right: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; } @@ -237,6 +244,13 @@ .media-modal .media-modal-content { border-radius: 4px; width: 100%; + + /** crop not very cool images in modal **/ + max-height: 80vh; + overflow: hidden; + display: flex; + align-items: center; + justify-content: center; } .media-modal img, .media-modal video { @@ -738,6 +752,7 @@ RESPONSIVE } .media-mosaic { + width: 100% !important; height: 33em; }