Skip to content

Commit

Permalink
Adjust nested dt headings
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenek-syntensor committed Sep 22, 2022
1 parent 0044566 commit 50ae7fe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scss/torchdyn/_torchdyn.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ article.pytorch-article .class dt {
padding-left: 5em;
}

/* for nested dt with no class (e.g. "Parameters" heading) */
article.pytorch-article .class dl dt {
padding-left: 1rem;
padding-right: 1rem;
}

article.pytorch-article .class dt em.property {
position: absolute;
left: 0.2rem;
Expand Down
6 changes: 6 additions & 0 deletions torchdyn_sphinx_theme/static/css/theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 50ae7fe

Please sign in to comment.