add nolympia announcement (#142)
All checks were successful
/ build (push) Successful in 15s

Reviewed-on: #142
Reviewed-by: stb <stb@noreply.git.hamburg.ccc.de>
This commit is contained in:
lilly 2026-05-23 23:32:20 +02:00 committed by lilly
commit 239598dc4e
4 changed files with 65 additions and 9 deletions

View file

@ -454,12 +454,17 @@ div.nav-aside {
margin: 15px var(--block-spacing-horizontal);
}
img {
padding: 15px var(--block-spacing-horizontal);
width: 100%;
height: 25cqw;
object-fit: cover;
object-position: top;
.image-container {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
img {
padding: 15px var(--block-spacing-horizontal);
max-width: 100%;
max-height: 100%;
}
}
}

View file

@ -46,8 +46,10 @@
{{- end }}
</div>
{{- if isset .Params "header" }}
{{- $img := .Resources.GetMatch .Params.header.image }}
<img class="container" src="{{ $img.RelPermalink }}" alt="{{ .Params.header.caption }}" />
{{- end }}
<div class="image-container">
{{- $img := .Resources.GetMatch .Params.header.image }}
<img src="{{ $img.RelPermalink }}" alt="{{ .Params.header.caption }}" />
{{- end }}
</div>
</header>
{{- end }}