summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Tomaselli <tomaselli.fr@gmail.com>2025-02-02 23:43:47 +0100
committerGitHub <noreply@github.com>2025-02-02 23:43:47 +0100
commitf585e33c75a1dac046d0b7e4f2023c152bc44828 (patch)
tree006c8fcf3f62e77edc404a8b4b6459da3ab30e9d
parent91086b1b3dd7d8ba352cec1a90493ce358d83c45 (diff)
parent27d124b7f403030ebf996954bf271a06286508e3 (diff)
Merge pull request #75 from OleMussmann/main
-rw-r--r--assets/css/main.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/assets/css/main.css b/assets/css/main.css
index c454443..7ba5181 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 {