Fixes for page formatting, some things were still a bit wonky. Looking better now for blogposts, tech guides, and poetry with audio sections.

This commit is contained in:
2025-11-21 10:00:38 -07:00
parent 27da4cbadd
commit e5854a5778

View File

@@ -1,20 +1,20 @@
/* Prevent excess gaps underneath headers. Looks horrible! */ /* Prevent excess gaps underneath headers. Looks horrible! */
h1,h2,p,div,blockquote { h1,h2,p,div,blockquote {
margin-top: 8px; margin-top: 16px;
margin-bottom: 16px;
}
h3,h4 {
margin-top: 6px;
margin-bottom: 12px;
}
h5,h6 {
margin-top: 4px;
margin-bottom: 8px; margin-bottom: 8px;
} }
pre,strong { h3,h4 {
margin-top: 2px; margin-top: 12px;
margin-bottom: 6px;
}
h5,h6,ul,ol {
margin-top: 8px;
margin-bottom: 4px; margin-bottom: 4px;
} }
pre,strong {
margin-top: 4px;
margin-bottom: 2px;
}
pre { pre {
padding: 2px; padding: 2px;
@@ -22,6 +22,13 @@ pre {
} }
audio { audio {
padding-top: 5px; margin: 5px;
padding-bottom: 20px; }
.post-content {
margin-top: 10px;
}
.highlight {
margin: 10px auto;
} }