From eeb89515d4b299856be38d630d94214e349de3a2 Mon Sep 17 00:00:00 2001 From: hugogogo Date: Fri, 26 Feb 2021 12:46:46 +0100 Subject: [PATCH] toujours en train de regler les styles --- styles/images.css | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/styles/images.css b/styles/images.css index 7c7b7c2..617b5b0 100644 --- a/styles/images.css +++ b/styles/images.css @@ -24,11 +24,11 @@ /*design*/ .gallery { display: flex; + flex-direction: row; flex-wrap: wrap; } .gallery .card { display: flex; - flex-direction: column; flex: 0 1 0; padding: 0px; margin: 0px; @@ -56,11 +56,23 @@ .image { margin: auto; margin-left: 0px; + width: 100%; +} +.image * { + margin: 0px; } .image img { + height: 400px; + width: auto; + margin-right: auto; +} +/*images in full page*/ +.image.full { + overflow: visible; } .image.full img { - max-width: 100vw; + width: 100vw; + height: auto; margin-left: calc(-1 * var(--screen-gap)); }