Files
nhgooi.nl/resources/assets/sass/components/_post.scss
T
2026-11-19 16:03:45 +01:00

168 lines
2.8 KiB
SCSS
Vendored

@use "../abstracts/mixin" as *;
@use "../abstracts/variables" as *;
%sentence {
font-size: 12px;
font-style: italic;
line-height: 1.3;
text-align: right;
color: $text-description-color;
display: block;
width: 100%;
span {
padding: 0 5px;
}
}
.post_container {
@include container;
@media (min-width: 768px) {
padding: 32px 0;
}
> .col-8 {
width: CALC(66.66666667% - 20px);
margin-right: 20px;
}
&:not(.breadcrumb_no_border) .bread_crumb {
border-bottom: 1px solid #efefef;
padding-bottom: 18px;
}
.post_body {
width: 100%;
font-family: var(--font-base);
font-size: 15px;
line-height: 1.6;
color: $text-dark-color;
h3 {
font-size: 15px;
}
.sentence {
@extend %sentence
}
@at-root .box.featured .sentence {
@extend %sentence;
color: $gold;
}
div.text {
margin-bottom: 20px;
}
blockquote {
margin-left: -30px;
padding: 15px 40px;
font-family: var(--font-base);
font-size: 30px;
line-height: 1.27;
font-weight: bold;
color: $primary;
text-transform: uppercase;
background-color: $gold;
.author {
font-family: var(--font-base);
font-size: 12px;
font-style: normal;
line-height: 3.17;
color: $text-description-color;
text-transform: none;
}
}
.post_details {
@include reset-list;
li {
float: left;
margin-right: 10px;
@include font_small;
color: $text-color;
a {
color: $text-color;
text-decoration: none;
}
i {
margin-right: 4px;
color: $gold;
}
}
}
.post_image img, video, .mejs__video {
width: CALC(100% + 53px);
margin: 0 -23px 0 -30px;
}
.mejs__video, video {
width: CALC(100% + 53px) !important;
}
}
.info {
padding: 1em;
color: #3E3E3E;
line-height: 150%;
border-radius: 10px;
margin: 1em;
h2 {
text-overflow: ellipsis;
overflow: hidden;
margin-top: 3px;
clear: both;
}
a {
color: #ED1C24;
}
}
}
%post-tags-link {
display: block;
min-width: 4rem;
padding: 6px 15px 7px;
border-radius: 10px;
background-color: var(--brand-primary);
font-family: var(--font-base);
font-size: 10px;
font-weight: bold;
text-align: center;
color: $text-inverted-color;
text-decoration: none;
text-transform: uppercase;
}
.post_tags {
@include reset-list;
height: 31px;
margin: 20px 0;
a {
@extend %post-tags-link;
background-color: $gold;
color: $dark;
}
li {
float: left;
margin-right: 10px;
a {
@extend %post-tags-link
}
@at-root #schedule .onair {
@extend %post-tags-link
}
}
}
.share_buttons .btn {
width: 100%;
}