From 7b4c98d8be8c0fb19a2432c842f7b029f90d2d19 Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Mon, 18 Sep 2017 17:42:18 +0200 Subject: [PATCH] Make hamburger menu work on small screens with JS disabled Thanks to Paul for helping with that in #39 --- site/static/css/custom.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/site/static/css/custom.css b/site/static/css/custom.css index 33e4292..dd1826e 100644 --- a/site/static/css/custom.css +++ b/site/static/css/custom.css @@ -13,6 +13,14 @@ blockquote p { white-space: normal; /* wrap button words */ } +/* NAVBAR */ +/* make hamburger menu work without JS */ +.navbar-header:hover + .navbar-collapse, +.navbar-collapse:hover { + display: block; + visibility: initial; +} + /* SUBPAGES */ .subpage { background-image: url(../img/header_subpage.jpg);