fix pre widths to avoid overflow and ugliness
This commit is contained in:
parent
7b57e92622
commit
e39ce0dbca
2 changed files with 3 additions and 19 deletions
|
|
@ -123,9 +123,11 @@ pre {
|
||||||
/* yeah what the heck let's do 100 (for rust's sake) */
|
/* yeah what the heck let's do 100 (for rust's sake) */
|
||||||
/* reducing the font-size a touch makes this more than reasonable methinks */
|
/* reducing the font-size a touch makes this more than reasonable methinks */
|
||||||
/* nvm */
|
/* nvm */
|
||||||
/* width: min(80.5ch, 95vw); */
|
width: min(80.5ch, 95%);
|
||||||
margin-inline: auto;
|
margin-inline: auto;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
padding: 0.5rem;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.anchor {
|
.anchor {
|
||||||
|
|
@ -166,10 +168,6 @@ pre {
|
||||||
margin-block: 0 8pt;
|
margin-block: 0 8pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
code,
|
code,
|
||||||
pre {
|
pre {
|
||||||
/* kde default i think; looks nice, so i want to keep it consistent */
|
/* kde default i think; looks nice, so i want to keep it consistent */
|
||||||
|
|
|
||||||
|
|
@ -49,13 +49,6 @@
|
||||||
background: #7c6f64; /* bg4 */
|
background: #7c6f64; /* bg4 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Code blocks */
|
|
||||||
pre[class*="language-"] {
|
|
||||||
padding: 1em;
|
|
||||||
margin: 0.5em 0;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* :not(pre) > code[class*="language-"],
|
/* :not(pre) > code[class*="language-"],
|
||||||
pre[class*="language-"] {
|
pre[class*="language-"] {
|
||||||
background: #1d2021; /* bg0_h
|
background: #1d2021; /* bg0_h
|
||||||
|
|
@ -195,13 +188,6 @@
|
||||||
background: #a89984; /* bg4 */
|
background: #a89984; /* bg4 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Code blocks */
|
|
||||||
pre[class*="language-"] {
|
|
||||||
padding: 1em;
|
|
||||||
margin: 0.5em 0;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* :not(pre) > code[class*="language-"],
|
/* :not(pre) > code[class*="language-"],
|
||||||
pre[class*="language-"] {
|
pre[class*="language-"] {
|
||||||
background: #f9f5d7; /* bg0_h
|
background: #f9f5d7; /* bg0_h
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue