diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index 4396e1b..bb1697c 100644 --- a/python_docs_theme/static/pydoctheme.css +++ b/python_docs_theme/static/pydoctheme.css @@ -266,6 +266,9 @@ dl > dt span ~ em { html { scroll-padding-top: 40px; } + body { + margin-top: 40px; + } /* Top navigation bar */ .mobile-nav { @@ -512,7 +515,6 @@ dl > dt span ~ em { width: 100%; } .document { - padding-top: 40px; position: relative; z-index: 0; }