small fixes
This commit is contained in:
parent
2f2fad146d
commit
9af172fdc4
|
@ -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) {
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue