Fixed code blocks line wrapping

This commit is contained in:
Julien Dessaux 2022-07-16 11:30:59 +02:00
parent 42c9f4ee5e
commit e0f6531624
Signed by: adyxax
GPG key ID: F92E51B86E07177E
2 changed files with 4 additions and 7 deletions

View file

@ -24,6 +24,9 @@ p {
text-justify: inter-character; text-justify: inter-character;
overflow-wrap: anywhere; overflow-wrap: anywhere;
} }
pre,code {
white-space: pre-wrap;
}
nav#TableOfContents ul { nav#TableOfContents ul {
padding: 0; padding: 0;
list-style-type: none; list-style-type: none;

View file

@ -5,9 +5,6 @@ html {
body, main { body, main {
background-color: #073642; background-color: #073642;
} }
code {
background-color: #073642;
}
a { a {
color: #b58900; color: #b58900;
} }
@ -27,10 +24,7 @@ h5,
h6 { h6 {
color: #859900; color: #859900;
} }
pre { pre,code {
background-color: #002b36; background-color: #002b36;
color: #839496; color: #839496;
} }
pre, code {
background-color: #002b36;
}