From 36317699795d13c8e5a6909920b13431ba0408ff Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 17 Aug 2021 12:14:59 +0200 Subject: [PATCH] _scss: cleanup navigation styles This fixes various inconsistencies between the landing page and the other pages by sharing more styles between both: - fix homepage using a different color for the active tab - fix homepage not having "hover" styles for the top navigation I addition, this: - fixes unwanted whitespace in the hamburger-menu on mobile - fixes "active" menu item not being highlighted on mobile - fixes left-side aligning of left-hand menu on desktop Signed-off-by: Sebastiaan van Stijn --- _includes/navigation.html | 4 +-- _layouts/docs.html | 2 +- _scss/_landing.scss | 18 ---------- _scss/_mobile.scss | 6 ++-- _scss/_navigation.scss | 71 ++++++++++++++++++++------------------- _scss/_night-mode.scss | 4 +-- _scss/_utilities.scss | 2 +- 7 files changed, 45 insertions(+), 62 deletions(-) diff --git a/_includes/navigation.html b/_includes/navigation.html index 56fb21f1f4..07f8d36318 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -20,8 +20,8 @@