adjusted code blocks part 3

This commit is contained in:
rawleyIfowler
2022-03-13 10:08:08 -05:00
parent ff557bd73d
commit 93d86aadf9

View File

@@ -161,7 +161,7 @@ a:hover:after {
pre { pre {
margin: 0; margin: 0;
overflow: auto; overflow: auto;
padding: 0; padding: 3px;
height: fit-content; height: fit-content;
} }
@@ -169,24 +169,11 @@ code {
background-color: #44475a; background-color: #44475a;
color: #50fa7b; color: #50fa7b;
display: block; display: block;
padding: 3px;
font-family: monospace; font-family: monospace;
font-size: 0.9em; font-size: 0.9em;
overflow: auto; overflow: auto;
} }
code:before {
content: "\A";
background-color: none;
white-space: pre;
}
code:after {
content: "\A";
background-color: none;
white-space: pre-line;
}
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
body { body {
color: #f8f8f2; color: #f8f8f2;