header reduced space around, centered logo, spaced menu buttons

This commit is contained in:
jorge 2022-04-24 14:21:10 +02:00
parent 95e9a287d1
commit d399ad6cd8
7 changed files with 37 additions and 43 deletions

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
&::before {
content: '';
display:inline-block;
margin-top:-$global-padding;
// margin-top:-$global-padding;
width: 100%;
height: $global-padding*5;
background-size: contain;

View File

@ -53,15 +53,22 @@ main {
@include breakpoint(medium){
@include xy-cell(12);
padding: $global-padding*2 $global-padding*3;
max-width: 50rem;
max-width: 60rem;
margin:0 auto;
p {
// font-size: $global-font-size*1.0;
line-height: $paragraph-lineheight*1.1;
}
@include breakpoint(xlarge){
@include xy-cell(12);
max-width: 50rem;
padding: $global-padding*2 $global-padding*3;
}
@include breakpoint(xxlarge){
// @include xy-cell(12);
// padding: $global-padding*2 $global-padding*3;
// margin: 0 auto;
max-width: 70rem;
p {
font-size: $global-font-size*1.2;
margin: 0 auto;
line-height: $paragraph-lineheight*1.15;
}
}
}
}
@ -408,16 +415,6 @@ main {
}
}
&.hero-announcement {
// aside {
// background-color: $white;
// .slides {
// .slide {
// &:nth-child(odd) {
// background-color: $white;
// }
// }
// }
// }
}
//hero secondary
&.secondary {

View File

@ -6,7 +6,7 @@
@include breakpoint(small){
@include xy-cell(12);
@include flex-align(center, middle);
padding: $global-padding*2 $global-padding;
padding: $global-padding $global-padding;
min-width: 14rem;
text-align: center;
}
@ -41,6 +41,7 @@
font-size: $global-font-size*0.9;//$header-menu-font-size;
}
.button {
margin-left: $global-margin;
background-color:$input-background;
}
.is-dropdown-submenu {
@ -72,4 +73,3 @@
}
}
}

View File

@ -5,7 +5,7 @@
&::before {
content: '';
display:inline-block;
margin-top:-$global-padding;
// margin-top:-$global-padding;
width: 100%;
height: $global-padding*5;
background-size: contain;

View File

@ -53,15 +53,22 @@ main {
@include breakpoint(medium){
@include xy-cell(12);
padding: $global-padding*2 $global-padding*3;
max-width: 50rem;
max-width: 60rem;
margin:0 auto;
p {
// font-size: $global-font-size*1.0;
line-height: $paragraph-lineheight*1.1;
}
@include breakpoint(xlarge){
@include xy-cell(12);
max-width: 50rem;
padding: $global-padding*2 $global-padding*3;
}
@include breakpoint(xxlarge){
// @include xy-cell(12);
// padding: $global-padding*2 $global-padding*3;
// margin: 0 auto;
max-width: 70rem;
p {
font-size: $global-font-size*1.2;
margin: 0 auto;
line-height: $paragraph-lineheight*1.15;
}
}
}
}
@ -408,16 +415,6 @@ main {
}
}
&.hero-announcement {
// aside {
// background-color: $white;
// .slides {
// .slide {
// &:nth-child(odd) {
// background-color: $white;
// }
// }
// }
// }
}
//hero secondary
&.secondary {

View File

@ -6,7 +6,7 @@
@include breakpoint(small){
@include xy-cell(12);
@include flex-align(center, middle);
padding: $global-padding*2 $global-padding;
padding: $global-padding $global-padding;
min-width: 14rem;
text-align: center;
}
@ -41,6 +41,7 @@
font-size: $global-font-size*0.9;//$header-menu-font-size;
}
.button {
margin-left: $global-margin;
background-color:$input-background;
}
.is-dropdown-submenu {
@ -72,4 +73,3 @@
}
}
}