diff options
author | Djordje Atlialp <djordje@atlialp.com> | 2021-08-24 11:23:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 11:23:58 +0300 |
commit | 74b2f0329a22f1bea788af86e535514c3663211d (patch) | |
tree | 9154c9047ab449a818979ea550e570b323305fab | |
parent | bc5c57112c3475d5292c6a6e34766d50b8e568b8 (diff) | |
parent | 32a07b5109564f96f2122c4009150b9a568f1900 (diff) |
Merge pull request #320 from a-dma/fix-pre
Fix <pre> HTML tag to follow theme settings
-rw-r--r-- | assets/scss/_main.scss | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/assets/scss/_main.scss b/assets/scss/_main.scss index b783fc4..7a62d4b 100644 --- a/assets/scss/_main.scss +++ b/assets/scss/_main.scss @@ -239,7 +239,14 @@ code { } pre { - background: #212020; + [data-theme=dark] & { + background-color: $dark-background-secondary; + } + + [data-theme=light] & { + background-color: $light-background-secondary; + } + padding: 10px 10px 10px 20px; border-radius: 8px; font-size: 0.95rem; |