diff --git a/changelog.d/pr436.doc.rst b/changelog.d/pr436.doc.rst new file mode 100644 index 00000000..5f078361 --- /dev/null +++ b/changelog.d/pr436.doc.rst @@ -0,0 +1,3 @@ +Move search box more at the top. This makes it easier for +users as if the TOC is long, the search box isn't visible +anymore. diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css index 81a5906f..33510db3 100644 --- a/docs/_static/css/custom.css +++ b/docs/_static/css/custom.css @@ -31,6 +31,10 @@ div.related.top nav { margin-bottom: -0.75em; } +#searchbox { + margin-bottom: 1.25em; +} + .section h1 { font-weight: 700; } diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 7a114d41..1f72ac26 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -3,47 +3,8 @@ #} {% extends "!layout.html" %} -{%- block footer %} -
-{% if theme_github_banner|lower != 'false' %} - -