Skip to content

Commit

Permalink
adjust font size in documentation, pin sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
ddbourgin committed Jan 8, 2022
1 parent de67d5a commit 6ce5967
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions docs/_static/css/custom.css
@@ -1,18 +1,32 @@
body {
font-size: 16px !important;
font-size: 15px !important;
}

table.field-list,
table.footnote {
/* gray background for parameters */
table.field-list {
background-color: #f9f9f9 !important;
}

/* style the footnote display */
table.footnote td {
padding: 0.3em 0.5em !important;
line-height: 1.4em !important;
}

table li {
padding-bottom: 0.5em;
}

table.field-list th,
table.field-list td {
padding: 0.8em !important;
padding: 0.5em !important;
border: 1px solid #888 !important;
}

p.rubric {
margin-top: 0px !important;
}

/* recolor the code snippets in sidebar */
@media screen and (max-width: 875px) {
div.sphinxsidebar h3,
Expand All @@ -24,6 +38,12 @@ table.field-list td {
}
}


/* sidebar pinned to the top of the page */
div.sphinxsidebar {
position: absolute;
}

/* don't show table delimiters */
table.docutils {
border: none !important;
Expand All @@ -36,7 +56,3 @@ table.docutils td, table.docutils th {
border: none;
padding: 0.0em 0.0em;
}

table.footnote td {
padding: 0.3em 0.5em;
}

0 comments on commit 6ce5967

Please sign in to comment.