diff options
-rw-r--r-- | static/css/styles.css | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/static/css/styles.css b/static/css/styles.css index db50f91..ce755d7 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -67,17 +67,25 @@ img { max-height: 30rem; } +pre { + border-radius: 4px; +} + +pre code { + overflow-x: auto; + display: block; +} + code { background-color: var(--codeblock-bg); color: var(--codeblock-fg); padding: 5px 8px; border-radius: 4px; - font-family: monospace; } -pre code { - overflow-x: auto; - display: block; +code * { + font-family: monospace; + font-size: 1rem; } main { |