AMPERION_Webpage/assets/scss/templates/_single-post.scss

250 lines
3.3 KiB
SCSS
Raw Normal View History

2025-06-06 18:12:46 +02:00
/*=================================================================
Single Blog Page
==================================================================*/
.post.post-single {
border: none;
margin-bottom: 0px;
.post-title {
margin-top: 0px;
@include tablet {
margin-top: 20px;
}
}
.post-thumb {
margin-top: 30px;
}
}
.post-sub-heading {
border-bottom: 1px solid $border-color;
padding-bottom: 20px;
letter-spacing: 2px;
text-transform: uppercase;
font-size: 16px;
margin-bottom: 20px;
}
.post-social-share {
margin-bottom: 50px;
}
.post-comments {
margin: 30px 0;
.media {
margin-top: 20px;
>.pull-left {
padding-right: 20px;
}
}
.comment-author {
margin-top: 0;
margin-bottom: 0px;
font-weight: 500;
a {
color: $color-primary;
font-size: 14px;
text-transform: uppercase;
}
}
time {
margin: 0 0 5px;
display: inline-block;
color: darken( $light, 47.45);
font-size: 12px;
}
.comment-button {
color: $color-primary;
display: inline-block;
margin-left: 5px;
font-size: 12px;
i {
margin-right: 5px;
display: inline-block;
}
&:hover {
color: $color-primary;
}
}
}
.post-excerpt {
h3 {
a {
color: $black;
}
}
p {
margin: 0 0 30px;
}
blockquote.quote-post {
margin: 20px 0;
p {
line-height: 30px;
font-size: 20px;
color: $color-primary;
}
}
}
.single-blog {
background-color: #fff;
margin-bottom: 50px;
padding: 20px;
}
.blog-subtitle {
font-size: 15px;
padding-bottom: 10px;
border-bottom: 1px solid $border-color;
margin-bottom: 25px;
text-transform: uppercase;
}
.next-prev {
border-bottom: 1px solid $border-color;
border-top: 1px solid $border-color;
margin: 20px 0;
padding: 25px 0;
a {
color: $black;
&:hover {
color: $color-primary;
}
}
.prev-post i {
margin-right: 10px;
}
.next-post i {
margin-left: 10px;
}
}
.social-profile {
ul {
li {
margin: 0 10px 0 0;
display: inline-block;
a {
color: lighten( $black, 33.92 );
display: block;
font-size: 16px;
i {
&:hover {
color: $color-primary;
}
}
}
}
}
}
.comments-section {
margin-top: 35px;
}
.author-about {
margin-top: 40px;
}
.post-author {
margin-right: 20px;
}
.post-author>img {
border: 1px solid $border-color;
max-width: 120px;
padding: 5px;
width: 100%;
}
.comment-list {
ul {
margin-top: 20px;
li {
margin-bottom: 20px;
}
}
}
.comment-wrap {
border: 1px solid $border-color;
border-radius: 1px;
margin-left: 20px;
padding: 10px;
position: relative;
.author-avatar {
margin-right: 10px;
}
.media {
.media-heading {
font-size: 14px;
margin-bottom: 8px;
a {
color: $color-primary;
font-size: 13px;
}
}
.comment-meta {
font-size: 12px;
color: #888;
}
p {
margin-top: 15px;
}
}
}
.comment-reply-form {
margin-top: 80px;
input,
textarea {
height: 35px;
border-radius: 0;
box-shadow: none;
&:focus {
box-shadow: none;
border: 1px solid $color-primary;
}
}
textarea,
.btn-main {
height: auto;
}
}