Tweak site header formatting

This commit is contained in:
Jez Cope 2021-04-04 20:45:33 +01:00
parent 214d2deb12
commit 855a896c19
2 changed files with 15 additions and 15 deletions

View File

@ -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

View File

@ -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">