Compare commits

...

2 Commits

Author SHA1 Message Date
jorge 8d4ca91ebe gallery in home page for media queries 2021-10-26 13:28:24 +02:00
jorge c5ffdd0723 added home 2021 right gallery 2021-10-25 15:53:54 +02:00
20 changed files with 126 additions and 55 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))
.pipe($.autoprefixer({
browsers: COMPATIBILITY
//browsers: COMPATIBILITY
browserlist: COMPATIBILITY
}))
.pipe($.if(PRODUCTION, $.cleanCss({ compatibility: 'ie9' })))

View File

@ -20,12 +20,12 @@ get_header(); ?>
<main class="main-content">
<div class="bfr_category_archive">
<?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 $query = new WP_Query( 'cat=-12' ); ?>
<?php if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); ?>
<?php //$query = new WP_Query( 'cat=-12' ); ?>
<?php //if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); ?>
<?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'); ?>>
<div class="bfr_post_content">
<header>

View File

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

View File

@ -20,22 +20,22 @@ get_header(); ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php //get_template_part( 'template-parts/content', get_post_format() ); ?>
<?php //begin part homepage-2021 ?>
<?php //begin part homepage-2021 ?>
<article id="content-homepage-2021 post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header>
<h1 class="entry-title"><?php //the_title(); ?></h1>
</header>
<div class="entry-content">
<?php the_content(); ?>
</div>
<footer>
<?php get_template_part( 'template-parts/navigation', 'prevnext' ); ?>
<?php $tag = get_the_tags(); if ( $tag ) { ?><p><?php the_tags(); ?></p><?php } ?>
</footer>
</article>
<article id="content-homepage-2021 post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header>
<h1 class="entry-title"><?php //the_title(); ?></h1>
</header>
<div class="entry-content">
<?php the_content(); ?>
</div>
<footer>
<?php get_template_part( 'template-parts/navigation', 'prevnext' ); ?>
<?php $tag = get_the_tags(); if ( $tag ) { ?><p><?php the_tags(); ?></p><?php } ?>
</footer>
</article>
<?php //end part homepage-2021 ?>
<?php //end part homepage-2021 ?>
<?php endwhile; ?>
<?php else : ?>

View File

@ -1,9 +1,9 @@
.bfr_category_tags {
font-family: $header-font-family;
position: relative;
top:-1rem;
text-align: center;
z-index: 100;
// position: relative;
// top:-1rem;
// text-align: center;
// z-index: 100;
.tag-cloud-link::before {
content: '#';
// display: inline-block;
@ -28,5 +28,3 @@
display:block;
}
}

View File

@ -18,16 +18,14 @@
background-image: url('../images/biofriction-logo-moving-trans-loosy-100.gif');
}
.bfr_category_tags {
// display:flex;
// justify-content:center;
max-width: calc(66vw - 4rem);
margin: 0 auto;
a {
display:inline-block;
margin-bottom: auto;
}
}
// .bfr_category_tags {
// max-width: calc(66vw - 4rem);
// margin: 0 auto;
// a {
// display:inline-block;
// margin-bottom: auto;
// }
// }
}
}
}

View File

@ -53,10 +53,8 @@ $grid-column-width:$grid-row-width/$grid-column-count;
// presentation as home and category archive
.home,.archive{
.main-container {
// @include xy-grid-container(100vw,0);
@include xy-grid-container(100vw,$global-padding*2);
overflow: hidden;
// .main-grid {
.main-content {
@include xy-cell(12,padding,0);
.bfr_category_archive {
@ -157,7 +155,6 @@ $grid-column-width:$grid-row-width/$grid-column-count;
max-height: ( 100vw / 5 );
}
@include breakpoint(xlarge) {
// max-height: ( 30vw / 4.5 ) ;
}
img {
width: 100%;
@ -165,20 +162,97 @@ $grid-column-width:$grid-row-width/$grid-column-count;
}
}
}
// }
}
.bfr_category_title{
display:none;
}
}
// homepage 2021
.homepage-2021 { //&.main-container
.entry-content {
// homepage 2021
.homepage-2021 {
.entry-content {
p {
max-width: 45%;
float: left;
clear: both;
position: relative;
& > * {
float:left;
clear:both;
margin-left: $global-margin;
}
}
.fp-gallery {
position:absolute;
top:0;
right: 0;
// .fp-gallery-item {
// }
// .fp-gallery-icon {
// }
img {
object-fit: cover;
object-position: center;
border-radius: $button-radius;
}
}
@include breakpoint(small) {
$homepage2021-gallery-square-side: $global-margin*8;
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
.entry-content {
min-height: $homepage2021-gallery-square-size*14;
& > * {
max-width: 55%;
}
}
.fp-gallery {
max-width: 40%;
.fp-gallery-item {
width: $homepage2021-gallery-square-side;
}
// .fp-gallery-icon {
// }
img {
height: $homepage2021-gallery-square-side;
}
}
}
@include breakpoint(medium) {
$homepage2021-gallery-square-side: $global-margin*8;
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
.entry-content {
min-height: $homepage2021-gallery-square-size*7;
& > * {
max-width: 48%;
}
}
.fp-gallery {
max-width: 45%;
.fp-gallery-item {
width: $homepage2021-gallery-square-side;
}
// .fp-gallery-icon {
// }
img {
height: $homepage2021-gallery-square-side;
}
}
}
@include breakpoint(xlarge) {
$homepage2021-gallery-square-side: $global-margin*9;
$homepage2021-gallery-square-size: $homepage2021-gallery-square-side+$global-margin;
.entry-content {
min-height: $homepage2021-gallery-square-size*6;
& > * {
max-width: 48%;
}
}
.fp-gallery {
max-width: 45%;
.fp-gallery-item {
width: $homepage2021-gallery-square-side;
}
// .fp-gallery-icon {
// }
img {
height: $homepage2021-gallery-square-side;
}
}
}
}
}