fix: markdown style h1 margin

This commit is contained in:
kangfenmao 2024-07-12 12:47:56 +08:00
parent 9ae3c752dd
commit b23f21e669

View File

@ -9,13 +9,22 @@
margin-top: 0;
}
h1:first-of-type,
h2:first-of-type,
h3:first-of-type,
h4:first-of-type,
h5:first-of-type,
h6:first-of-type {
margin-top: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0 0 1em 0;
margin: 1em 0 1em 0;
font-weight: 800;
}