From 8785fbc3ec71fd792d1befa3c8395900e4a5bfd6 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 3 Dec 2018 11:13:23 +0100 Subject: [PATCH 1/2] Fix whitespace in CSS Signed-off-by: Morris Jobke --- _shared_assets/static/custom.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_shared_assets/static/custom.css b/_shared_assets/static/custom.css index 033899dd7..2e1f020e5 100644 --- a/_shared_assets/static/custom.css +++ b/_shared_assets/static/custom.css @@ -2,16 +2,16 @@ * FIX THE DESIGN OF THE RTD THEME */ - /* NC blue */ - .wy-side-nav-search { - background-color: #0082c9; - } +/* NC blue */ +.wy-side-nav-search { + background-color: #0082c9; +} /* 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, .rst-versions.shift-up .rst-other-versions > hr { - display:none + display:none } .rst-versions.shift-up .rst-other-versions { color: transparent; From 1a743fd68617f93d8f4e7cfe24650798da7f9fe1 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 3 Dec 2018 11:13:50 +0100 Subject: [PATCH 2/2] 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,