aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/project
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/project')
-rw-r--r--layouts/project/single.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/project/single.html b/layouts/project/single.html
index eacb6d1..c48a2cf 100644
--- a/layouts/project/single.html
+++ b/layouts/project/single.html
@@ -1,28 +1,28 @@
{{- define "main" -}}
- <header class="mw7 center">
- <h2 class="baskerville f2 lh-title mv3 ph1">
+ <header class="max-w-screen-md mx-auto">
+ <h2 class="baskerville f2 lh-title my-4 px-1">
{{ .Title }}
</h2>
{{ with .Params.subtitle }}
- <h3 class="f3 baskerville mv3 pa1">{{ . }}</h3>
+ <h3 class="f3 baskerville my-4 p-1">{{ . }}</h3>
{{ end }}
{{ partial "meta_links.html" . }}
{{ partial "leading_image.html" . }}
</header>
- <div class="main-content mw7 center lh-copy f5 f4-ns ph1">
+ <div class="main-content max-w-screen-md mx-auto lh-copy f5 f4-ns px-1">
{{ .Content }}
</div>
- <div class="mw7 center ph1">
+ <div class="max-w-screen-md mx-auto px-1">
{{ $page := . }}
{{ $project := .File.ContentBaseName }}
{{ $items := where (where site.RegularPages "Type" "post") ".Params.projects" "intersect" (slice $project) }}
{{ $count := len $items }}
{{ if ge $count 1 }}
- <h2 class="f2 fw3 ma0">Related Posts</h2>
+ <h2 class="f2 fw3 m-0">Related Posts</h2>
{{ range $index, $item := $items }}
{{ partial "post.html" . }}
{{ end }}
@@ -31,7 +31,7 @@
{{ $items := where (where site.RegularPages "Type" "publication") ".Params.projects" "intersect" (slice $project) }}
{{ $pubs_len := len $items }}
{{ if ge $pubs_len 1 }}
- <h2 class="f2 fw3 ma0">Related Publications</h2>
+ <h2 class="f2 fw3 m-0">Related Publications</h2>
{{ range $index, $item := $items }}
{{ partial "post.html" . }}
{{ end }}
@@ -40,7 +40,7 @@
{{ $items := where (where site.RegularPages "Type" "event") ".Params.projects" "intersect" (slice $project) }}
{{ $talks_len := len $items }}
{{ if ge $talks_len 1 }}
- <h2 class="f2 fw3 ma0">Related Talks</h2>
+ <h2 class="f2 fw3 m-0">Related Talks</h2>
{{ range $index, $item := $items }}
{{ partial "post.html" . }}
{{ end }}