more menu options

This commit is contained in:
L3D 2022-01-21 03:36:50 +01:00
parent 43dddae55f
commit 82a64f3851
Signed by: L3D
GPG Key ID: CD08445BFF4313D1
2 changed files with 16 additions and 11 deletions

View File

@ -65,6 +65,7 @@ header {
li { li {
padding: 0; padding: 0;
background: $menu_box_background;
} }
} }
} }
@ -170,7 +171,7 @@ header {
} }
nav { nav {
box-shadow: $large_view 0px 0px 0px $menu_background_color, box-shadow: $large_view 0px 0px 0px $menu_background_color,
-$large_view 0px 0px 0px $menu_background_color; -$large_view 0px 0px 0px $menu_background_color;
> ul { > ul {
> li { > li {
a, .title_dropdown { a, .title_dropdown {
@ -190,18 +191,20 @@ header {
h1 a, h1 a:hover, h1 a:link { h1 a, h1 a:hover, h1 a:link {
font-size: $font_size_h1_mobile; font-size: $font_size_h1_mobile;
} }
nav { @if $show_mobile_menu == true {
ul { nav {
display: table; ul {
display: table;
}
.dropdown {
.dropdown__menu {
left: 180%;
} }
&:after { .dropdown {
content: none; .dropdown__menu {
opacity: 1; left: 180%;
}
&:after {
content: none;
opacity: 1;
}
} }
} }
} }

View File

@ -3,6 +3,7 @@ $background_accent_2: black;
$menu_background_color: rgba(255,69,0,0.3); $menu_background_color: rgba(255,69,0,0.3);
$menu_background_dropdown_color: white; $menu_background_dropdown_color: white;
$menu_accent_hover: red; $menu_accent_hover: red;
$menu_box_background: transparent;
$font_accent_1: red; $font_accent_1: red;
$font_accent_2: maroon; $font_accent_2: maroon;
@ -45,3 +46,4 @@ $pico_view: 320px;
$menu_text_transform: none; $menu_text_transform: none;
$hide_footer: false; $hide_footer: false;
$show_mobile_menu: true;