From 2f9cffa891aafb1d7a2277885228544fb28a0889 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Sun, 1 Sep 2024 18:55:12 -0500 Subject: make some extremely minor changes and fix the sticky header on mobile browsers --- layouts/_default/baseof.html | 2 +- static/stylesheets/highlight.css | 1 + static/stylesheets/style.css | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index d91f60f..18ea135 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,7 +5,7 @@ {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ $title | title }} - + {{- block "head" . }}{{- end }} diff --git a/static/stylesheets/highlight.css b/static/stylesheets/highlight.css index 035b2d0..ea6d80c 100644 --- a/static/stylesheets/highlight.css +++ b/static/stylesheets/highlight.css @@ -90,3 +90,4 @@ /* nginx LiteralString */ .chroma code.language-nginx .s { color: #ffffff } /* sh NameVariable */ .chroma code.language-sh .nv { color: #8ec07c } /* sh CommentPreproc */ .chroma .cp { color: #928374 } +/* yaml NameTag */ .chroma code.language-yaml .nt { color: #83a598 } diff --git a/static/stylesheets/style.css b/static/stylesheets/style.css index 0006ba3..2ab67d4 100644 --- a/static/stylesheets/style.css +++ b/static/stylesheets/style.css @@ -5,6 +5,7 @@ body { margin: 0 0 1.5em 0; color: white; font-family: serif; + text-underline-offset: 2.25px; } header { @@ -16,6 +17,7 @@ header { user-select: none; position: sticky; top: 0; + overflow: clip; } #title { @@ -112,7 +114,7 @@ ol, ul, pre code { } .alpha-ol ol { - list-style-type: upper-alpha; + list-style-type: lower-alpha; } img, figcaption { -- cgit v1.2.3