Fix missing shell code highlighting

This now applies a default style to <pre> elements with <code> elements inside.

I did not use ```shell because it looks ugly.
This commit is contained in:
ekzyis 2026-02-25 22:48:48 +01:00
parent 6c72accb76
commit ed84e1e890

View File

@ -97,6 +97,11 @@
word-break: break-word;
}
.post-content>pre:has(code) {
color: #cdd6f4;
background-color: #1e1e2e;
}
.post-content img {
margin: auto;
max-height: 70vh;