diff options
author | Julien Dessaux | 2022-07-16 11:30:59 +0200 |
---|---|---|
committer | Julien Dessaux | 2022-07-16 11:30:59 +0200 |
commit | e0f6531624e1d14ffee982ea7afcef495129c767 (patch) | |
tree | 70745be3fab2205469528ae24c68c837d3a76ed9 | |
parent | Updated dependencies (diff) | |
download | www-e0f6531624e1d14ffee982ea7afcef495129c767.tar.gz www-e0f6531624e1d14ffee982ea7afcef495129c767.tar.bz2 www-e0f6531624e1d14ffee982ea7afcef495129c767.zip |
Fixed code blocks line wrapping
-rw-r--r-- | assets/base.css | 3 | ||||
-rw-r--r-- | assets/solarized.css | 8 |
2 files changed, 4 insertions, 7 deletions
diff --git a/assets/base.css b/assets/base.css index 2711195..9cec5e4 100644 --- a/assets/base.css +++ b/assets/base.css @@ -24,6 +24,9 @@ p { text-justify: inter-character; overflow-wrap: anywhere; } +pre,code { + white-space: pre-wrap; +} nav#TableOfContents ul { padding: 0; list-style-type: none; diff --git a/assets/solarized.css b/assets/solarized.css index 8a30f68..73dfa3a 100644 --- a/assets/solarized.css +++ b/assets/solarized.css @@ -5,9 +5,6 @@ html { body, main { background-color: #073642; } -code { - background-color: #073642; -} a { color: #b58900; } @@ -27,10 +24,7 @@ h5, h6 { color: #859900; } -pre { +pre,code { background-color: #002b36; color: #839496; } -pre, code { - background-color: #002b36; -} |