forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
ee69e8d8d8
commit
18c0db6e7e
|
@ -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) {
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user