diff options
author | Franck Cuny <franck@fcuny.net> | 2022-11-12 12:00:07 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-11-12 12:00:07 -0800 |
commit | 59fd62e554180f83f44789592151d3b0decf8ba0 (patch) | |
tree | 577fe585713e638832dd1a951c9d7e87d3ef051d /layouts | |
parent | docs: update README (diff) | |
download | fcuny.net-59fd62e554180f83f44789592151d3b0decf8ba0.tar.gz |
ref: some CSS tweaks to make the site more readable
Set the color to something lighter, closer to white. Increase the size of the font. Add a small border with color for h2 headers.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 10 | ||||
-rw-r--r-- | layouts/partials/header.html | 2 |
2 files changed, 5 insertions, 7 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index da0a3e5..4312eec 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -13,21 +13,19 @@ {{- $mod = .Page.GitInfo.CommitDate.Format "Jan 2, 2006" -}} {{ end -}} {{ if eq $pub $mod }} - <div id="meta_date">posted on {{ $pub }}</div> + <span id="meta_date">posted on {{ $pub }}</span> {{ else }} - <div id="meta_date">posted on {{ $pub }} - last modified {{ $mod }}</div> + <span id="meta_date">posted on {{ $pub }} - last modified {{ $mod }}</span> {{ end }} {{ if .Params.tags }} - <div> {{ if eq (len .Params.tags) 1 }} - tag: + with tag: {{ else }} - tags: + with tags: {{ end }} {{ range $idx, $tag := .Params.tags }} <span id="meta_tags"><a href="/tags/{{ $tag | urlize }}/">{{ $tag }}</a></span> {{ end }} - </div> {{ end }} </div> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2124bde..26a77d1 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,6 +1,6 @@ <header> <nav class="navbar"> - <h2><a rel="author" href="{{ .Site.BaseURL }}">franck cuny</a></h2> + <h1 id="header"><a rel="author" href="{{ .Site.BaseURL }}">franck cuny</a></h1> {{ range .Site.Menus.main }} <a class="nav-bold" href="{{ absURL .URL }}">{{ .Title }}</a> <span class="bar">|</span> |