Current File : /home/mdkeenpw/public_html/wp-content/themes/logistik/assets/sass/template/sections/_blog.scss |
blockquote,
.wp-block-quote {
font-size: 18px;
line-height: 1.56;
padding: 40px;
font-weight: 500;
display: block;
position: relative;
background-color: $white-color;
overflow: hidden;
margin: 35px 0;
color: $title-color;
border-left: 5px solid $theme-color;
border-radius: 0;
p {
font-size: inherit;
font-family: inherit;
margin-top: -0.3em;
margin-bottom: 18px;
line-height: inherit;
color: inherit;
width: 100%;
position: relative;
z-index: 3;
a {
color: inherit;
}
}
&:before {
content: "\f10e";
font-family: $icon-font;
position: absolute;
right: 40px;
bottom: 30px;
font-size: 5rem;
// font-weight: 600;
opacity: 1;
line-height: 3.8rem;
color: $theme-color;
opacity: 0.35;
font-style: normal;
}
cite {
display: block;
font-size: 22px;
position: relative;
border-color: inherit;
line-height: 1;
font-weight: 600;
margin-top: 0;
margin-bottom: -0.1em;
font-style: normal;
font-family: $title-font;
padding-left: 50px;
margin-left: 10px;
&:before {
content: "";
height: 4px;
width: 50px;
background-color: $theme-color;
position: absolute;
bottom: 9px;
left: -10px;
}
}
&.style-left-icon,
&.is-large,
&.is-style-large,
&.has-text-align-right {
padding: 50px;
}
&.style-left-icon {
font-size: 18px;
color: $body-color;
font-weight: 400;
line-height: 1.556;
background-color: $smoke-color;
padding-left: 160px;
&:before {
right: unset;
left: 56px;
top: 60px;
font-size: 6rem;
font-weight: 400;
line-height: 4rem;
color: $theme-color;
text-shadow: none;
}
cite {
color: $title-color;
&:before {
background-color: $title-color;
top: 8px;
}
}
}
&.is-large,
&.is-style-large {
cite {
&:before {
top: unset;
bottom: 13px;
}
}
}
&.has-text-align-right {
&:before {
content: "\f10d";
right: unset;
left: 60px;
}
}
}
.wp-block-pullquote {
color: $white-color;
padding: 0;
}
blockquote.has-very-dark-gray-color {
color: $white-color !important;
}
.wp-block-column {
blockquote,
.wp-block-quote {
&:before {
width: 100%;
height: 60px;
font-size: 30px;
}
padding: 100px 15px 30px 15px;
&.style-left-icon,
&.is-large:not(.is-style-plain),
&.is-style-large:not(.is-style-plain),
&.has-text-align-right {
padding: 100px 15px 30px 15px;
}
}
}
.blog-meta {
display: block;
span,
a {
position: relative;
display: inline-block;
font-family: $body-font;
font-size: 16px;
font-weight: 500;
color: $black-color-2;
position: relative;
margin-right: 15px;
padding-right: 15px;
i {
margin-right: 6px;
color: $theme-color;
}
&:last-child {
margin-right: 0;
padding-right: 0;
&:after {
display: none;
}
}
}
a:hover {
color: $theme-color;
}
}
.blog-audio,
.blog-img,
.blog-video {
img {
transition: 0.4s ease-in-out;
}
}
.blog-title {
a {
color: inherit;
&:hover {
color: $theme-color-2;
}
}
}
.themeholy-blog {
margin-bottom: 30px;
}
.blog-inner-title {
position: relative;
margin-top: -0.25em;
font-size: 24px;
margin-bottom: 30px;
padding-bottom: 10px;
.shape {
position: absolute;
left: 0;
bottom: -10px;
width: 100%;
height: 2px;
overflow: hidden;
&:after,
&:before {
content: '';
position: absolute;
left: 0;
top: 50%;
width: 100%;
height: auto;
margin-top: -3px;
overflow: hidden;
}
&:before {
animation: sectionShape 8s linear infinite;
animation-delay: 0s;
background-color: $theme-color;
z-index: 9;
width: 79px;
height: 4px;
border-radius: 30px;
}
&:after {
width: 100%;
height: 2px;
margin: 0;
margin-top: -1px;
background-color: $gray-color;
left: 0;
}
}
i {
color: $theme-color;
margin-right: 4px;
}
}
@media (min-width: 1300px) {
.page-single,
.blog-single,
.themeholy-comments-wrap,
.themeholy-comment-form {
margin-right: 16px;
}
}
.blog-single {
position: relative;
margin-bottom: var(--blog-space-y, 40px);
border-radius: 0;
overflow: hidden;
.blog-title {
margin-bottom: 15px;
font-size: 30px;
line-height: 1.4;
font-weight: 700;
&:hover {
color: $theme-color;
a{
color: inherit;
}
}
}
.blog-text {
margin-bottom: 27px;
}
.social-links {
margin: 0;
padding: 0;
list-style-type: none;
display: inline-block;
li {
display: inline-block;
margin-right: 10px;
&:last-child {
margin-right: 0;
}
}
a {
display: inline-block;
@include equal-size(40px);
line-height: 42px;
background-color: $white-color;
font-size: 14px;
border-radius: 50%;
color: $title-color;
text-align: center;
&:hover {
color: $white-color;
background-color: $theme-color;
}
}
}
.blog-meta {
margin: -0.35em 0 10px 0;
}
.blog-content {
margin: 0 0 0 0;
padding: 40px;
position: relative;
background-color: $smoke-color;
.btn-group{
}
}
.blog-audio {
line-height: 1;
}
.blog-audio,
.blog-img,
.blog-video {
position: relative;
overflow: hidden;
background-color: $smoke-color;
}
.blog-img {
position: relative;
&.blog-video {
&:before {
content: "";
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
}
.white-play-btn {
width: 80px;
height: 80px;
line-height: 82px;
position: absolute;
top: 43%;
left: 43%;
justify-content: center;
display: flex;
align-items: center;
z-index: 9;
}
}
.slick-arrow {
--pos-x: 30px;
--icon-size: 60px;
border: none;
background-color: rgba(255, 255, 255, 0.5);
color: $title-color;
border-radius: 50%;
&:hover {
background-color: $white-color;
color: $title-color;
}
}
.play-btn {
--icon-size: 60px;
position: absolute;
left: 50%;
top: 50%;
margin: calc(var(--icon-size) / -2) 0 0 calc(var(--icon-size) / -2);
}
}
.line-btn {
display: block;
max-width: fit-content;
margin-bottom: -1px;
}
&:hover {
.blog-img {
.slick-arrow {
opacity: 1;
visibility: visible;
}
}
}
}
.share-links-title {
font-size: 20px;
color: $title-color;
font-family: $title-font;
font-weight: 700;
margin: 0 15px 0 0;
display: inline-block;
}
.share-links {
border-top: 1px solid $border-color;
padding: 30px 0 0 0;
>.row {
align-items: center;
--bs-gutter-y: 20px;
}
.wp-block-tag-cloud,
.tagcloud {
display: inline-block;
}
}
.blog-details {
.blog-single {
background-color: transparent;
}
}
@include ml {
.blog-single {
.blog-content {
padding: 40px 20px;
}
.blog-title {
font-size: 28px;
}
}
.share-links {
--blog-space-x: 20px;
}
}
@include lg {
blockquote,
.wp-block-quote {
font-size: 18px;
padding: 40px 20px 40px 20px;
&:before {
font-size: 4rem;
line-height: 2.5rem;
}
&.style-left-icon,
&.is-large:not(.is-style-plain),
&.is-style-large:not(.is-style-plain),
&.has-text-align-right {
padding: 40px 20px 40px 20px;
}
}
.blog-meta {
span,
a {
margin-right: 6px;
padding-right: 15px;
}
}
}
@include md {
.blog-single .blog-content {
padding: 40px;
}
.blog-details .blog-single {
--blog-space-x: 20px;
--blog-space-y: 40px;
}
.share-links {
--blog-space-x: 40px;
}
}
@include sm {
.share-links {
--blog-space-x: 20px;
}
.wp-block-pullquote.is-style-solid-color blockquote {
max-width: 90%;
}
blockquote,
.wp-block-quote {
cite {
font-size: 18px;
}
}
.blog-meta {
span,
a {
margin-right: 6px;
padding-right: 6px;
&:after {
display: none;
}
}
}
.blog-details .blog-single {
--blog-space-x: 20px;
--blog-space-y: 20px;
}
.blog-single {
.blog-content {
padding: 30px 20px;
}
.blog-title {
font-size: 24px;
line-height: 1.3;
}
.blog-text {
margin-bottom: 22px;
}
.blog-bottom {
padding-top: 15px;
}
.share-links-title {
font-size: 18px;
display: block;
margin: 0 0 10px 0;
}
}
}
@include xs {
.blog-meta {
span,
a {
margin-right: 5px;
padding-right: 5px;
&:after {
display: none;
}
}
}
}