aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2024-09-01 18:55:12 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2024-09-01 18:55:12 -0500
commit2f9cffa891aafb1d7a2277885228544fb28a0889 (patch)
tree76724c8ef6f5233da9af6bdbb1e28e884bf4b069
parentb3dc7ad8554b7a32012d0aece92da7f949fff166 (diff)
downloadhugo-theme-tjkbasic-2f9cffa891aafb1d7a2277885228544fb28a0889.tar.xz
hugo-theme-tjkbasic-2f9cffa891aafb1d7a2277885228544fb28a0889.zip
make some extremely minor changes and fix the sticky header on mobile browsers
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--static/stylesheets/highlight.css1
-rw-r--r--static/stylesheets/style.css4
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 | title }}</title>
<meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<link rel="stylesheet" type="text/css" href="/stylesheets/highlight.css">
<link rel="stylesheet" type="text/css" href="/stylesheets/style.css">
{{- 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 {