diff options
Diffstat (limited to 'web/css/main.css')
-rw-r--r-- | web/css/main.css | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/web/css/main.css b/web/css/main.css index 953e4f3c..8f37f6bd 100644 --- a/web/css/main.css +++ b/web/css/main.css @@ -22,17 +22,34 @@ hr { } p.text { - display: table-cell; text-align: justify; } +p:not(:first-child).text { + margin-top: 0; +} +p:last-child.text { + margin-bottom: 0; +} -pre.code { +div.code { + white-space: nowrap; overflow-x: auto; + font-family: monospace; + border-radius: 4px; color: var(--fg-color-dark); background-color: var(--bg-color-dark); padding: 10px; } -pre.code span.code-comment { +div.code::-webkit-scrollbar { + width: 8px; + height: 8px; +} +div.code::-webkit-scrollbar-thumb { + border-radius: 4px; + background: var(--fg-color-inactive); +} + +div.code span.code-comment { color: var(--fg-color-inactive); } |