This commit is contained in:
Jorit Tijsen committed 2026-11-19 16:03:45 +01:00
1 parent 18ca2c32ca
commit 040d59a0e6
96 files changed
+1872 -862

No files matched your search

+45 -19
View File
@@ -18,7 +18,7 @@
/* Handle */
&::-webkit-scrollbar-thumb {
border-radius: 4px;
background: linear-gradient(to right, #10229c, #64a9f2);
background: var(--brand-primary);
}
.grid_view {
width: 300%;
@@ -34,17 +34,29 @@
.post {
position: relative;
height: CALC(100% - 10px);
margin: 0;
padding: 5px;
display: flex;
flex-direction: column;
background-color: $surface;
background-clip: content-box;
overflow: hidden;
@media (max-width: 768px) {
height: CALC(50% - 10px);
}
> a:first-child {
display: block;
flex: 1 1 auto;
min-height: 140px;
position: relative;
}
img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
filter: brightness(70%);
border-radius: 3px;
}
&.small {
@@ -52,12 +64,18 @@
}
.slider_content_box {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 15px;
position: relative;
flex: 0 0 auto;
padding: 14px 16px 16px;
background-color: $surface;
// tags over de afbeelding
.post_details {
position: absolute;
top: 0;
left: 14px;
z-index: 1;
transform: translateY(calc(-100% - 8px));
}
.post_details {
@include reset-list;
@@ -65,13 +83,14 @@
gap: 3px;
.category a {
padding: 6px 11px 7px;
border-radius: 3px;
background-image: linear-gradient(to right, #0d1ca3, #45aaf8);
font-family: Nunito, serif;
display: block;
border-radius: 999px;
background-color: $gold;
font-family: var(--font-base);
font-size: 10px;
font-weight: bold;
font-weight: 700;
text-align: center;
color: $text-inverted-color;
color: $primary;
text-decoration: none;
text-transform: uppercase;
}
@@ -81,11 +100,11 @@
margin: 15px 0 0 0;
}
h2 a, h5 a {
font-family: Montserrat, serif;
font-family: var(--font-base);
font-size: 30px;
font-weight: 600;
line-height: 1;
color: $text-inverted-color;
font-weight: 700;
line-height: 1.1;
color: $primary;
text-decoration: none;
}
h5 a {
@@ -101,7 +120,14 @@
}
.post_date {
@include post_date;
color: $text-inverted-color;
height: auto;
margin-top: 8px;
color: $dark;
font-weight: 600;
line-height: 1.4;
text-transform: uppercase;
font-size: 11px;
i { display: none; }
}
}
}