tweaking style for emoji posts
All checks were successful
/ weblog.lol (push) Successful in 10s

This commit is contained in:
Gordon Pedersen 2024-05-21 14:29:59 +10:00
parent 19e82d284f
commit 9908207d9b

View file

@ -84,6 +84,11 @@ main>nav,
box-shadow: var(--shadow); box-shadow: var(--shadow);
} }
article:has([data-emoji]) {
min-height: 10em;
display:block;
}
main.page { main.page {
display: block; display: block;
} }
@ -180,14 +185,9 @@ iframe {
} }
[data-emoji] { [data-emoji] {
display: inline-block; float: left;
font-size: 2em; max-height: 5em;
font-style: normal; margin: 1.5em 1em 1em 0;
}
[data-emoji]::before {
display: inline-block;
zoom: 25%;
} }
[data-emoji='{emoji}'], [data-emoji='{emoji}'],