From 9908207d9bfb41094ed8cde23f77ced78a98cb6e Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Tue, 21 May 2024 14:29:59 +1000 Subject: [PATCH] tweaking style for emoji posts --- weblog/B0. Template/styles.css.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/weblog/B0. Template/styles.css.md b/weblog/B0. Template/styles.css.md index b7a8267..ff577e7 100644 --- a/weblog/B0. Template/styles.css.md +++ b/weblog/B0. Template/styles.css.md @@ -84,6 +84,11 @@ main>nav, box-shadow: var(--shadow); } +article:has([data-emoji]) { + min-height: 10em; + display:block; +} + main.page { display: block; } @@ -180,14 +185,9 @@ iframe { } [data-emoji] { - display: inline-block; - font-size: 2em; - font-style: normal; -} - -[data-emoji]::before { - display: inline-block; - zoom: 25%; + float: left; + max-height: 5em; + margin: 1.5em 1em 1em 0; } [data-emoji='{emoji}'],