From d7e9e848111a613acea8615168b229eef1ad2336 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 19 May 2026 13:43:37 +0200 Subject: [PATCH] contrib/html: add class and shadow for screenshots --- contrib/html.sh | 2 +- general/style.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/html.sh b/contrib/html.sh index 5ac84c25..64c2ac44 100755 --- a/contrib/html.sh +++ b/contrib/html.sh @@ -17,7 +17,7 @@ markdown -f toc,idanchor "${1}" | sed \ -e '//s|pre|pre class="code" onclick="CopyToClipboard(this)"|g' \ - -e '/notification: .*/s|alt="\(.*\):|class="\1" alt="\1:|' \ + -e '/\(notification\|screenshot\): .*/s|alt="\(.*\):|class="\1" alt="\1:|' \ -e '/The above link may be broken on code hosting sites/s|blockquote|blockquote style="display: none;"|' sed \ diff --git a/general/style.css b/general/style.css index fc140585..22287dc6 100644 --- a/general/style.css +++ b/general/style.css @@ -45,6 +45,9 @@ hr { img.notification { box-shadow: 5px 5px 7px gray; } +img.screenshot { + box-shadow: 5px 5px 7px gray; +} img.logo { float: left; /* border-radius: 50%; */