reverse right column
This commit is contained in:
@@ -21,10 +21,12 @@ $has_video = isset($args['has_video']) ? $args['has_video'] : false;
|
|||||||
<div class="land-cart-title__arrow"></div>
|
<div class="land-cart-title__arrow"></div>
|
||||||
</div>
|
</div>
|
||||||
<?endif?>
|
<?endif?>
|
||||||
<div class="<?=$class; ?><?=$has_video === true ? ' has-video' : ''; ?>">
|
<div class="<?=$class;?>">
|
||||||
<a href="<?php the_permalink(); ?>" class="article-item__image-container">
|
<div class="article-item__image-container<?=$has_video === true ? ' has-video' : ''; ?>">
|
||||||
<?=render_webp_picture_by_post( null, 'news-list-picture'); ?>
|
<a href="<?php the_permalink(); ?>">
|
||||||
</a>
|
<?=render_webp_picture_by_post( null, 'news-list-picture'); ?>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<div class="article-item__text">
|
<div class="article-item__text">
|
||||||
<div class="article-time">
|
<div class="article-time">
|
||||||
<img src="<?= get_asset('/icons/time.svg'); ?>" alt="" /><?php echo $formatted_date; ?>
|
<img src="<?= get_asset('/icons/time.svg'); ?>" alt="" /><?php echo $formatted_date; ?>
|
||||||
|
|||||||
@@ -86,3 +86,13 @@ button {
|
|||||||
.btn_download{
|
.btn_download{
|
||||||
border: 2px solid black;
|
border: 2px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
|
||||||
|
body, html {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -35,3 +35,13 @@
|
|||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
|
||||||
|
.agro-widget {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
|
|
||||||
.article-item--lg .article-item__image-container img {
|
.article-item--lg .article-item__image-container img {
|
||||||
height: 41.5rem;
|
height: 41.5rem;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-item--lg .article-item__text {
|
.article-item--lg .article-item__text {
|
||||||
@@ -135,6 +136,7 @@
|
|||||||
|
|
||||||
.article-item {
|
.article-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-item-mob{
|
.article-item-mob{
|
||||||
|
|||||||
@@ -6,5 +6,6 @@
|
|||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
.container {
|
.container {
|
||||||
padding: 0 2rem;
|
padding: 0 2rem;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -129,6 +129,7 @@
|
|||||||
|
|
||||||
.header__inner {
|
.header__inner {
|
||||||
padding: 1.5rem 0;
|
padding: 1.5rem 0;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header__logo {
|
.header__logo {
|
||||||
|
|||||||
@@ -88,8 +88,7 @@ ul.wp-block-list li{
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** @media (max-width: 1439px) { */
|
@media (max-width: 1439px) {
|
||||||
@media (min-width: 768px) and (max-width: 1024px) {
|
|
||||||
.content {
|
.content {
|
||||||
grid-template-columns: 36.4rem 1fr;
|
grid-template-columns: 36.4rem 1fr;
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
@@ -102,7 +101,6 @@ ul.wp-block-list li{
|
|||||||
'middle middle'
|
'middle middle'
|
||||||
'right right';
|
'right right';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<?php get_template_part('rfo/category-end', null, [
|
<?php get_template_part('rfo/category-end', null, [
|
||||||
'category' => 'opinion', // slug рубрики
|
'category' => 'opinion', // slug рубрики
|
||||||
'style' => 'short',
|
'style' => '',
|
||||||
'title' => 'Интервью',
|
'title' => 'Интервью',
|
||||||
'has_video' => true
|
'has_video' => true
|
||||||
]);?>
|
]);?>
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ if ( in_category('interviews') ) {
|
|||||||
|
|
||||||
<?php get_template_part('partials/forest-informer');?>
|
<?php get_template_part('partials/forest-informer');?>
|
||||||
|
|
||||||
|
|
||||||
<div class="banner-left desktop">
|
<div class="banner-left desktop">
|
||||||
<?=krutilka_placement( 'left-desktop-2' );?>
|
<?=krutilka_placement( 'left-desktop-2' );?>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user