From e7cea46e1530242a3c8351e4609032b03f833263 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Sun, 14 Aug 2022 10:31:03 +0200 Subject: [PATCH] correction des citations --- styles.css | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/styles.css b/styles.css index cb1463a..bebf653 100644 --- a/styles.css +++ b/styles.css @@ -388,18 +388,18 @@ abbr { /* * Blockquotes */ -.a-lec_quote-fig { +.a-lec_quote { display: block; margin: 40px 20px 20px 20px; color: var(--a-lec_black); } -.a-lec_quote-fig p { +.a-lec_quote p { font-style: italic; } -.a-lec_quote-fig p::before { +.a-lec_quote p::before { color: var(--a-lec_blue); content: "“"; font-size: 3rem; @@ -408,7 +408,7 @@ abbr { display: block; } -.a-lec_quote-fig p::after { +.a-lec_quote p::after { color: var(--a-lec_blue); content: "„"; font-size: 3rem; @@ -418,17 +418,23 @@ abbr { text-align: right; } -.a-lec_quote-fig a { - display: inline-block; - float: right; - background-color: var(--a-lec_yellow); - padding: 4px; - color: var(--a-lec_black); - margin-top: 10px; - margin-right: -20px; +.a-lec_quote cite { + display: inline; + font-size: 0; } -.a-lec_quote-fig a:hover { +.a-lec_quote a { + display: block; + float: right; + background-color: var(--a-lec_yellow); + padding: 4px; + color: var(--a-lec_black); + margin-top: 10px; + margin-right: -20px; + font-size: initial; +} + +.a-lec_quote a:hover { padding: 4px; }