From 9913e1dd8dd3ba42046e3aa0a88da5d695463fd8 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 6 Feb 2023 12:29:14 +0200 Subject: [PATCH] Reduce footer only for desktop --- python_docs_theme/static/pydoctheme.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index 4396e1b..4e4d2e7 100644 --- a/python_docs_theme/static/pydoctheme.css +++ b/python_docs_theme/static/pydoctheme.css @@ -200,7 +200,6 @@ table.footnote, table.footnote td { div.footer { line-height: 150%; - margin-top: -2em; text-align: right; width: auto; margin-right: 10px; @@ -522,3 +521,9 @@ dl > dt span ~ em { overflow-x: auto; } } + +@media (min-width: 1024px) { + div.footer { + margin-top: -2em; + } +}