Add margin and padding to pre blocks
This puts one character's worth of padding inside each pre block, making the text inside easier to read. It also changes the margin to match the spacing of paragraphs, ensuring that everything is aligned "on the line" as if it is displayed in a terminal.
This commit is contained in:
parent
1e6ebdbb52
commit
43feb8c94c
|
@ -130,6 +130,11 @@ kbd {
|
|||
color: var(--bright-bg);
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 1.5rem 0.75rem;
|
||||
margin: 0 0 1.5rem 0;
|
||||
}
|
||||
|
||||
/* Emphasis */
|
||||
b,
|
||||
strong {
|
||||
|
|
Loading…
Reference in New Issue