code housekeeping

This commit is contained in:
りき萌 2025-08-26 12:46:50 +02:00
parent e1b6578b2a
commit d3c3ff8e4e
10 changed files with 108 additions and 100 deletions

View file

@ -57,14 +57,15 @@ main.doc {
& ul,
& ol {
/* Is there a better way to add spacing to the marker, other than adding whitespace? */
margin-top: 0;
margin-bottom: 0;
padding-top: 0.5lh;
padding-bottom: 0.5lh;
padding-left: 3.2em;
}
& ul {
/* Is there a better way to add spacing to the marker, other than adding whitespace? */
list-style: "- ";
}
@ -88,7 +89,7 @@ main.doc {
}
& section.feed {
width: 40ch;
max-width: 40ch;
flex-shrink: 0;
padding: 0.8rem;
padding-top: 3.2rem;
@ -103,6 +104,7 @@ main.doc {
& .vertical-center {
--article-padding: 3.2rem;
min-height: 0;
flex-grow: 1;
}
& footer {
@ -110,7 +112,8 @@ main.doc {
}
& section.feed {
width: var(--doc-text-width);
max-width: var(--doc-text-width);
flex-grow: 1;
margin-top: 2.4em;
padding: 1.6rem;