diff options
Diffstat (limited to 'src/style.css')
-rw-r--r-- | src/style.css | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/style.css b/src/style.css index 84a9387..4a4bde4 100644 --- a/src/style.css +++ b/src/style.css @@ -154,15 +154,15 @@ nav ul ul { width: 100%; } -nav li:hover ul { +nav li:hover ul, #lang-button:checked + label #lang-dd { display: block; } -nav li:hover { +nav li:hover, #lang-button:checked + label #lang-selected { background-color: var(--secondary-hover-color); } -nav > ul > li > ul > li { +nav > ul > li > ul li { background-color: var(--secondary-color); } @@ -182,7 +182,7 @@ nav > ul > li, nav > ul > li li:last-child { border-bottom: 1px solid white; } -nav li a, nav li div, nav li label { +nav li a, nav li div { display: flex; justify-content: center; align-items: center; @@ -734,3 +734,7 @@ main section { font-size: 0.8rem; } } + +#lang-button { + display: none; +} |