Files
nhgooi.nl/resources/assets/sass/components/_blog.scss
T
2026-11-23 13:18:33 +01:00

71 lines
1.2 KiB
SCSS
Vendored

@use "../abstracts/mixin" as *;
@use "../abstracts/variables" as *;
.blog {
@include reset-list;
.post {
margin-bottom: 20px;
// hoogte volgt de inhoud (titel + datum), zodat er geen lege ruimte onder korte berichten ontstaat
> .row {
align-items: flex-start;
}
img {
display: block;
width: 70px;
height: 70px;
object-fit: cover;
}
.post_title {
margin: 0;
font-family: var(--font-base);
font-size: 14px;
font-weight: 600;
line-height: 1.43;
a {
text-decoration: none;
display: inline-block;
&.clipText {
display: -webkit-box;
}
}
}
.col-8 {
padding: 0;
}
.post_date {
@include post_date;
color: $primary;
}
.disabled {
color: #A1A1A1;
cursor: not-allowed;
}
.post_body {
font-family: var(--font-base);
font-size: 15px;
line-height: 1.6;
color: $text-dark-color;
}
}
}
// Mobiel: lijst past binnen het vak (de bootstrap-rij had negatieve marges waardoor tekst tegen de rand liep)
@media (max-width: 768px) {
.blog .post > .row {
margin-left: 0;
margin-right: 0;
> .col-4 {
padding-left: 0;
}
}
}