Skip to content

Commit

Permalink
fix(typography): fix font size and style of TOC
Browse files Browse the repository at this point in the history
fix #509
  • Loading branch information
talha131 committed Feb 2, 2020
1 parent a289e9d commit 2d597ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions static/css/elegant.css
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,14 @@ ul.multi-parts-list a:hover {
ul.multi-parts-list li.active-part {
font-style: italic;
}
.table-of-content .toc {
font-size: 0.7em;
.table-of-content .toc ul {
margin: 0;
padding: 0 0 0 0.2rem;
list-style-type: none;
list-style: symbols inside none;
}
.table-of-content .toc > ul > li > ul {
padding-left: 1rem;
}
.last-updated a {
color: #333;
Expand Down
1 change: 1 addition & 0 deletions static/css/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ ul.list-articles-under-tag-category li {
font-family: var(--sansFontFamily);
font-size: rfs(0.963rem);
}
.table-of-content .toc,
.proj-desc,
footer,
div.blog-archives time,
Expand Down

0 comments on commit 2d597ab

Please sign in to comment.