small fixes

This commit is contained in:
teldra 2022-06-15 15:29:45 +02:00
parent ee69e8d8d8
commit 18c0db6e7e
2 changed files with 6 additions and 6 deletions

View File

@ -5,10 +5,6 @@
height: calc(100vw / 3.5 );
}
.non_banner_height {
height: calc(50vw / 3 );
}
.banner {
width: 98vw;
background-repeat: no-repeat;
@ -40,6 +36,10 @@
0px 18px 23px rgba(0,0,0,0.1);
}
.non_bannertitle_class {
text-align: center;
margin-bottom: 8vh;
}
}
@media (min-width: 640px) {

View File

@ -121,8 +121,8 @@
{{ end }}
</div>
{{ else }}
<div class="banner non_banner_height">
{{ if not .IsHome }}<h1 class="{{ $title_class }}">{{ $title }}</h1> {{ end }}
<div class="banner b">
{{ if not .IsHome }}<h1 class="non_bannertitle_class">{{ $title }}</h1> {{ end }}
{{ if eq hugo.Environment "development" }}
<p>
{{ if eq .Params.banner false }}