From 87bd6bf27883b8e97460a2d627010609a25cdd22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 19 May 2024 17:33:00 +0200 Subject: feat: add flex images to posts --- src/styles/main.css | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'src/styles') diff --git a/src/styles/main.css b/src/styles/main.css index dd62b28..2994196 100644 --- a/src/styles/main.css +++ b/src/styles/main.css @@ -4,7 +4,7 @@ } body { - margin-left: 10vw; + margin: 0 10vw 0 10vw; max-width: 96ch; } @@ -36,9 +36,27 @@ ul li { footer { background-color: blue; - margin-top: 4em; + margin: 4em 0 4em 0; } footer a, footer a:hover, footer a:visited { color: white; } + +img { + cursor: crosshair; + max-width: 100%; +} + +.img-container { + display: flex; + flex-direction: row; + width: 100%; +} + +.img-item { +} + +.img-item:not(:last-child) { + margin-right: 1em; +} -- cgit v1.2.3