summaryrefslogtreecommitdiff
path: root/html/style
diff options
context:
space:
mode:
authorAdam Spragg <adam@spra.gg>2018-06-25 15:24:19 +0100
committerAdam Spragg <adam@spra.gg>2018-06-25 15:24:19 +0100
commit8637cf6add0b5be32dd58992e94d23ff1e80966c (patch)
treec4f93cc011b681cf9ce12d097aef665d0071556d /html/style
parent6fb76294b98d81fb707445770dd57f0fb356deb9 (diff)
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.
Diffstat (limited to 'html/style')
-rw-r--r--html/style/main.css4
1 files changed, 4 insertions, 0 deletions
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 */