aligned top menu and footer for smaller and medium devices
This commit is contained in:
parent
9b578134a8
commit
c4bfadae9b
|
@ -24,8 +24,6 @@
|
||||||
}
|
}
|
||||||
&.eu{
|
&.eu{
|
||||||
&::before {
|
&::before {
|
||||||
max-width: 15rem;
|
|
||||||
// background-image: url('../img/eu_flag_creative_europe_co_funded_black_right.svg');
|
|
||||||
background-image: url('../img/eu_flag_creative_europe_co_funded_left.svg');
|
background-image: url('../img/eu_flag_creative_europe_co_funded_left.svg');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -163,12 +163,13 @@ main {
|
||||||
main {
|
main {
|
||||||
@include xy-grid;
|
@include xy-grid;
|
||||||
article{
|
article{
|
||||||
// text-align:center;
|
|
||||||
@include card-container();
|
@include card-container();
|
||||||
@include breakpoint(small){
|
@include breakpoint(small){
|
||||||
@include xy-cell();
|
@include xy-cell();
|
||||||
|
font-size: $global-font-size*0.7;
|
||||||
}
|
}
|
||||||
@include breakpoint(medium){
|
@include breakpoint(medium){
|
||||||
|
font-size: $global-font-size*1;
|
||||||
}
|
}
|
||||||
@include breakpoint(large){
|
@include breakpoint(large){
|
||||||
}
|
}
|
||||||
|
@ -249,11 +250,12 @@ main {
|
||||||
@include xy-grid();
|
@include xy-grid();
|
||||||
.slide {
|
.slide {
|
||||||
@include xy-grid;
|
@include xy-grid;
|
||||||
|
justify-content: center;
|
||||||
@include breakpoint(small){
|
@include breakpoint(small){
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
.textwidget {
|
|
||||||
padding: $global-padding * 3;
|
padding: $global-padding * 3;
|
||||||
|
.textwidget {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@include breakpoint(medium){
|
@include breakpoint(medium){
|
||||||
|
|
|
@ -31,10 +31,20 @@ footer {
|
||||||
}
|
}
|
||||||
&.eu {
|
&.eu {
|
||||||
&::before {
|
&::before {
|
||||||
|
@include breakpoint(small) {
|
||||||
|
// background-image: url('../img/eu_flag_creative_europe_co_funded_black_right.svg');
|
||||||
|
background-position-x: right;
|
||||||
|
max-width: 50vw;
|
||||||
|
margin-top:unset;
|
||||||
|
}
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
background-position-x: left;
|
||||||
margin-top:unset;
|
margin-top:unset;
|
||||||
max-width:100%;
|
max-width:100%;
|
||||||
max-height: 4rem;
|
max-height: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.copyright, .legal-credits {
|
.copyright, .legal-credits {
|
||||||
|
@ -76,4 +86,3 @@ footer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,14 +10,14 @@
|
||||||
min-width: 14rem;
|
min-width: 14rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
@include breakpoint(medium){
|
@include breakpoint(large){
|
||||||
@include xy-cell(shrink);
|
@include xy-cell(shrink);
|
||||||
@include flex-align(left, middle);
|
@include flex-align(left, middle);
|
||||||
text-align: unset;
|
text-align: unset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nav {
|
nav {
|
||||||
@include breakpoint(small){
|
@include breakpoint(small) {
|
||||||
@include xy-cell(12);
|
@include xy-cell(12);
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align(center, middle);
|
@include flex-align(center, middle);
|
||||||
|
@ -32,17 +32,23 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
|
.menu a {
|
||||||
|
padding: $global-padding*0.7 $global-padding*0.5;
|
||||||
}
|
}
|
||||||
@include breakpoint(medium){
|
}
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
menu {
|
||||||
|
font-size: $global-font-size*1.5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@include breakpoint(large) {
|
||||||
@include xy-cell(auto);
|
@include xy-cell(auto);
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align(right, middle);
|
@include flex-align(right, middle);
|
||||||
menu {
|
menu {
|
||||||
margin: inherit;
|
margin: inherit;
|
||||||
padding: inherit;
|
padding: inherit;
|
||||||
font-size: $global-font-size*1.5;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue