Compare commits
No commits in common. "a8921bd89554615761412b48dbf6cd4e04871f8c" and "b5afc2418345da69326b372225b2dd56af1a92eb" have entirely different histories.
a8921bd895
...
b5afc24183
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,3 @@
|
||||||
// new edition
|
|
||||||
// Page header
|
// Page header
|
||||||
.page-template-partner {
|
.page-template-partner {
|
||||||
@include breakpoint(small) {
|
@include breakpoint(small) {
|
||||||
|
@ -52,7 +51,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// presentation as home and category archive
|
// presentation as home and category archive
|
||||||
.home,.archive{
|
.home,.archive,.page-template-homepage2021{
|
||||||
.main-container {
|
.main-container {
|
||||||
@include xy-grid-container(100vw,$global-padding*2);
|
@include xy-grid-container(100vw,$global-padding*2);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -178,22 +177,24 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// homepage 2021
|
// homepage 2021
|
||||||
.page-template-homepage2021{
|
|
||||||
.homepage-2021 { //&.main-container
|
.homepage-2021 { //&.main-container
|
||||||
@include xy-grid-container($global-wider-width);
|
.entry-content {
|
||||||
.entry-content { //.main-content
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
& > * {
|
& > * {
|
||||||
float:left;
|
float:left;
|
||||||
clear:both;
|
clear:both;
|
||||||
|
margin-left: $global-margin;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.fp-gallery {
|
.fp-gallery {
|
||||||
overflow: hidden;
|
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:0;
|
top:0;
|
||||||
right: 0;
|
right: 0;
|
||||||
justify-content: right;
|
// .fp-gallery-item {
|
||||||
|
// }
|
||||||
|
// .fp-gallery-icon {
|
||||||
|
// }
|
||||||
img {
|
img {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
object-position: center;
|
object-position: center;
|
||||||
|
@ -201,20 +202,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@include breakpoint(small) {
|
@include breakpoint(small) {
|
||||||
$homepage2021-gallery-square-side: $global-margin*10;
|
$homepage2021-gallery-square-side: $global-margin*8;
|
||||||
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
|
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
|
||||||
.entry-content {
|
.entry-content {
|
||||||
|
height: $homepage2021-gallery-square-size*14;
|
||||||
& > * {
|
& > * {
|
||||||
max-width: 58%;
|
max-width: 55%;
|
||||||
margin-left: 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.fp-gallery {
|
.fp-gallery {
|
||||||
height: $homepage2021-gallery-square-size*8;
|
|
||||||
max-width: 40%;
|
max-width: 40%;
|
||||||
.fp-gallery-item {
|
.fp-gallery-item {
|
||||||
// width: $homepage2021-gallery-square-side;
|
width: $homepage2021-gallery-square-side;
|
||||||
width:95%;
|
|
||||||
}
|
}
|
||||||
// .fp-gallery-icon {
|
// .fp-gallery-icon {
|
||||||
// }
|
// }
|
||||||
|
@ -223,18 +222,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@include breakpoint(medium) {// > 640px
|
@include breakpoint(medium) {
|
||||||
$homepage2021-gallery-square-side: $global-margin*12;
|
$homepage2021-gallery-square-side: $global-margin*7;
|
||||||
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
|
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
|
||||||
.entry-content {
|
.entry-content {
|
||||||
|
height: $homepage2021-gallery-square-size*12;
|
||||||
& > * {
|
& > * {
|
||||||
max-width: 40%;
|
max-width: 48%;
|
||||||
margin-left: $global-margin;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.fp-gallery {
|
.fp-gallery {
|
||||||
height: $homepage2021-gallery-square-size*5;
|
max-width: 45%;
|
||||||
max-width: 60%;
|
|
||||||
.fp-gallery-item {
|
.fp-gallery-item {
|
||||||
width: $homepage2021-gallery-square-side;
|
width: $homepage2021-gallery-square-side;
|
||||||
}
|
}
|
||||||
|
@ -245,38 +243,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@include breakpoint(large) { // > 1024px
|
@include breakpoint(xlarge) {
|
||||||
$homepage2021-gallery-square-side: $global-margin*14;
|
$homepage2021-gallery-square-side: $global-margin*9;
|
||||||
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
|
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
|
||||||
.entry-content {
|
.entry-content {
|
||||||
|
height: $homepage2021-gallery-square-size*6;
|
||||||
& > * {
|
& > * {
|
||||||
max-width: 30%;
|
max-width: 48%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.fp-gallery {
|
.fp-gallery {
|
||||||
height: $homepage2021-gallery-square-size*4;
|
max-width: 45%;
|
||||||
max-width: 70%;
|
|
||||||
.fp-gallery-item {
|
|
||||||
width: $homepage2021-gallery-square-side;
|
|
||||||
}
|
|
||||||
// .fp-gallery-icon {
|
|
||||||
// }
|
|
||||||
img {
|
|
||||||
height: $homepage2021-gallery-square-side;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@include breakpoint(xlarge) { // > 1200px
|
|
||||||
$homepage2021-gallery-square-side: $global-margin*16;
|
|
||||||
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
|
|
||||||
.entry-content {
|
|
||||||
& > * {
|
|
||||||
max-width: 30%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.fp-gallery {
|
|
||||||
height: $homepage2021-gallery-square-size*4;
|
|
||||||
max-width: 72%;
|
|
||||||
.fp-gallery-item {
|
.fp-gallery-item {
|
||||||
width: $homepage2021-gallery-square-side;
|
width: $homepage2021-gallery-square-side;
|
||||||
}
|
}
|
||||||
|
@ -288,4 +265,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue