Tweak site header formatting
This commit is contained in:
parent
214d2deb12
commit
855a896c19
|
@ -114,12 +114,14 @@ h6, .content h6
|
||||||
.site-title
|
.site-title
|
||||||
@extend h1
|
@extend h1
|
||||||
|
|
||||||
font-style: italic
|
|
||||||
padding-left: 0
|
padding-left: 0
|
||||||
|
|
||||||
&:before
|
&:before
|
||||||
content: none
|
content: none
|
||||||
|
|
||||||
|
.site-description
|
||||||
|
background-color: $white-ter
|
||||||
|
|
||||||
.toc
|
.toc
|
||||||
@extend .panel
|
@extend .panel
|
||||||
@extend .is-size-7
|
@extend .is-size-7
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section class="hero">
|
<section class="hero px-3 site-description">
|
||||||
<div class="hero-body">
|
<div class="hero-body container">
|
||||||
<div class="container">
|
<div class="columns is-centered">
|
||||||
<div class="columns">
|
<div class="column is-three-fifths">
|
||||||
<div class="column is-8 is-offset-2">
|
|
||||||
{{ with .Site.Params.Description }}{{.}}{{ end }}
|
{{ with .Site.Params.Description }}{{.}}{{ end }}
|
||||||
{{ with .Site.Params.Topics }}
|
{{ with .Site.Params.Topics }}
|
||||||
{{ $last := sub (len .) 1 }}
|
{{ $last := sub (len .) 1 }}
|
||||||
|
@ -15,7 +14,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<main class="mt-6">
|
<main class="mt-6">
|
||||||
|
|
Loading…
Reference in New Issue