468 lines
14 KiB
SCSS
468 lines
14 KiB
SCSS
/*==========================================================================
|
|
* Blog One CSS
|
|
==========================================================================*/
|
|
.blog__one {
|
|
&-item {
|
|
border: 1px solid var(--border-color-2);
|
|
border-top: 0;
|
|
border-radius: 10px;
|
|
margin-bottom: 25px;
|
|
&-image {
|
|
position: relative;
|
|
img {
|
|
border-radius: 10px 10px 0 0;
|
|
height: 270px;
|
|
object-fit: cover;
|
|
width: 100%;
|
|
}
|
|
&-date {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
background: var(--bg-white);
|
|
padding: 5px 30px 0px 30px;
|
|
border-radius: 0px 5px 0px 0px;
|
|
i {
|
|
margin-right: 8px;
|
|
}
|
|
h6 {
|
|
font-size: 16px;
|
|
line-height: 26px;
|
|
}
|
|
}
|
|
}
|
|
&-content {
|
|
padding: 20px 30px 30px 30px;
|
|
h4 a:hover {
|
|
color: var(--primary-color-1);
|
|
}
|
|
.more_btn {
|
|
margin-top: 25px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/*==========================================================================
|
|
* Blog Two CSS
|
|
==========================================================================*/
|
|
.blog__two {
|
|
overflow: hidden;
|
|
.blog__one-item-image-date {
|
|
top: 25px;
|
|
left: 25px;
|
|
bottom: inherit;
|
|
background: var(--primary-color-1);
|
|
padding: 5px 20px;
|
|
border-radius: 40px;
|
|
h6 {
|
|
color: var(--color-1);
|
|
}
|
|
}
|
|
.blog__one-item-content {
|
|
.meta {
|
|
display: inline-block;
|
|
padding: 0px 20px 0px 20px;
|
|
margin-bottom: 20px;
|
|
border-radius: 50px;
|
|
border: 1px solid var(--border-color-2);
|
|
ul {
|
|
padding: 0;
|
|
margin: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
column-gap: 25px;
|
|
row-gap: 5px;
|
|
li {
|
|
list-style: none;
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
i {
|
|
margin-right: 8px;
|
|
}
|
|
a:hover {
|
|
color: var(--primary-color-1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/*==========================================================================
|
|
* Blog Three CSS
|
|
==========================================================================*/
|
|
.blog__three {
|
|
&-right {
|
|
max-width: 75%;
|
|
margin: 0 0 0 auto;
|
|
}
|
|
&-item {
|
|
display: flex;
|
|
&-image {
|
|
max-width: 45%;
|
|
img {
|
|
height: 100%;
|
|
object-fit: cover;
|
|
width: 100%;
|
|
border-radius: 10px 0 0 10px;
|
|
}
|
|
}
|
|
&-content {
|
|
border: 1px solid var(--border-color-2);
|
|
border-left: 0;
|
|
padding: 40px 30px;
|
|
border-radius: 0 10px 10px 0;
|
|
background: var(--bg-white);
|
|
.meta {
|
|
margin-bottom: 5px;
|
|
ul {
|
|
padding: 0;
|
|
margin: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
column-gap: 25px;
|
|
row-gap: 5px;
|
|
li {
|
|
list-style: none;
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
i {
|
|
margin-right: 8px;
|
|
}
|
|
a:hover {
|
|
color: var(--primary-color-1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
h4 a:hover {
|
|
color: var(--primary-color-1);
|
|
}
|
|
.more_btn {
|
|
margin-top: 30px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/*==========================================================================
|
|
* Blog Four CSS
|
|
==========================================================================*/
|
|
.blog__four {
|
|
&-item {
|
|
padding: 20px;
|
|
background: var(--color-2);
|
|
border-radius: 8px;
|
|
&-image {
|
|
position: relative;
|
|
img {
|
|
height: 270px;
|
|
object-fit: cover;
|
|
width: 100%;
|
|
}
|
|
&-date {
|
|
position: absolute;
|
|
left: 20px;
|
|
bottom: 20px;
|
|
background: var(--bg-white);
|
|
padding: 13px 20px 10px 20px;
|
|
border-radius: 6px;
|
|
text-align: center;
|
|
h5 {
|
|
font-size: 24px;
|
|
line-height: 24px;
|
|
}
|
|
h6 {
|
|
font-size: 16px;
|
|
line-height: 22px;
|
|
}
|
|
}
|
|
}
|
|
&-content {
|
|
padding: 30px 0 10px 0;
|
|
.meta {
|
|
display: inline-block;
|
|
padding: 0px 20px 0px 20px;
|
|
margin-bottom: 20px;
|
|
border-radius: 50px;
|
|
border: 1px solid var(--border-color-2);
|
|
ul {
|
|
padding: 0;
|
|
margin: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
column-gap: 25px;
|
|
row-gap: 5px;
|
|
li {
|
|
list-style: none;
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
i {
|
|
margin-right: 8px;
|
|
}
|
|
a:hover {
|
|
color: var(--primary-color-1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
h4 a:hover {
|
|
color: var(--primary-color-1);
|
|
}
|
|
.more_btn {
|
|
margin-top: 25px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/*==========================================================================
|
|
* Blog Standard CSS
|
|
==========================================================================*/
|
|
.blog__standard {
|
|
&-item {
|
|
margin-bottom: 50px;
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
&-image img {
|
|
width: 100%;
|
|
}
|
|
&-content {
|
|
background: var(--color-2);
|
|
border: 1px solid var(--border-color-1);
|
|
padding: 30px;
|
|
&-meta {
|
|
margin-bottom: 15px;
|
|
ul {
|
|
padding: 0;
|
|
margin: 0;
|
|
display: inline-flex;
|
|
column-gap: 25px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
row-gap: 5px;
|
|
li {
|
|
list-style: none;
|
|
a {
|
|
display: inline-flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
i {
|
|
color: var(--primary-color-1);
|
|
}
|
|
&:hover {
|
|
color: var(--primary-color-1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
h3 {
|
|
margin-bottom: 10px;
|
|
a:hover {
|
|
color: var(--primary-color-1);
|
|
}
|
|
}
|
|
p {
|
|
margin-bottom: 35px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/*==========================================================================
|
|
* Blog Details CSS
|
|
==========================================================================*/
|
|
.blog__details-area {
|
|
&-box {
|
|
background: var(--color-2);
|
|
border: 1px solid var(--border-color-1);
|
|
padding: 45px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
gap: 30px;
|
|
margin: 40px 0;
|
|
i {
|
|
font-size: 80px;
|
|
color: var(--primary-color-1);
|
|
}
|
|
h6 {
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
&-image img {
|
|
width: 100%;
|
|
height: 460px;
|
|
object-fit: cover;
|
|
object-position: center center;
|
|
border-radius: 10px;
|
|
}
|
|
&-tag {
|
|
display: flex;
|
|
align-items: center;
|
|
column-gap: 30px;
|
|
row-gap: 20px;
|
|
margin-top: 30px;
|
|
margin-bottom: 50px;
|
|
padding-bottom: 40px;
|
|
border-bottom: 1px solid var(--border-color-1);
|
|
flex-wrap: wrap;
|
|
}
|
|
&-author {
|
|
background: var(--color-2);
|
|
border: 1px solid var(--border-color-1);
|
|
padding: 45px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
gap: 25px;
|
|
&-image {
|
|
width: 120px;
|
|
height: 120px;
|
|
min-width: 120px;
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
.social__icon {
|
|
ul {
|
|
padding: 0;
|
|
margin: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
li {
|
|
list-style: none;
|
|
a i {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 45px;
|
|
height: 45px;
|
|
background: var(--bg-white);
|
|
border-radius: 50%;
|
|
color: var(--text-heading-color);
|
|
transition: 0.4s;
|
|
font-size: 14px;
|
|
&:hover {
|
|
background: var(--primary-color-1);
|
|
color: var(--color-1);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&-comment {
|
|
&-item {
|
|
padding-bottom: 25px;
|
|
margin-bottom: 30px;
|
|
border-bottom: 1px solid var(--border-color-1);
|
|
&-comment {
|
|
&-image {
|
|
float: left;
|
|
img {
|
|
min-width: 80px;
|
|
width: 80px;
|
|
height: 80px;
|
|
object-fit: cover;
|
|
border-radius: 50%;
|
|
}
|
|
}
|
|
&-content {
|
|
padding-left: 30px;
|
|
overflow: hidden;
|
|
span {
|
|
font-size: 14px;
|
|
margin-bottom: 5px;
|
|
display: inline-block;
|
|
}
|
|
h5 {
|
|
font-size: 18px;
|
|
line-height: 28px;
|
|
a {
|
|
float: right;
|
|
transition: 0.4s;
|
|
font-family: var(--heading-font);
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
color: var(--text-heading-color);
|
|
border: 1px solid var(--border-color-1);
|
|
padding: 7px 18px;
|
|
border-radius: 4px;
|
|
i {
|
|
margin-right: 10px;
|
|
}
|
|
&:hover {
|
|
color: var(--color-1);
|
|
background: var(--primary-color-1);
|
|
border-color: var(--primary-color-1);
|
|
}
|
|
}
|
|
}
|
|
p {
|
|
max-width: 580px;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&-contact {
|
|
background: var(--color-2);
|
|
border: 1px solid var(--border-color-1);
|
|
padding: 45px;
|
|
border-radius: 10px;
|
|
h3 {
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|
|
}
|
|
@media (max-width: 1199px) {
|
|
.blog__three-right {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
@media (max-width: 574px) {
|
|
.blog__three-item {
|
|
display: block;
|
|
&-image {
|
|
max-width: 100%;
|
|
img {
|
|
border-radius: 10px 10px 0 0;
|
|
}
|
|
}
|
|
.blog__three-item-content {
|
|
padding: 20px 25px 30px 25px;
|
|
border: 1px solid var(--border-color-2);
|
|
border-radius: 0 0 10px 10px;
|
|
}
|
|
}
|
|
}
|
|
@media (max-width: 575px) {
|
|
.blog__details-area-contact,
|
|
.blog__details-area-author {
|
|
display: grid;
|
|
padding: 40px 30px;
|
|
}
|
|
.blog__details-area-box {
|
|
display: block;
|
|
padding: 40px 30px;
|
|
h5 {
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
}
|
|
}
|
|
.blog__details-area-comment-item-comment {
|
|
&-image {
|
|
float: initial;
|
|
}
|
|
&-content {
|
|
padding-left: 0;
|
|
margin-top: 20px;
|
|
}
|
|
}
|
|
} |