small fixes

This commit is contained in:
teldra 2022-06-15 15:37:23 +02:00
parent 2f2fad146d
commit 9af172fdc4
2 changed files with 7 additions and 8 deletions

View File

@ -25,7 +25,7 @@
0px 18px 23px rgba(0,0,0,0.1);
}
.title {
.title, {
background: var(--background-body-opaq);
word-break: break-all;
color: var(--text-main);
@ -36,10 +36,9 @@
0px 18px 23px rgba(0,0,0,0.1);
}
.non_bannertitle_class {
text-align: center;
margin-bottom: 16vh;
}
}
.altbg {
background: var(--background-alt);
}
@media (min-width: 640px) {
@ -47,5 +46,5 @@
width: 89%;
margin-left: auto;
margin-right: auto;
}
}
}

View File

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