diff options
author | Óscar Nájera <hello@oscarnajera.com> | 2018-07-25 17:24:47 +0200 |
---|---|---|
committer | Óscar Nájera <hello@oscarnajera.com> | 2018-07-25 17:24:47 +0200 |
commit | d86f1547b3e64038ccf9f98e2c7f45aa1d2b3329 (patch) | |
tree | 94058d99171bda0e353fd166ee7648c59429899d /layouts/_default | |
parent | 24252c0df0008994a1ee6935d7ecd26352465db3 (diff) | |
download | hugo-minimalist-theme-d86f1547b3e64038ccf9f98e2c7f45aa1d2b3329.tar.gz hugo-minimalist-theme-d86f1547b3e64038ccf9f98e2c7f45aa1d2b3329.tar.bz2 hugo-minimalist-theme-d86f1547b3e64038ccf9f98e2c7f45aa1d2b3329.zip |
fix because top navbar is fixed need top padding in content
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/archive.terms.html | 2 | ||||
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/_default/search.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/_default/terms.html | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/archive.terms.html b/layouts/_default/archive.terms.html index 0233daa..7b5a540 100644 --- a/layouts/_default/archive.terms.html +++ b/layouts/_default/archive.terms.html @@ -1,5 +1,5 @@ {{ define "main" }} -<div id="content" class="bg-near-white pa2"> +<div id="content" class="bg-near-white pa2 pt5"> {{ range (where .Site.RegularPages "Section" "post").GroupByDate "2006" }} <section class="f4 bb b--black-40 mw7 center"> <h4 class="">{{ .Key }}</h4> diff --git a/layouts/_default/list.html b/layouts/_default/list.html index dd42aa7..c9839f8 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,5 +1,5 @@ {{ define "main" }} -<section class="bg-near-white pb2"> +<section class="bg-near-white pb2 pt4"> {{ range .Paginator.Pages }} {{ .Render "summary" }} {{ end }} diff --git a/layouts/_default/search.html b/layouts/_default/search.html index 817f4b5..4bf77f2 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -6,7 +6,7 @@ {{ end }} {{ define "main" }} -<section class="bg-near-white"> +<section class="bg-near-white pt5"> <div class="mw7 center pv4" > <form action="{{ .Permalink }}"> <input id="search-query" name="s"/> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 93492aa..a69310e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ define "main" }} <article> - <div id="post-header-cover" class="w-100 vh-50 dt bg-center cover bg-black-30" + <div id="post-header-cover" class="w-100 vh-50 dt bg-center cover bg-black-30 pt4" {{ with .Params.coverimage }} style="background-image:url({{ . }})" {{ end }} > diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 37bdb87..42d5541 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -1,5 +1,5 @@ {{ define "main" }} -<div id="content" class="bg-near-white pa2"> +<div id="content" class="bg-near-white pa2 pt5"> <section class="mw7 center"> {{ range .Data.Terms.ByCount }} <h4 class="f4"> |