aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/author.html4
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/_default/search.html18
-rw-r--r--layouts/_default/single.html10
5 files changed, 18 insertions, 18 deletions
diff --git a/layouts/_default/author.html b/layouts/_default/author.html
index a0bb1fa..ad1602f 100644
--- a/layouts/_default/author.html
+++ b/layouts/_default/author.html
@@ -6,7 +6,7 @@
{{- $rawContentSections := split .RawContent $sectionDelimiter -}}
{{ range $rawContentSections }}
<div class="stripe-dark">
- <div class="mw7 center pv2 lh-copy f4-ns ph1 main-content">
+ <div class="max-w-screen-md mx-auto py-2 lh-copy f4-ns px-1 main-content">
{{ . | markdownify }}
</div>
</div>
@@ -15,7 +15,7 @@
{{ with where .Pages "Type" "publication" }}
{{ if gt (len .) 0 }}
<div class="stripe-dark">
- <div class="mw7 center pv2 lh-copy f4-ns ph1">
+ <div class="max-w-screen-md mx-auto py-2 lh-copy f4-ns px-1">
<h2 class="baskerville lh-title f2">Publications</h2>
{{ range . }}
{{ partial "post.html" . }}
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 4570a3d..ffdabc9 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -4,7 +4,7 @@
<body class="bg-white">
{{- partial "header.html" . -}}
{{ block "hero" . }}{{ end }}
- <div id="content" class="min-vh-100 avenir">
+ <div id="content" class="min-h-screen font-sans">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index d653b32..0eeb8c7 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -3,7 +3,7 @@
{{ end }}
{{ define "main" }}
- <div class="mw7 center pa1">
+ <div class="max-w-screen-md mx-auto p-1">
{{ range .Paginator.Pages.ByPublishDate.Reverse }}
{{ partial "post.html" . }}
{{ end }}
diff --git a/layouts/_default/search.html b/layouts/_default/search.html
index 41596de..e297398 100644
--- a/layouts/_default/search.html
+++ b/layouts/_default/search.html
@@ -1,7 +1,7 @@
{{ define "main" }}
- <div class="mw7 center pa1">
+ <div class="max-w-screen-md mx-auto p-1">
<header>
- <h2 class="baskerville f2 lh-title mv3 ph1">
+ <h2 class="baskerville f2 lh-title my-4 px-1">
{{ T "search" }}
</h2>
</header>
@@ -11,25 +11,25 @@
id="search-query"
name="q"
placeholder="{{ T "search_placeholder" }}"
- class="near-black pa2 w-100"
+ class="near-black p-2 w-100"
/>
</form>
- <div id="search-results" class="mv2">
- <p class="pa3 f4 fw6 tc">{{ T "search_request" }}</p>
+ <div id="search-results" class="my-2">
+ <p class="p-4 f4 fw6 tc">{{ T "search_request" }}</p>
</div>
</div>
<template id="no-match">
- <p class="bg-washed-red pa3 dark-red f4 fw6 tc br2 b--light-red ba">
+ <p class="bg-washed-red p-4 dark-red f4 fw6 tc br2 b--light-red ba">
{{ T "no_match_found" }}
</p>
</template>
<template id="search-result-template">
- <article class="pv2 bt bb b--black-10 search_summary">
- <a class="link dim near-black search_link" href="">
+ <article class="py-2 bt bb b--black-10 search_summary">
+ <a class="dim near-black search_link" href="">
<time class="fr f6 lh-copy ph4 search_time"></time>
- <h3 class="f3 baskerville mv1 lh-title search_title"></h3>
+ <h3 class="f3 baskerville my-1 lh-title search_title"></h3>
<div class="f5 lh-copy search_snippet"></div>
</a>
</article>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index cad6a35..00132c3 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,11 +1,11 @@
{{ define "main" }}
- <header class="mw7 center">
- <h1 class="baskerville f1 lh-title mv3 ph1">
+ <header class="max-w-screen-md mx-auto">
+ <h1 class="baskerville f1 lh-title my-4 px-1">
{{ .Title }}
</h1>
{{ with .Params.subtitle }}
- <h3 class="f3 baskerville mv3 pa1">{{ . }}</h3>
+ <h3 class="f3 baskerville my-4 p-1">{{ . }}</h3>
{{ end }}
{{ partial "meta_links.html" . }}
@@ -15,7 +15,7 @@
{{ 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>
{{ partial "image-gallery" . }}
@@ -23,7 +23,7 @@
{{ if .Site.Params.tipping }}
{{ partial "tipping" . }}
{{ end }}
- <div class="f5 f4-ns lh-copy pv2">
+ <div class="f5 f4-ns lh-copy py-2">
{{ if in (slice "post" "talk") .Section }}
{{ range .Params.authors }}
{{ $name := . }}