diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index b1a8633d9731..4e24cf579bfa 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -232,9 +232,6 @@ div.sphinxsidebar { text-align: left; /* margin-left: -100%; */ } -div.sphinxsidebarwrapper { - padding-top: 28px -} div.sphinxsidebar h4, div.sphinxsidebar h3 { margin: 1em 0 0.5em 0; @@ -245,6 +242,11 @@ div.sphinxsidebar h4, div.sphinxsidebar h3 { background-color: #AFC1C4; } +div.sphinxsidebar h3 a { + /* workaround for table of contents heading, which is a link */ + color: white !important; +} + div.sphinxsidebar ul { padding-left: 1.5em; margin-top: 7px; @@ -258,6 +260,36 @@ div.sphinxsidebar ul ul { margin-left: 20px; } +div.sphinxsidebar #searchbox input { + border: 1px solid #aaa; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox form { + display: inline-block; + width: 100% +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; +} + +div.sphinxsidebar #searchbox input[type="submit"]:hover { + background: #ddd; +} + +div.sphinxsidebar .searchformwrapper { + display: block; +} + p { margin: 0.8em 0 0.8em 0; } @@ -813,6 +845,10 @@ figcaption { } } +#sidebar-donations { + margin-top: 28px; +} + .donate_button { background:#11557C; font-weight:normal; diff --git a/doc/_templates/donate_sidebar.html b/doc/_templates/donate_sidebar.html index 8fa765115d7b..1f0f1012f155 100644 --- a/doc/_templates/donate_sidebar.html +++ b/doc/_templates/donate_sidebar.html @@ -1,5 +1,5 @@ -