Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/papercss-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Betz <zwbetz@gmail.com>2019-02-27 18:28:35 +0300
committerZachary Betz <zwbetz@gmail.com>2019-02-27 18:28:35 +0300
commit015563f1f74e82fc088b51b5ef6f6e9277d75cce (patch)
tree5859bff36999219c8462b6bb9e7d24ec5921db23
parente740d6c32a7b385c77eafc60a08a07af220384e2 (diff)
Use main element. Tweak toc font size
-rw-r--r--assets/css/custom.css3
-rw-r--r--layouts/_default/baseof.html4
2 files changed, 4 insertions, 3 deletions
diff --git a/assets/css/custom.css b/assets/css/custom.css
index fdef350..500083a 100644
--- a/assets/css/custom.css
+++ b/assets/css/custom.css
@@ -41,10 +41,9 @@ blockquote {
/* toc */
.toc {
- font-size: 0.85em;
padding: 1em;
margin-top: 1em;
}
.toc h2 {
- font-size: 1.15em;
+ font-size: 1.3em;
} \ No newline at end of file
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 5eb6408..40335dc 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -4,7 +4,9 @@
<body>
<div class="container paper">
{{ partial "nav.html" . }}
- {{ block "main" . }}{{ end }}
+ <main>
+ {{ block "main" . }}{{ end }}
+ </main>
{{ partial "google-analytics-async.html" . }}
</div>
</body>