Compare commits
3 Commits
b5afc24183
...
a8921bd895
Author | SHA1 | Date |
---|---|---|
jorge | a8921bd895 | |
jorge | c9490367c7 | |
jorge | d9b42246ec |
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,6 @@
|
|||
// Page header
|
||||
.page-template-partner {
|
||||
// new edition
|
||||
// Page header
|
||||
.page-template-partner {
|
||||
@include breakpoint(small) {
|
||||
.featured-hero {
|
||||
@include xy-cell(12);
|
||||
|
@ -21,17 +22,17 @@
|
|||
@include xy-cell(9);
|
||||
}
|
||||
}
|
||||
}
|
||||
$grid-column-width:$grid-row-width/$grid-column-count;
|
||||
//_post formats
|
||||
// post format video
|
||||
.single-format-video iframe {
|
||||
}
|
||||
$grid-column-width:$grid-row-width/$grid-column-count;
|
||||
//_post formats
|
||||
// post format video
|
||||
.single-format-video iframe {
|
||||
width: 60vw;
|
||||
height: 33.75vw;
|
||||
}
|
||||
}
|
||||
|
||||
// aside sigle post format
|
||||
.format-aside{
|
||||
// aside sigle post format
|
||||
.format-aside{
|
||||
@include breakpoint(small) {
|
||||
// .entry-content {
|
||||
// }
|
||||
|
@ -48,10 +49,10 @@ $grid-column-width:$grid-row-width/$grid-column-count;
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// presentation as home and category archive
|
||||
.home,.archive,.page-template-homepage2021{
|
||||
// presentation as home and category archive
|
||||
.home,.archive{
|
||||
.main-container {
|
||||
@include xy-grid-container(100vw,$global-padding*2);
|
||||
overflow: hidden;
|
||||
|
@ -175,26 +176,24 @@ $grid-column-width:$grid-row-width/$grid-column-count;
|
|||
.bfr_category_title{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
// homepage 2021
|
||||
.homepage-2021 { //&.main-container
|
||||
.entry-content {
|
||||
overflow: hidden;
|
||||
}
|
||||
// homepage 2021
|
||||
.page-template-homepage2021{
|
||||
.homepage-2021 { //&.main-container
|
||||
@include xy-grid-container($global-wider-width);
|
||||
.entry-content { //.main-content
|
||||
position: relative;
|
||||
& > * {
|
||||
float:left;
|
||||
clear:both;
|
||||
margin-left: $global-margin;
|
||||
}
|
||||
}
|
||||
.fp-gallery {
|
||||
position:absolute;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
top:0;
|
||||
right: 0;
|
||||
// .fp-gallery-item {
|
||||
// }
|
||||
// .fp-gallery-icon {
|
||||
// }
|
||||
justify-content: right;
|
||||
img {
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
|
@ -202,18 +201,20 @@ $grid-column-width:$grid-row-width/$grid-column-count;
|
|||
}
|
||||
}
|
||||
@include breakpoint(small) {
|
||||
$homepage2021-gallery-square-side: $global-margin*8;
|
||||
$homepage2021-gallery-square-side: $global-margin*10;
|
||||
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
|
||||
.entry-content {
|
||||
height: $homepage2021-gallery-square-size*14;
|
||||
& > * {
|
||||
max-width: 55%;
|
||||
max-width: 58%;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
.fp-gallery {
|
||||
height: $homepage2021-gallery-square-size*8;
|
||||
max-width: 40%;
|
||||
.fp-gallery-item {
|
||||
width: $homepage2021-gallery-square-side;
|
||||
// width: $homepage2021-gallery-square-side;
|
||||
width:95%;
|
||||
}
|
||||
// .fp-gallery-icon {
|
||||
// }
|
||||
|
@ -222,17 +223,18 @@ $grid-column-width:$grid-row-width/$grid-column-count;
|
|||
}
|
||||
}
|
||||
}
|
||||
@include breakpoint(medium) {
|
||||
$homepage2021-gallery-square-side: $global-margin*7;
|
||||
@include breakpoint(medium) {// > 640px
|
||||
$homepage2021-gallery-square-side: $global-margin*12;
|
||||
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
|
||||
.entry-content {
|
||||
height: $homepage2021-gallery-square-size*12;
|
||||
& > * {
|
||||
max-width: 48%;
|
||||
max-width: 40%;
|
||||
margin-left: $global-margin;
|
||||
}
|
||||
}
|
||||
.fp-gallery {
|
||||
max-width: 45%;
|
||||
height: $homepage2021-gallery-square-size*5;
|
||||
max-width: 60%;
|
||||
.fp-gallery-item {
|
||||
width: $homepage2021-gallery-square-side;
|
||||
}
|
||||
|
@ -243,17 +245,38 @@ $grid-column-width:$grid-row-width/$grid-column-count;
|
|||
}
|
||||
}
|
||||
}
|
||||
@include breakpoint(xlarge) {
|
||||
$homepage2021-gallery-square-side: $global-margin*9;
|
||||
@include breakpoint(large) { // > 1024px
|
||||
$homepage2021-gallery-square-side: $global-margin*14;
|
||||
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
|
||||
.entry-content {
|
||||
height: $homepage2021-gallery-square-size*6;
|
||||
& > * {
|
||||
max-width: 48%;
|
||||
max-width: 30%;
|
||||
}
|
||||
}
|
||||
.fp-gallery {
|
||||
max-width: 45%;
|
||||
height: $homepage2021-gallery-square-size*4;
|
||||
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 {
|
||||
width: $homepage2021-gallery-square-side;
|
||||
}
|
||||
|
@ -265,3 +288,4 @@ $grid-column-width:$grid-row-width/$grid-column-count;
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue