small fixes

This commit is contained in:
teldra 2022-06-15 15:46:35 +02:00
parent fafe85ca98
commit 7fd5961a78
2 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,8 @@
.b {
height: calc(100vw / 3.5 );
height: calc(100vw / 4.5 );
}
.b_index {
height: calc(100vw / 3.5 );
height: calc(100vw / 4.5 );
}
.banner {
@ -39,6 +39,7 @@
}
.altbg {
background: var(--background-alt);
height: calc(100vw / 5.5 );
}
@media (min-width: 640px) {

View File

@ -123,10 +123,11 @@
{{ else }}
<div class="banner b altbg">
{{ if eq hugo.Environment "development" }}
<div style="color: red; background: white;">
{{ if eq .Params.banner false }}
banner is off
<div style="color: black; background: white;">
Info: Banner is turned off for this.
{{ else }}
<div style="color: red; background: white;">
{{ if eq $single true }}
{{ with .File }}
{{ printf "content/%sbanner* missing.." .Dir }}