fix wiki header

This commit is contained in:
ben clark 2021-03-17 20:38:37 +00:00
parent 6aa3394180
commit 33d07c0fee
2 changed files with 5 additions and 3 deletions

View File

@ -19,6 +19,10 @@ body {
.header-wiki {
padding: 80px 8px 140px 8px;
}
.subtitle {
margin:0;
line-height: 100%;
}
.header:after {
background: linear-gradient(-45deg, #fff 16px, transparent 0), linear-gradient(45deg, #fff 16px, transparent 0);

View File

@ -42,9 +42,7 @@ $include-before$
$endfor$
$if(title)$
<header class="header header-wiki $if(color)$ header-$color$$endif$" id="title-block-header">
<h1 style="white-space: pre-line" class="title">$title$</h1>
$if(subtitle)$<span style="font-size: 24px;" class="subtitle">$subtitle$</span>$endif$
<h1 style="white-space: pre-line" class="title">$title$$if(subtitle)$<p style="font-size: 24px;" class="subtitle">$subtitle$</p>$endif$</h1>
</header>
$endif$
<main>