From d3b2d94259fe4566798e1352fc52137e70de582e 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..8ca2800 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: 0.5em 1em 0 0; } [data-emoji='{emoji}'],