diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2025-10-25 14:36:23 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2025-10-25 14:36:23 -0300 |
| commit | dbcb73ad49a36463d0a4618b2c985ca637a48341 (patch) | |
| tree | 95121d4e08a1a733e59dc447965ddf73c19c2d77 /src/static/css/site.css | |
| parent | 6e15ccce03c1716b188bbd29ef172ac905a87ca6 (diff) | |
content, css: transformContent: fenced code blocks
Diffstat (limited to 'src/static/css/site.css')
| -rw-r--r-- | src/static/css/site.css | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css index 61803c9d..4998b799 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -1554,6 +1554,22 @@ li:not(:first-child:last-child) .tooltip:where(:not(.cover-artwork .tooltip)), color: #fffb; } +pre.content-code { + white-space: normal; + background: black; + color: white; + padding: 5px; + max-width: calc(100vw - 180px); + overflow-x: scroll; + border: 1px dashed var(--primary-color); +} + +pre.content-code code { + font-size: 0.8em; + line-height: 1; + white-space: nowrap; +} + s.spoiler { display: inline-block; color: transparent; |