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