forked from southlondon/site
fix wiki header
This commit is contained in:
parent
6aa3394180
commit
33d07c0fee
4
main.css
4
main.css
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue