diff --git a/Utilities/Sphinx/static/cmake.css b/Utilities/Sphinx/static/cmake.css index 909b58a5f2..b4dcb32618 100644 --- a/Utilities/Sphinx/static/cmake.css +++ b/Utilities/Sphinx/static/cmake.css @@ -1,6 +1,28 @@ /* Import the Sphinx theme style. */ @import url("default.css"); +/* Navbar logo */ +li.rootlink > img { + vertical-align: middle; + margin-top: -5px; +} + +/* Push the footer to the bottom of the page. */ +body { + display: flex; + flex-direction: column; + min-height: 100svh; +} + +div.document { + flex-grow: 1; +} + +div.bodywrapper, +div.body { + height: 100%; +} + /* Wrap sidebar content even within words so that long document names do not escape sidebar borders. */ div.sphinxsidebarwrapper { @@ -17,6 +39,12 @@ div.sphinxsidebarwrapper { background-color: #dfdfdf; } +/* Un-justify some elements. */ +div.body table.docutils p, +div.body nav.contents p { + text-align: left; +} + /* Apply
style (from classic.css) to signature directive argument. */
.signature .sig {
padding: 5px;
@@ -73,7 +101,6 @@ div.outdated {
padding-right: 2px;
padding-top: 5px;
text-align: center;
- width: 100%;
}
/* Revert style to the inherited (normal text) for `:guide:` links */
diff --git a/Utilities/Sphinx/templates/layout.html b/Utilities/Sphinx/templates/layout.html
index 8fb7c42732..e783a2d32d 100644
--- a/Utilities/Sphinx/templates/layout.html
+++ b/Utilities/Sphinx/templates/layout.html
@@ -1,19 +1,16 @@
{% extends "!layout.html" %}
{% block rootrellink %}
-
+