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;
margin: 1rem;
}
.menu-primary-menu-container {
height: 100%;
}
//.menu-primary-menu-container {
// height: 100%;
//}
//.menu-primary-menu-container,
//.menu-secondary-menu-container {
// display: flex;
@ -119,7 +119,7 @@
.main-navigation ul {
display: flex;
justify-content: end;
height:100%;
//height:100%;
}
.secondary-navigation ul {
display: flex;

View File

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

View File

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

File diff suppressed because one or more lines are too long