fix: add margin after pre and figures
parent
38a5b66608
commit
3b3e37aa35
|
@ -149,6 +149,11 @@ hr {
|
|||
margin: 4rem 15vw;
|
||||
}
|
||||
|
||||
figure + h2,
|
||||
pre + h2 {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
figure {
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
|
@ -329,7 +334,6 @@ a[href].direct-link:focus,
|
|||
/*
|
||||
* New diff- syntax
|
||||
*/
|
||||
|
||||
pre[class*="language-diff-"] {
|
||||
--eleventy-code-padding: 1.25em;
|
||||
padding-left: var(--eleventy-code-padding);
|
||||
|
|
Loading…
Reference in New Issue