◐ Shell
clean mode source ↗

Reduce footer margin only for desktop by hugovk · Pull Request #106 · python/python-docs-theme

Fixes #100.

The margin above the footer is currently reduced by 2em.

Desktop

This makes sense for desktop widths (1024+ pixels). With the reduction:

Screenshot image

If it was removed for desktop there's a bigger gap between the "Quick search" box and the copyright line:

Screenshot image

Mobile

But on mobile (< 1024 pixels), it hides the copyright line:

Screenshot image

So let's remove this margin only for desktops:

Screenshot image

Demo build

https://hugovk-python-docs-theme.readthedocs.io/en/fix-footer-demo/