aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2018-07-15 04:03:33 +0200
committerÓscar Nájera <hello@oscarnajera.com>2018-07-15 04:03:33 +0200
commit9cf03e436ed50ec6646e241a47308758002a56d4 (patch)
tree0ca5bf2004eee6d0224ab4ae42e278029196d3ff /layouts/_default
parent46ee5bd2810850456b49499894ba3b838a167e24 (diff)
downloadhugo-minimalist-theme-9cf03e436ed50ec6646e241a47308758002a56d4.tar.gz
hugo-minimalist-theme-9cf03e436ed50ec6646e241a47308758002a56d4.tar.bz2
hugo-minimalist-theme-9cf03e436ed50ec6646e241a47308758002a56d4.zip
styling and footer
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/_default/single.html6
-rw-r--r--layouts/_default/summary.html6
3 files changed, 7 insertions, 7 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index c4963da..134feff 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
- <body>
+ <body class="bg-near-white sans-serif">
{{- partial "header.html" . -}}
{{- block "main" . }}{{- end }}
{{- partial "footer.html" . -}}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 57adda2..c884591 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -3,7 +3,7 @@
<div class="w-100 vh-50 dt bg-center cover bg-gray"
style="background-image:url({{ .Params.coverimage }})">
<header class="dt pa5 mw7 center post-header white">
- <h1 class="f1 tc">
+ <h1 class="f1 lh-title">
{{ .Title }}</h1>
<div class="f4 tracked">{{ .Date.Format "Mon, Jan 2, 2006" }}</div>
@@ -16,9 +16,9 @@
</div>
<footer class="ph3">
- <h1 class="f5 ttu trackex">Tagged in</br></h1>
+ <h1 class="f5 ttu black-60">Tagged in</br></h1>
{{ range .Params.tags }}
- <a class="f5 link dim br1 ph3 pv3 blue dib mb2 hover-bg-black hover-white ba" href="{{ $.Site.LanguagePrefix }}/tags/{{ . | urlize }}/">{{ . }}</a>
+ <a class="f5 link dim br1 ph3 pv2 blue dib mb2 hover-bg-black hover-white ba" href="{{ $.Site.LanguagePrefix }}/tags/{{ . | urlize }}/">{{ . }}</a>
{{ end }}
</footer>
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index acfd2c4..6348bbc 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -1,17 +1,17 @@
<article class="bt bb b--black-10">
<a href='{{ .Permalink }}' class="db pv4 ph3 black no-underline dim">
<header>
- <h1 class="f3 black-90">
+ <h1 class="f2 lh-title black-90 ">
{{ .Title }}
</h1>
<div class="gray">{{ .Date.Format "Mon, Jan 2, 2006" }} - {{ .FuzzyWordCount }} Words </div>
</header>
- <p class="f5 lh-copy black-80">
+ <p class="f4 lh-copy black-80">
{{ .Summary }}
</p>
<footer>
- <nobr>Read more →</nobr>
+ <nobr class="link">Continue reading →</nobr>
{{ with .Params.thumbnailImage }}
<img src="{{ . }}" class="mt2 br2">
{{ end }}