contrib/html: add class and shadow for screenshots

This commit is contained in:
Christian Hesse 2026-05-19 13:43:37 +02:00
parent 7dc7af8907
commit 09a93fda5e
2 changed files with 4 additions and 1 deletions

View file

@ -17,7 +17,7 @@ markdown -f toc,idanchor "${1}" | sed \
-e '/<h[1234] /s|-2[1789cd]-||g' \
-e '/<h[1234] /s|-3[f]-||g' \
-e '/^<pre>/s|pre|pre class="code" onclick="CopyToClipboard(this)"|g' \
-e '/<img src=".*" alt="notification: .*" \/>/s|alt="\(.*\):|class="\1" alt="\1:|' \
-e '/<img src=".*" alt="\(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 \

View file

@ -45,6 +45,9 @@ hr {
img.notification {
box-shadow: 3px 3px 7px rgba(100,100,100,0.7);
}
img.screenshot {
box-shadow: 3px 3px 7px rgba(100,100,100,0.7);
}
img.logo {
float: left;
/* border-radius: 50%; */