From 75e1e55da21e240d9e8c4e23eab0a7ae8ff76669 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Tue, 23 Feb 2021 00:03:54 +1100 Subject: [PATCH] Correct display of cover image on narrow screens --- _static/custom_html.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_static/custom_html.css b/_static/custom_html.css index 5166763..380d3ef 100644 --- a/_static/custom_html.css +++ b/_static/custom_html.css @@ -72,10 +72,14 @@ div.sphinxsidebarwrapper div.logo a:not(:hover) { div.sphinxsidebarwrapper div.logo > a { border: none; - width: 40%; + max-width: 40%; margin-right: 0.5em; } +div.sphinxsidebarwrapper div.logo img.logo { + max-height: 10em; +} + /* Footer */ div.pre-footer {