Update markdown-render.css for improved styling and spacing

This commit is contained in:
2026-01-31 16:50:03 +01:00
parent 2f47f47c3c
commit 0c4035baa0

View File

@@ -33,6 +33,10 @@
color: var(--md-text-color);
}
.md-root > .md-heading:first-child {
margin-top: 0;
}
.md-heading--1 {
font-size: 1.8rem;
}
@@ -49,6 +53,14 @@
font-size: 1.1rem;
}
.md-paragraph {
margin: 0 0 0.9rem;
}
.md-paragraph:last-child {
margin-bottom: 0;
}
/* Horizontal rule */
.md-hr {
border: 0;
@@ -259,4 +271,4 @@ code:not(.md-codeblock__code) {
.md-link--external:focus-visible .md-link__tooltip {
opacity: 1;
transform: translateY(0);
}
}