439 lines
10 KiB
CSS
439 lines
10 KiB
CSS
/*== Blog Single Page ==*/
|
|
|
|
.edu-blog {
|
|
position: relative;
|
|
}
|
|
.edu-blog .thumbnail {
|
|
position: relative;
|
|
border-radius: 10px 10px 0 0;
|
|
overflow: hidden;
|
|
}
|
|
.edu-blog .thumbnail a {
|
|
display: block;
|
|
border-radius: 10px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.edu-blog .thumbnail a:after {
|
|
content: "";
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
-webkit-transition: var(--upstudy-transition);
|
|
transition: var(--upstudy-transition);
|
|
}
|
|
.edu-blog .thumbnail a img {
|
|
width: 100%;
|
|
border-radius: 10px;
|
|
-webkit-transition: var(--upstudy-transition);
|
|
transition: var(--upstudy-transition);
|
|
}
|
|
.edu-blog .content {
|
|
padding: 30px 25px 0 25px;
|
|
border-radius: 10px;
|
|
position: relative;
|
|
}
|
|
.blog_layout_overlay .blog-details-top {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.edu-blog .blog-meta, .blog_layout_overlay .blog-meta {
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-flex-wrap: wrap;
|
|
-ms-flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
margin: 0;
|
|
align-items: center;
|
|
}
|
|
.edu-blog .content .blog__title {
|
|
margin-bottom: 12px;
|
|
}
|
|
.upstudy-blog-readmore a {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
color: var(--upstudy-primary-color);
|
|
margin-bottom: 0;
|
|
position: relative;
|
|
}
|
|
.upstudy-blog-readmore a::before {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 1px;
|
|
height: 1px;
|
|
width: 100%;
|
|
content: "";
|
|
transform: scale(1);
|
|
background: var(--upstudy-primary-color);
|
|
transition: all 0.3s linear;
|
|
}
|
|
.upstudy-blog-readmore a:hover::before {
|
|
transform: scale(-1);
|
|
}
|
|
.upstudy-blog-readmore a i {
|
|
line-height: 1;
|
|
margin-left: 2px;
|
|
transition: all 0.3s linear;
|
|
}
|
|
.upstudy-blog-readmore a:hover i {
|
|
margin-left: 7px;
|
|
}
|
|
.upstudy-blog-readmore {
|
|
margin-top: 12px;
|
|
}
|
|
.edu-blog .blog-meta {
|
|
padding-bottom: 10px;
|
|
}
|
|
.author.vcard img {
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
vertical-align: middle;
|
|
margin-right: 8px;
|
|
margin-top: -3px;
|
|
margin-bottom: -3px;
|
|
}
|
|
.blog_layout_overlay .upstudy-cat-wrapper {
|
|
margin-bottom: 20px;
|
|
}
|
|
.blog_layout_overlay .upstudy-post-cat a {
|
|
color: #fff;
|
|
background: var(--upstudy-primary-color);
|
|
padding: 7px 17px;
|
|
border-radius: 100px;
|
|
font-size: 13px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
.edu-blog .blog-meta li, .blog_layout_overlay .blog-meta li {
|
|
position: relative;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
color: var(--upstudy-color-meta);
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
.edu-blog .blog-meta li a, .blog_layout_overlay .blog-meta li a {
|
|
color: var(--upstudy-color-meta);
|
|
}
|
|
.edu-blog .blog-meta li:first-child, .blog_layout_overlay .blog-meta li:first-child {
|
|
margin-left: 0;
|
|
}
|
|
.edu-blog .blog-meta li:hover a {
|
|
color: var(--upstudy-heading-color);
|
|
text-decoration: underline;
|
|
}
|
|
.blog_layout_overlay .blog-meta li:hover a {
|
|
color: var(--upstudy-primary-color);
|
|
}
|
|
.blog_layout_overlay .blog-details-top .blog-meta li, .blog_layout_overlay .blog-details-top .blog-meta li a {
|
|
color: #fff;
|
|
}
|
|
.blog_layout_overlay .blog-meta li:after {
|
|
content: "";
|
|
width: 6px;
|
|
height: 6px;
|
|
display: inline-block;
|
|
transform: translateY(-2px);
|
|
background: var(--upstudy-primary-color);
|
|
margin: 0px 15px;
|
|
}
|
|
.blog_layout_overlay .blog-meta li:last-child:after {
|
|
display: none;
|
|
}
|
|
.edu-blog .blog-meta li:not(:last-child):after {
|
|
content: "";
|
|
width: 6px;
|
|
height: 6px;
|
|
display: inline-block;
|
|
background: var(--upstudy-primary-color);
|
|
margin: 0 15px;
|
|
transform: translateY(-2px);
|
|
}
|
|
.edu-blog .blog-meta li.meta-blog-cat a {
|
|
color: var(--upstudy-color-meta);
|
|
}
|
|
span.meta-blog-cat a {
|
|
position: relative;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
color: var(--upstudy-color-meta);
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
letter-spacing: 0.05em;
|
|
color: var(--upstudy-color-meta);
|
|
}
|
|
.overlay-blog-header {
|
|
position: relative;
|
|
}
|
|
/*== blog_layout_title_first ===*/
|
|
|
|
.blog_layout_title_first .upstudy-single-post .post-main-title, .blog_layout_image_first .upstudy-single-post .post-main-title {
|
|
margin-bottom: 15px;
|
|
}
|
|
.blog_layout_title_first .edu-blog .blog-meta {
|
|
padding-bottom: 30px;
|
|
}
|
|
.blog_layout_image_first .edu-blog .blog-meta {
|
|
padding-bottom: 15px;
|
|
}
|
|
/*== Blog Like Button (blog_layout_overlay) ==*/
|
|
|
|
.upstudy-like-container {
|
|
display: inline-block;
|
|
text-transform: uppercase;
|
|
}
|
|
.upstudy-like-btn {
|
|
background: none;
|
|
border: none;
|
|
font-size: 18px;
|
|
color: #ffffff;
|
|
cursor: pointer;
|
|
}
|
|
.upstudy-like-container i {
|
|
position: relative;
|
|
top: 3px;
|
|
}
|
|
.upstudy-like-container i:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
.upstudy-like-btn {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.5px;
|
|
cursor: pointer;
|
|
}
|
|
/*===== Blog Related Posts =======*/
|
|
|
|
.related-post-wrap {
|
|
margin-top: 50px;
|
|
}
|
|
.post-item-wrap {
|
|
margin-bottom: 30px;
|
|
}
|
|
.related-post-wrap .entry-title {
|
|
font-size: 16px;
|
|
line-height: 26px;
|
|
margin-top: 15px;
|
|
margin-bottom: 10px;
|
|
}
|
|
@media (max-width:786px) {
|
|
.related-post-wrap .entry-title {
|
|
font-size: 22px;
|
|
line-height: 32px;
|
|
}
|
|
}
|
|
.related-post-wrap .get__title {
|
|
font-size: 24px;
|
|
line-height: 34px;
|
|
margin-bottom: 15px;
|
|
}
|
|
.related-post-wrap .related-title {
|
|
display: block;
|
|
margin-bottom: 22px;
|
|
color: var(--upstudy-heading-color);
|
|
font-size: 28px;
|
|
line-height: 40px;
|
|
}
|
|
.related-post-wrap .related-title {
|
|
font-size: 28px;
|
|
line-height: 38px;
|
|
}
|
|
.related-post-wrap .edu-blog .content {
|
|
padding: 25px 0 0 0;
|
|
}
|
|
.related-post-wrap .get__title {
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
}
|
|
/*===== Blog next Prev post =======*/
|
|
|
|
.upstudy-post-nav-prev-next {
|
|
margin-top: 50px;
|
|
padding-bottom: 40px;
|
|
}
|
|
.upstudy-nav-wrap {
|
|
text-transform: uppercase;
|
|
color: var(--upstudy-color-body);
|
|
font-weight: 500;
|
|
font-size: 15px;
|
|
}
|
|
.upstudy-post-nav {
|
|
margin-top: 30px;
|
|
}
|
|
.upstudy-post-nav .post-title {
|
|
margin-bottom: 0;
|
|
margin-top: 7px;
|
|
transition: 0.5s;
|
|
}
|
|
.upstudy-prev-post .post-title {
|
|
padding-right: 50px;
|
|
transition: 0.5s;
|
|
}
|
|
.upstudy-next-post .post-title {
|
|
padding-left: 50px;
|
|
}
|
|
.upstudy-single-post-nav a:hover .post-title {
|
|
color: var(--upstudy-primary-color);
|
|
transition: 0.5s;
|
|
}
|
|
.upstudy-single-post-nav.upstudy-next-post {
|
|
text-align: right;
|
|
}
|
|
.upstudy-single-post-nav.upstudy-prev-post i {
|
|
padding-right: 5px;
|
|
}
|
|
.upstudy-single-post-nav.upstudy-next-post i {
|
|
padding-left: 5px;
|
|
}
|
|
.upstudy-single-post-nav i.upstudy-nav-icon {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
}
|
|
/**
|
|
* -------------------
|
|
* ## Post Details
|
|
* -------------------
|
|
*/
|
|
|
|
.tpc-upstudy-blog-space {
|
|
margin-right: 10px;
|
|
}
|
|
.tpc-post-details-page {
|
|
margin-right: 25px;
|
|
}
|
|
.upstudy-single-post .post-thumbnail {
|
|
margin-bottom: 30px;
|
|
}
|
|
.upstudy-single-post .post-thumbnail img {
|
|
width: 100%;
|
|
}
|
|
.upstudy-single-post .upstudy-blog-meta {
|
|
margin-bottom: 25px;
|
|
}
|
|
.upstudy-single-post .post-main-title {
|
|
margin-bottom: 5px;
|
|
}
|
|
.blog_layout_title_first .upstudy-single-post .post-main-title, .blog_layout_image_first .upstudy-single-post .post-main-title {
|
|
margin-bottom: 15px;
|
|
}
|
|
.blog_layout_title_first .edu-blog .blog-meta {
|
|
padding-bottom: 30px;
|
|
}
|
|
.blog_layout_image_first .edu-blog .blog-meta {
|
|
padding-bottom: 15px;
|
|
}
|
|
.upstudy-tag-social-share-wrapper {
|
|
clear: both;
|
|
padding-bottom: 40px;
|
|
padding-top: 30px;
|
|
}
|
|
.upstudy-tag-social-share-wrapper i.dt-icon-tags {
|
|
position: relative;
|
|
bottom: -2px;
|
|
}
|
|
.upstudy-tag-social-share.upstudy-row {
|
|
margin-bottom: 0px !important;
|
|
}
|
|
.upstudy-tag-social-share.upstudy-row>* {
|
|
margin-bottom: 0px !important;
|
|
}
|
|
.wp-block-tag-cloud, .widget_product_tag_cloud .tagcloud, .widget_tag_cloud .tagcloud {
|
|
margin: -5px;
|
|
}
|
|
.wp-block-tag-cloud a, .widget_product_tag_cloud .tagcloud a, .widget_tag_cloud .tagcloud a {
|
|
border: 1px solid #ddd;
|
|
border-radius: 100px;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
font-family: var(--upstudy-font-secondary);
|
|
margin: 5px;
|
|
height: 38px;
|
|
line-height: 38px;
|
|
padding: 0px 20px;
|
|
-webkit-transition: var(--upstudy-transition);
|
|
transition: var(--upstudy-transition);
|
|
position: relative;
|
|
z-index: 1;
|
|
display: inline-block;
|
|
}
|
|
.upstudy-post-tag-wrapper .upstudy-post-tag a {
|
|
transition: all 0.5s ease;
|
|
font-size: 14px;
|
|
letter-spacing: 0.1px;
|
|
color: var(--upstudy-meta-color);
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
padding: 9px 17px;
|
|
line-height: 1;
|
|
border-radius: 100px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
.upstudy-post-tag-wrapper .upstudy-post-tag a:hover {
|
|
color: #fff;
|
|
background-color: var(--upstudy-primary-color);
|
|
}
|
|
.upstudy-post-tag a:last-child .tags-sep {
|
|
display: none;
|
|
}
|
|
.wp-block-tag-cloud a, .widget_product_tag_cloud .tagcloud a, .widget_tag_cloud .tagcloud a {
|
|
font-size: 14px !important;
|
|
}
|
|
.wp-block-tag-cloud a:after, .widget_product_tag_cloud .tagcloud a:after, .widget_tag_cloud .tagcloud a:after {
|
|
content: "";
|
|
height: 100%;
|
|
width: 100%;
|
|
background: var(--upstudy-primary-color);
|
|
border-radius: 100px;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: -1;
|
|
-webkit-transition: var(--upstudy-transition);
|
|
transition: var(--upstudy-transition);
|
|
opacity: 0;
|
|
}
|
|
.wp-block-tag-cloud a:hover, .widget_product_tag_cloud .tagcloud a:hover, .widget_tag_cloud .tagcloud a:hover {
|
|
color: var(--upstudy-color-white);
|
|
border-color: transparent;
|
|
}
|
|
.wp-block-tag-cloud a:hover:after, .widget_product_tag_cloud .tagcloud a:hover:after, .widget_tag_cloud .tagcloud a:hover:after {
|
|
opacity: 1;
|
|
}
|
|
@media (max-width: 991px) {
|
|
.tpc-post-details-page {
|
|
margin-right: 0px;
|
|
}
|
|
}
|
|
@media (max-width: 767px) {
|
|
.upstudy-single-post .post-thumbnail {
|
|
margin: 0px 0 30px;
|
|
}
|
|
.upstudy-post-tag-wrapper {
|
|
margin-bottom: 20px;
|
|
}
|
|
.upstudy-tag-social-share-wrapper {
|
|
padding-bottom: 30px;
|
|
padding-top: 20px;
|
|
}
|
|
.upstudy-author-bio {
|
|
padding: 40px 0 40px;
|
|
}
|
|
} |