diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-11-18 22:58:45 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-11-18 22:58:45 +0530 |
commit | be4fce2d19eb4a22f8299ffd84fe9fd6e69617b9 (patch) | |
tree | 7e6821a71cd0b5779751cb3e606357f8ae6cc811 /static/css | |
parent | 0f2d8564ff1e648a553bc75b4385c3c8ac72e09e (diff) |
changed code block styling
Diffstat (limited to 'static/css')
-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 { |