Skip to content

Commit

Permalink
CSS tweaks
Browse files Browse the repository at this point in the history
Reintroduce abstract formatting

Level 3 TOC
  • Loading branch information
osfameron committed Mar 22, 2024
1 parent ab37719 commit ffcc051
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ ul ul ul {

.doc .abstract blockquote {
margin: 0;
padding-left: 0.5em;
border-left: solid 1px var(--color-brand-accent);
}

.doc .quoteblock + .paragraph {
Expand Down
10 changes: 10 additions & 0 deletions src/css/toc.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,13 @@
.toc ul li[data-level="2"] a {
padding-top: 2px;
}

/* level 3 (experimental, for Richard) === */
.toc .toc-menu li[data-level="3"] {
list-style-type: '=';
margin: 0;
margin-left: 1em;
font-size: 0.75em;
padding: 0;
padding-left: 0.5em;
}

0 comments on commit ffcc051

Please sign in to comment.