contrib/html: add a class for code...

... and make sure the notification generator does not suffer
strange styles.
This commit is contained in:
Christian Hesse 2025-11-20 22:07:00 +01:00
parent 94514a7c75
commit ea9e843ae9
2 changed files with 4 additions and 2 deletions

View file

@ -58,6 +58,8 @@ p.hint {
pre {
font-family: fira-mono, monospace;
white-space: pre-wrap;
}
pre.code {
background-color: #f8f8f8;
border: 1px solid #ccc;
overflow: auto;
@ -69,7 +71,7 @@ pre code {
padding: 0;
border: 0;
}
pre::before {
pre.code::before {
content: "📋 Copy!";
float: right;
border: 1px solid #ccc;