aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
commitd86f1547b3e64038ccf9f98e2c7f45aa1d2b3329 (patch)
tree94058d99171bda0e353fd166ee7648c59429899d
parent24252c0df0008994a1ee6935d7ecd26352465db3 (diff)
downloadhugo-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
-rw-r--r--layouts/404.html2
-rw-r--r--layouts/_default/archive.terms.html2
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/_default/search.html2
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/_default/terms.html2
-rw-r--r--layouts/index.html2
7 files changed, 7 insertions, 7 deletions
diff --git a/layouts/404.html b/layouts/404.html
index 9994e0c..c2f0c31 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,5 +1,5 @@
{{ define "main" }}
-<div id="content" class="bg-near-white pb2">
+<div id="content" class="bg-near-white pb2 pt5">
<header class="tc ph5 lh-copy">
<h1 class="f1 f-headline-l code dib orange">404</h1>
<h2 class="tc f1-l fw1">Sorry, we can't find the page you are looking for.</h2>
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">
diff --git a/layouts/index.html b/layouts/index.html
index 30c38ae..eb6d5c6 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,5 +1,5 @@
{{ define "main" }}
-<div id="content" class="bg-near-white pb2">
+<div id="content" class="bg-near-white pb2 pt4">
<!-- Note that .Data.Pages is the equivalent of .Site.Pages on the homepage template. -->
{{ $paginator := .Paginate (where .Data.Pages "Section" "post") }}