grgr.me

latest commits to https://grgr.me/
Log | Files | Refs

commit 6536280ec68ea0b401c287275ae8c07eb352b521
parent aa1eefeb5623cceaf1c5eefbf9e5a31ec15fd0b9
Author: corndog <cauchyn@firemail.cc>
Date:   Wed, 17 Apr 2019 20:12:25 -0700

Add cooper class to CSS, apply it to toc summary

I want Cooper Hewitt font to be used for headings
and heading-like features.

Diffstat:
Min/static/style.css | 6++++--
Msite.tmpl | 2+-
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/in/static/style.css b/in/static/style.css @@ -26,13 +26,15 @@ button:hover { } h1, -h2 { +h2, +.cooper { font-family: "Cooper Hewitt", sans-serif; font-weight: 400; font-size: 1.05em; } -h2 { +h2, +.cooper { font-size: 1.025em; } diff --git a/site.tmpl b/site.tmpl @@ -42,7 +42,7 @@ Last modified: <time datetime="{{ .Format "2006-01-02" }}">{{ .Format "02 Jan 20 {{ define "toc" }} <details> -<summary>Contents</summary> +<summary class="cooper">Contents</summary> <div id="toc"></div> </details> {{ end }}