Prevent nav elements from obscuring each other

Fixes #19.
This commit is contained in:
Florine W. Dekker 2021-04-30 13:29:25 +02:00
parent cbcb30aba0
commit 70bbc76aa2
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@fwdekker/template",
"version": "2.3.0",
"version": "2.3.1",
"description": "The base template for pages on fwdekker.com.",
"author": "Felix W. Dekker",
"license": "MIT",

View File

@ -1,5 +1,7 @@
/* Base elements */
nav {
z-index: 10;
margin: 0;
width: 100%;
@ -11,7 +13,6 @@ nav {
}
nav * {
z-index: 10;
vertical-align: middle;
}
@ -82,6 +83,8 @@ nav li.currentPage {
/* Second level nesting */
nav ul li ul {
z-index: 11;
display: none;
position: absolute;
left: 0;