Files
nhgooi.nl/resources/assets/sass/base/_base.scss
T
eric.busandClaude Opus 5.5 df8c8a9c4f Show at most 4 categories, the rest behind a '+N' tag
- New partial/tag_list: first 4 categories, then a '+N' tag that opens
  the remaining ones (hover/keyboard on desktop, tap on touch screens;
  short close delay so the mouse can reach the list)
- Used on the homepage, the article page and the news overview / tag
  pages (the latter now use the same pills instead of text links)
- Article page: tag row grows when the tags wrap (was a fixed height)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:48:50 +01:00

65 lines
1.1 KiB
SCSS
Vendored

@use "../abstracts/variables" as *;
@use "../abstracts/fonts";
@use "../abstracts/brand";
@use "clearfix";
@use "container";
@use "../components/button";
@use "../components/pretty_photo";
@use "../components/cookie";
@use "../components/tags";
@use "../components/list";
@use "../components/banners";
@use "../components/contact_form";
@use "../layout";
@use "mobile";
.mejs__overlay-button {
border: none;
}
.clipText {
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
}
@for $i from 1 through (10) {
.clipText-#{$i} {
-webkit-line-clamp: $i;
}
}
a, a:hover, a:active {
color: var(--brand-primary);
}
@media (min-width: 768px) {
.md_padding_top_80 {
padding-top: 80px
}
}
html {
background-color: $primary;
}
body {
font-family: var(--font-base);
background-color: $primary;
color: $dark;
}
a, a:hover, a:active {
color: $primary;
}
.page_title, .page_title2 {
color: $text-color;
font-family: var(--font-base);
font-weight: 600;
}
.tag, .post_tags li a, .category a {
background-color: $gold;
color: $dark;
}