Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1382,3 +1382,18 @@ a.next-page-btn:hover {
.content pre::-webkit-scrollbar-thumb:hover {
background: #afb8c1 !important;
}

/* Line length. Running text is capped at about 80 characters per line.
Paragraphs and list items that hold an image, video, embed, table, code
block or other layout keep the full width of their container. */
main :is(p, li):not(:has(img, video, iframe, table, pre, div)) {
max-width: 40em !important;
}

/* Keep centered paragraphs centered once they are narrower than their
container. */
main .text-center p,
main p.text-center {
margin-left: auto;
margin-right: auto;
}
Loading