fix: add margin after pre and figures

feat/integration_ideo
Nicolas Doby 2022-10-18 18:25:02 +02:00
parent 38a5b66608
commit 3b3e37aa35
1 changed files with 5 additions and 1 deletions

View File

@ -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);