{{ page.content }}
diff --git a/docs/requirements.txt b/docs/requirements.txt
index ee35ab7..a0db418 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -3,5 +3,5 @@
# depends on, and Sumi, its documentation theme. Sumi brings its own blog,
# search palette and fonts, so nothing else is needed.
mkdocs-ng==1.11.0
-mkdocs-sumi==0.3.1
+mkdocs-sumi==0.4.1
pymdown-extensions==12.3
diff --git a/docs/stylesheets/landing.css b/docs/stylesheets/landing.css
index 4818d90..ee0a3bf 100644
--- a/docs/stylesheets/landing.css
+++ b/docs/stylesheets/landing.css
@@ -69,12 +69,16 @@
overflow-x: clip;
}
-/* The navigation drawer (see landing.html). Sumi turns `.sumi-sidebar` into
- the slide-in drawer at 920px and below; above that the landing has no
- sidebar, so it is not shown at all. */
-@media screen and (min-width: 921px) {
- .cc-landing-drawer {
- display: none;
+/* Sumi narrows the header and footer of a page with no sidebar to 1200px;
+ here they line up with the 1220px column instead, as on the docs pages. */
+@media (min-width: 921px) {
+ html[data-chrome="narrow"] :is(.sumi-header-inner, .sumi-footer-inner, .sumi-footer-links) {
+ max-width: var(--cc-page-w);
+ padding-inline: 20px;
+ }
+
+ html[data-chrome="narrow"] .sumi-footer-links::after {
+ inset-inline: 20px;
}
}