contrib/html: add a class and shadow for notifications

This commit is contained in:
Christian Hesse 2026-05-19 13:41:21 +02:00
parent 37e5a98dbc
commit 7dc7af8907
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +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 '/The above link may be broken on code hosting sites/s|blockquote|blockquote style="display: none;"|'
sed \

View file

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