From 26852d83265856e02b620aea3d6714b86928a923 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 17 Oct 2022 12:48:38 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20des=20images=20centr=C3=A9s,=20=C3=A0?= =?UTF-8?q?=20droite=20et=20=C3=A0=20gauche?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- styles.css | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/styles.css b/styles.css index bebf653..0b215cd 100644 --- a/styles.css +++ b/styles.css @@ -433,7 +433,6 @@ abbr { margin-right: -20px; font-size: initial; } - .a-lec_quote a:hover { padding: 4px; } @@ -531,6 +530,29 @@ A-lec images height: auto; } +.a-lec_image.left{ + display: -webkit-inline-box; + float: left; + margin-right: 1rem; +} + +.a-lec_image.right{ + display: -webkit-inline-box; + float: right; + margin-right: 1rem; +} + +.a-lec_image.center{ + display: block; + margin-left: auto; + margin-right: auto; + margin-top: 2rem; + margin-bottom: 2rem; + max-width: 100%; + vertical-align: middle; + height: auto; +} + /* ======================================================================== HEADINGS @@ -546,7 +568,7 @@ A-lec images .a-lec_title-1 { font-size: 150%; margin-top: 30px; - margin-bottom: 10px; + margin-bottom: 40px; } .a-lec_title-2 {