diff options
author | Adam Spragg <adam@spra.gg> | 2018-06-25 15:24:19 +0100 |
---|---|---|
committer | Adam Spragg <adam@spra.gg> | 2018-06-25 15:24:19 +0100 |
commit | 8637cf6add0b5be32dd58992e94d23ff1e80966c (patch) | |
tree | c4f93cc011b681cf9ce12d097aef665d0071556d /html/style | |
parent | 6fb76294b98d81fb707445770dd57f0fb356deb9 (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.css | 4 |
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 */ |