styled main menu

This commit is contained in:
jorge 2022-11-30 18:23:52 +01:00
parent 0408e473c1
commit 1644f30e44
4 changed files with 13 additions and 17 deletions

View File

@ -104,9 +104,9 @@
width: 11rem; width: 11rem;
margin: 1rem; margin: 1rem;
} }
.menu-primary-menu-container { //.menu-primary-menu-container {
height: 100%; // height: 100%;
} //}
//.menu-primary-menu-container, //.menu-primary-menu-container,
//.menu-secondary-menu-container { //.menu-secondary-menu-container {
// display: flex; // display: flex;
@ -119,7 +119,7 @@
.main-navigation ul { .main-navigation ul {
display: flex; display: flex;
justify-content: end; justify-content: end;
height:100%; //height:100%;
} }
.secondary-navigation ul { .secondary-navigation ul {
display: flex; display: flex;

View File

@ -8,16 +8,15 @@
"footer"; "footer";
margin: auto; margin: auto;
padding: 0 3rem; padding: 0 3rem;
// max-width: 1300px;
max-width: 80em; max-width: 80em;
} }
.site-header { .site-header {
.main { .main {
// display:flex; //display: grid;
// align-items: center; //grid-template-columns: 1fr 4fr;i
// justify-content: space-between; display: flex;
display: grid; align-items: center;
grid-template-columns: 1fr 4fr; justify-content: space-between;
border-bottom: 1px solid $color__grey-lighter; border-bottom: 1px solid $color__grey-lighter;
} }
.secondary { .secondary {

View File

@ -723,8 +723,9 @@ textarea {
} }
.no-sidebar .site-header .main { .no-sidebar .site-header .main {
display: grid; display: flex;
grid-template-columns: 1fr 4fr; align-items: center;
justify-content: space-between;
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
} }
@ -826,16 +827,12 @@ textarea {
width: 11rem; width: 11rem;
margin: 1rem; margin: 1rem;
} }
.menu-primary-menu-container {
height: 100%;
}
.menu-toggle { .menu-toggle {
display: none; display: none;
} }
.main-navigation ul { .main-navigation ul {
display: flex; display: flex;
justify-content: end; justify-content: end;
height: 100%;
} }
.secondary-navigation ul { .secondary-navigation ul {
display: flex; display: flex;

File diff suppressed because one or more lines are too long