From 8637cf6add0b5be32dd58992e94d23ff1e80966c Mon Sep 17 00:00:00 2001 From: Adam Spragg Date: Mon, 25 Jun 2018 15:24:19 +0100 Subject: Simplify hiding navigation items slightly The code is now a bit longer, but it's also a bit clearer. The resulting HTML is also clearer. --- html/style/main.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'html/style') diff --git a/html/style/main.css b/html/style/main.css index 1c6f46b..d277de1 100644 --- a/html/style/main.css +++ b/html/style/main.css @@ -30,6 +30,10 @@ a:visited { color: inherit; } +.hidden { + display: none; +} + /* * * Header * * */ body > header { padding-top: 1px; /* Don't allow child element top margins to extend out of the header element */ -- cgit v1.2.1