added home 2021 right gallery

This commit is contained in:
jorge-vitrubio 2021-10-25 15:53:54 +02:00
parent 0b3689c003
commit c5ffdd0723
18 changed files with 69 additions and 39 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 975 KiB

After

Width:  |  Height:  |  Size: 975 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -84,7 +84,8 @@ function sass() {
}) })
.on('error', $.sass.logError)) .on('error', $.sass.logError))
.pipe($.autoprefixer({ .pipe($.autoprefixer({
browsers: COMPATIBILITY //browsers: COMPATIBILITY
browserlist: COMPATIBILITY
})) }))
.pipe($.if(PRODUCTION, $.cleanCss({ compatibility: 'ie9' }))) .pipe($.if(PRODUCTION, $.cleanCss({ compatibility: 'ie9' })))

View File

@ -20,12 +20,12 @@ get_header(); ?>
<main class="main-content"> <main class="main-content">
<div class="bfr_category_archive"> <div class="bfr_category_archive">
<?php // Start the Loop ?> <?php // Start the Loop ?>
<?php // category 12 is the "artist" category in the 2021 installation,?> <?php // category 12 is the "peephole" category in the 2021 installation,?>
<?php // if starting from new install this might change, check the category number that you want to hide ?> <?php // if starting from new install this might change, check the category number that you want to hide ?>
<?php $query = new WP_Query( 'cat=-12' ); ?> <?php //$query = new WP_Query( 'cat=-12' ); ?>
<?php if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); ?> <?php //if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); ?>
<?php // coment above, uncoment below to query all posts ?> <?php // coment above, uncoment below to query all posts ?>
<?php // if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('bfr_post'); ?>> <article id="post-<?php the_ID(); ?>" <?php post_class('bfr_post'); ?>>
<div class="bfr_post_content"> <div class="bfr_post_content">
<header> <header>

View File

@ -2630,9 +2630,9 @@
} }
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30001202", "version": "1.0.30001271",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001202.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001271.tgz",
"integrity": "sha512-ZcijQNqrcF8JNLjzvEiXqX4JUYxoZa7Pvcsd9UD8Kz4TvhTonOSNRsK+qtvpVL4l6+T1Rh4LFtLfnNWg6BGWCQ==", "integrity": "sha512-BBruZFWmt3HFdVPS8kceTBIguKxu4f99n5JNp06OlPD/luoAMIaIK5ieV5YjnBLH3Nysai9sxj9rpJj4ZisXOA==",
"dev": true "dev": true
}, },
"caseless": { "caseless": {

View File

@ -53,10 +53,8 @@ $grid-column-width:$grid-row-width/$grid-column-count;
// presentation as home and category archive // presentation as home and category archive
.home,.archive{ .home,.archive{
.main-container { .main-container {
// @include xy-grid-container(100vw,0);
@include xy-grid-container(100vw,$global-padding*2); @include xy-grid-container(100vw,$global-padding*2);
overflow: hidden; overflow: hidden;
// .main-grid {
.main-content { .main-content {
@include xy-cell(12,padding,0); @include xy-cell(12,padding,0);
.bfr_category_archive { .bfr_category_archive {
@ -157,7 +155,6 @@ $grid-column-width:$grid-row-width/$grid-column-count;
max-height: ( 100vw / 5 ); max-height: ( 100vw / 5 );
} }
@include breakpoint(xlarge) { @include breakpoint(xlarge) {
// max-height: ( 30vw / 4.5 ) ;
} }
img { img {
width: 100%; width: 100%;
@ -165,20 +162,52 @@ $grid-column-width:$grid-row-width/$grid-column-count;
} }
} }
} }
// }
} }
.bfr_category_title{ .bfr_category_title{
display:none; display:none;
} }
}
// homepage 2021 // homepage 2021
.homepage-2021 { .homepage-2021 { //&.main-container
@include breakpoint(small) {
.entry-content { .entry-content {
p { display:flex;
flex-flow: row;
flex-wrap: wrap;
position: relative;
& > * {
flex-basis: 51%;
}
}
.fp-gallery {
flex-basis: 45%;
max-width: 45%; max-width: 45%;
float: left; margin-left: auto;
clear: both; position:absolute;
top:0;
right: $global-margin;
}
.fp-gallery-item {
display:flex;
align-items: center;
width: 100%;
}
}
@include breakpoint(medium) {
.fp-gallery {
max-height: 90vw;
overflow: hidden;
}
.fp-gallery-item {
width:40%;
}
}
@include breakpoint(xlarge) {
.fp-gallery {
}
.fp-gallery-item {
width:26%;
}
} }
} }
} }