add one post

This commit is contained in:
Yan Lin 2026-01-30 17:04:12 +01:00
parent 485e2efa1a
commit 10d7afaaf4
11 changed files with 44 additions and 2 deletions

View file

@ -74,7 +74,12 @@ main {
min-height: 60vh;
}
h1, h2, h3 {
img {
max-width: 100%;
height: auto;
}
h1, h2, h3, h4 {
margin: 1.5rem 0 0.75rem;
line-height: 1.3;
}
@ -83,6 +88,26 @@ h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }
h2::after {
content: " ##";
color: var(--muted);
font-weight: normal;
}
h3::after {
content: " ###";
color: var(--muted);
font-weight: normal;
}
h4 { font-size: 1rem; }
h4::after {
content: " ####";
color: var(--muted);
font-weight: normal;
}
p, ul, ol {
margin-bottom: 1rem;
}