From 1a743fd68617f93d8f4e7cfe24650798da7f9fe1 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 3 Dec 2018 11:13:50 +0100 Subject: [PATCH] Reduce size of logo and remove background on hover Signed-off-by: Morris Jobke --- _shared_assets/static/custom.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_shared_assets/static/custom.css b/_shared_assets/static/custom.css index 2e1f020e5..c06d06639 100644 --- a/_shared_assets/static/custom.css +++ b/_shared_assets/static/custom.css @@ -7,6 +7,16 @@ background-color: #0082c9; } +/* Reduce size of logo in top left */ +.wy-side-nav-search > a img.logo { + max-width: 180px; +} + +/* Remove unwanted background on top left logo on hover */ +.wy-side-nav-search > a:hover { + background: none; +} + /* Remove unwanted data on the bottom left sidebar */ .rst-versions.shift-up .rst-other-versions > dl:not(:nth-child(1)), .rst-versions.shift-up .rst-other-versions > a,