/* ---------------------------------------------------------------- */
/* 20.Blog
/* ---------------------------------------------------------------- */
.blog-item {
margin-bottom: 24px;
align-items: center;
border-radius: 50px;
background: $color_white;
transition: all 0.5s ease;
justify-content: space-between;
box-shadow: 0 10px 30px 0 rgba($color_primary,0.15);
.blog-img {
overflow: hidden;
position: relative;
border-radius: 30px;
img {
border-radius: 30px;
transition: all 0.5s ease;
}
&:hover {
img {
transform: scale(1.1);
}
}
}
.blog-body {
position: relative;
padding: 50px 30px 30px 30px;
.blog-author-img {
top: -40px;
left: 30px;
font-size: 14px;
position: absolute;
border-radius: 50%;
border: 10px solid $color_white;
}
.blog-meta {
margin-bottom: 15px;
a {
font-size: 15px;
margin-right: 10px;
font-weight: 600;
color: $color_dark;
i {
margin-right: 10px;
color: $color_primary;
}
&:hover {
color: $color_primary;
text-decoration: underline;
}
}
}
h5 {
margin-bottom: 20px;
a {
color: inherit;
&:hover {
text-decoration: underline;
color: $color_primary;
}
}
}
.blog-link {
color: $color_primary;
font-weight: 600;
&:hover {
text-decoration: underline;
}
i {
margin-left: 5px;
}
}
p {
margin-bottom: 15px;
}
}
}
.widget-sidebar {
.sidebar-details-list {
ul {
li {
margin-bottom: 15px;
&:last-child {
margin-bottom: 0;
}
h6 {
span {
font-weight: 400;
display: inline-block;
font-family: $font_text;
&:before {
content: ":";
margin-left: 10px;
margin-right: 10px;
font-weight: 700;
display: inline-block;
}
}
}
}
}
}
.sidebar-widgets {
margin-bottom: 24px;
.blog-search-btn {
top: 0;
right: 0;
z-index: 4;
border: none;
width: 60px;
outline: none;
height: 100%;
border-radius: 50px;
overflow: hidden;
color: $color_white;
position: absolute;
background: $color_primary;
transition: all 0.5s ease;
&:hover {
color: $color_white !important;
background: $color_dark;
}
}
.blog-search-bar {
width: 100%;
margin-bottom: 20px;
border-radius: 50px;
background: $color_white;
transition: all 0.5s ease;
box-shadow: 0 15px 30px 0 rgba($color_primary,0.15);
.search-form-control {
width: 100%;
display: block;
border: none;
border-radius: 30px;
padding: 18px 78px 18px 20px;
transition: all 0.5s ease;
}
}
&:last-child {
margin-bottom: 0;
}
}
.recent-post-item {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
.recent-post-img {
float: left;
margin-right: 15px;
overflow: hidden;
border-radius: 50%;
img {
border-radius: 50%;
transition: all 0.5s ease;
&:hover {
transform: scale(1.2);
}
}
}
.recent-post-body {
.recent-post-title {
margin-bottom: 14px;
line-height: 1.5;
font-size: 1.1rem;
transition: all 0.25s ease;
&:hover {
color: $color_primary;
text-decoration: underline;
}
}
.recent-post-date {
i {
margin-right: 8px;
color: $color_primary;
}
}
}
}
.sidebar-category-list {
margin-bottom: 20px;
border-radius: 20px;
background: $color_white;
transition: all 0.5s ease;
box-shadow: 0 15px 30px 0 rgba($color_primary,0.15);
li {
&:last-child {
a {
border-bottom: 0;
border-radius: 0 0 20px 20px;
}
}
&:first-child {
a {
border-radius: 20px 20px 0 0;
}
}
&.active {
a {
color: $color_white;
background: $color_primary;
border-bottom-color: $color_primary;
}
}
a {
display: block;
color: $color_black;
padding: 18px 20px;
transition: all 0.25s ease;
border-bottom: 1px solid rgba($color_black,0.08);
&:hover, &.active {
color: $color_primary;
}
&:hover {
color: $color_white;
background: $color_primary;
border-bottom-color: $color_primary;
}
}
a {
&:hover {
&:before {
width: 20px;
}
}
.category-count {
float: right;
}
}
}
}
.sidebar-archive-list {
li {
display: block;
padding: 10px 10px 10px 0;
border-bottom: 1px solid rgba($color_black,0.08);
&:first-child {
padding-top: 0;
}
&:last-child {
border-bottom: 0;
padding-bottom: 0;
}
a {
color: $color_black;
transition: all 0.25s ease;
font: {
weight: 500;
}
&:before {
content: "";
background: $color_black;
display: inline-block;
margin-right: 10px;
vertical-align: middle;
transition: all 0.25s ease;
}
&:hover {
text-decoration: underline;
}
&:hover, &.active {
color: $color_primary;
}
&.active, &:hover {
&:before {
background: $color_primary;
}
}
}
}
}
.sidebar-archive-list {
li {
a {
&:before {
height: 5px;
width: 5px;
}
}
}
}
.sidebar-tags li {
float: left;
&:last-child {
a {
margin-right: 0;
}
}
a {
font-size: 14px;
font-weight: 500;
margin-right: 10px;
margin-bottom: 10px;
padding: 10px 15px;
border-radius: 50px;
display: inline-block;
color: $color_dark_blue;
transition: all 0.5s ease;
border: 1px solid $color_soft_grey;
&:hover,&.active {
background:$color_primary;
border-color: transparent;
color: $color_white !important;
}
}
}
.sidebar-share {
li {
margin-right: 10px;
float: left;
&:last-child {
margin-right: 0;
}
a {
padding: 5px;
text-align: center;
border-radius: 50%;
color: $color_primary;
display: inline-block;
transition: all 0.5s ease;
border: 2px solid $color_primary;
i {
width: 40px;
height: 40px;
font-size: 16px;
color: $color_white;
line-height: 40px;
text-align: center;
border-radius: 50%;
display: inline-block;
transition: all 0.5s ease;
background: $color_primary;
}
&:hover {
border-color: $color_dark;
i {
color: $color_white !important;
background: $color_dark;
}
}
}
}
}
.tag-widgets {
margin-bottom: 20px;
}
}
.blog-title-subline {
margin-bottom: 20px;
}
.blog-post-img {
position: relative;
img {
border-radius: 30px;
}
.post-author-thumb {
bottom: -60px;
left: 0;
display: inline-block;
position: absolute;
border-radius: 50%;
display: flex;
align-items: center;
text-align: center;
border: 10px solid $color_white;
}
}
.blog-text {
margin-top: 70px;
h4 {
font-size: 2.3rem;
margin-bottom: 20px;
}
.author-meta {
margin-bottom: 20px;
a {
color: $color_dark;
margin-right: 15px;
font-weight: 600;
display: inline-block;
transition: all 0.25s ease;
&:after {
content: "";
margin-left: 15px;
border-left:1px solid $color_primary;
}
&:last-child {
margin-right: 0;
&:after {
display: none;
}
}
&:hover {
color: $color_primary;
text-decoration: underline;
}
span {
color: $color_primary;
display: inline-block;
margin-right: 15px;
}
}
}
p {
margin-bottom: 20px;
}
blockquote {
padding: 30px;
font-weight: 500;
margin-bottom: 30px;
border-radius: 30px;
color: $color_dark;
background: $color_white;
border-left:5px solid $color_primary;
box-shadow: 0 10px 15px 0 rgba($color_primary, 0.1);
q {
font-style: italic;
line-height: 2;
&:before {
margin-right: 5px;
}
&:after {
margin-left: 5px;
}
}
}
.grid-gallery-item {
img {
border-radius: 30px;
}
margin-bottom: 30px;
}
h5 {
margin-bottom: 15px;
}
ul {
margin-bottom: 30px;
li {
font-weight: 500;
color: $color_dark;
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
&:before {
content: "";
width: 10px;
height: 2px;
margin-left: 30px;
margin-right: 10px;
background: $color_dark;
vertical-align: middle;
display: inline-block;
}
}
}
}
/* ---------------------------------------------------------------- */
/* Responsive Media Query (tablets, less than 992px)
/* ---------------------------------------------------------------- */
@media only screen and (max-width: 991.98px) {
.padding-minus-90 {
padding-bottom: 90px;
}
.widget-sidebar {
margin-top: 20px;
}
.sidebar-pb-resp {
padding-bottom: 90px;
}
.recent-post-item {
.recent-post-body {
.recent-post-title {
line-height: 1.5;
font-size: 1rem;
}
}
}
}
/* ---------------------------------------------------------------- */
/* Responsive Media Query (tablets, less than 992px)
/* ---------------------------------------------------------------- */
@media only screen and (max-width: 991.98px) {
.blog-text {
h4 {
font-size: 1.6rem;
}
}
} |