Skip to content

Commit

Permalink
Theme the table of contents.
Browse files Browse the repository at this point in the history
  • Loading branch information
kousu committed Oct 26, 2021
1 parent 382283d commit c39bb0e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions _static/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,20 @@
background: #f3f5f6;
}


/* make the sidebar more readable */
/* TODO: the browser says the size is set by:
.bd-sidebar .nav { font-size: var(--pst-sidebar-font-size) }
so perhaps there's a more officially supported parameter
that can be set in conf.py to control this.
*/
.bd-sidebar nav {
font-size: 1.3em;
}

/* clear sphinx-book-theme's default whitespace in the siderbar */
div.navbar-brand-box {
padding-top: 0;
}

0 comments on commit c39bb0e

Please sign in to comment.