diff options
author | Ole Mussmann <gitlab+account@ole.mn> | 2025-02-02 13:55:27 +0100 |
---|---|---|
committer | Ole Mussmann <gitlab+account@ole.mn> | 2025-02-02 13:55:27 +0100 |
commit | 27d124b7f403030ebf996954bf271a06286508e3 (patch) | |
tree | 5c3d49d0dc034074210f0b77086e134e6c6f0d4d /assets/css | |
parent | 3c39d685ce85558cf6d2d6b7aef96977254fda34 (diff) |
fix whitespace around #small images
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/main.css | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/assets/css/main.css b/assets/css/main.css index c25d741..6e57bcf 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -457,7 +457,13 @@ figure img { } .img-small img { - scale: 80%; + max-height: calc(var(--figure-img-max-height) * 0.8); +} + +.img-small div:first-child { + height: 80%; + width: 80%; + margin: auto; } .img-full div { @@ -576,4 +582,4 @@ blockquote { blockquote p { margin-left: 1rem; margin-right: 1rem; -}
\ No newline at end of file +} |