File: /home/parskavirpaya/public_html/wp-content/themes/porto1/scss/part/blog-legacy.scss
// DIRECTIONAL
// ---------------------------------------------------------------
$rtl: 0 !default;
$dir: ltr !default;
@import "../theme/theme-imports";
.post-item.style-7 {
h4 {
font-size: 1.5em;
line-height: 1.3;
letter-spacing: normal;
margin-bottom: 15px;
}
.post-meta {
margin-top: 20px;
}
.meta-author {
margin-bottom: 0;
font-size: 1em;
font-weight: 700;
img {
display: inline-block;
max-width: 25px;
border-radius: 20px;
margin-#{$right}: 5px;
}
}
.meta-date {
display: none;
}
}
.post-item.style-4 {
.thumb-info-side-image {
@media (max-width: 480px) {
.thumb-info-side-image-wrapper {
display: inline-block;
float: none
}
}
}
}
.blog-posts-no_margin,
.blog-posts-hover_info,
.blog-posts-hover_info2 {
.post .post-image {
margin-bottom: 0;
}
article:not(.timeline-box) {
border-bottom: none;
padding-bottom: 0;
}
}
.blog-posts-no_margin {
.posts-container {
margin: 0;
}
article.post:not(.timeline-box) {
padding: 0;
margin-bottom: 0;
}
}
.blog-posts-hover_info2 {
.post-excerpt {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
margin: .5rem 0 0;
}
.thumb-info-show-more-content {
font-size: .8em;
opacity: .5;
max-height: 0;
overflow: hidden;
transition: max-height .8s;
}
.thumb-info-inner {
margin: .25rem 0 0;
font-size: 1.2em;
font-weight: 700;
}
.thumb-info {
img {
transform: none;
}
.thumb-info-title {
padding: 0 1.5rem 1.5rem;
z-index: 3;
opacity: 1;
transform: none;
background: none;
}
.thumb-info-action {
margin: 0;
transform: none;
padding: 0;
top: 0;
#{$left}: 0;
height: 100%;
.thumb-info-action-icon {
background: none;
}
}
.thumb-info-action-icon {
display: block;
width: auto;
height: 100%;
margin: 0;
i {
display: none;
}
}
.thumb-info-inner {
line-height: 1.2;
}
&:hover .thumb-info-show-more-content {
max-height: 300px;
}
}
.thumb-info-wrapper:after {
opacity: .6;
}
.thumb-info-type {
overflow: hidden;
display: block;
margin: 0;
a {
float: $left;
padding: 0 .6em;
border-radius: 2px;
margin: side-values(0 .6em .6em 0);
background: var(--porto-primary-color);
}
}
}
.blog-posts-hover_info,
.blog-posts-hover_info2 {
article.post {
margin-bottom: var(--porto-grid-gutter-width);
}
.post-date {
position: absolute;
top: 10px;
#{$right}: 0;
z-index: 2;
}
}
/* Blog Medium Alt */
.posts-medium-alt {
> article:last-child {
border-bottom: none;
}
.img-thumbnail {
padding: 0; border: none;
}
.custom-border-radius{
padding: 11px 30px !important;
border-radius: 35px !important;
}
.blog-post-date {
position: absolute;
top: 60%;
#{$right}: 10px;
padding: 25px 15px;
z-index: 6;
font-size: 3em;
line-height: 1;
text-align: center;
transform: translateY(-50%);
.month-year {
display: block;
font-size: 0.4em;
}
}
}
/* post style for timeline, masonry and grid type */
.blog-posts-padding {
.grid-box {
background: var(--porto-normal-bg);
border: 1px solid var(--porto-gray-2);
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.04);
padding: 18px;
position: relative;
z-index: 1;
.img-thumbnail {
max-width: 100%;
&,
& img {
padding: 0;
border: 0;
border-radius: 0;
}
}
.owl-carousel {
border-radius: 0;
padding: 0;
border: 0;
box-shadow: none;
.owl-stage-outer {
border-radius: 0;
}
}
}
}