style image in figure

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2026-04-16 19:29:10 +02:00
parent 2fd16d24f0
commit 4e34ce03df
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
8 changed files with 117 additions and 1 deletions

View file

@ -17,3 +17,9 @@
}
#let nav-menu = html.elem.with("nav-menu")
#let home-symbol = html.elem.with("home-symbol")
#let fullscreen-overlay = html.elem.with("fullscreen-overlay")
#let image-magnifier-group(body) = {
// Role 'radiogroup' is needed because of bug in chromium with screenreaders (https://lyra.horse/blog/2025/08/you-dont-need-js/#fn:10)
html.elem("image-magnifier-group", attrs: (role: "radiogroup"), body)
}