From 8f24b454a39826beedf43587fad7be15b822a43b Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 23:42:02 +0800 Subject: style.css, *.html: Lighthouse accessibility --- static/style.css | 2 +- templates/category_repos.html.tmpl | 2 +- templates/index.html.tmpl | 2 +- templates/repo_index.html.tmpl | 2 +- templates/repo_tree_dir.html.tmpl | 2 +- templates/repo_tree_file.html.tmpl | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/static/style.css b/static/style.css index 8116b0a..3b9d5bd 100644 --- a/static/style.css +++ b/static/style.css @@ -1,7 +1,7 @@ html { font-family: sans-serif; --link-color: hsl(320, 50%, 36%); - --light-text-color: hsl(0, 0%, 65%); + --light-text-color: hsl(0, 0%, 45%); --darker-border-color: hsl(0, 0%, 72%); --lighter-border-color: hsl(0, 0%, 85%); --text-decoration-color: hsl(0, 0%, 72%); diff --git a/templates/category_repos.html.tmpl b/templates/category_repos.html.tmpl index 917b62e..7d39ea9 100644 --- a/templates/category_repos.html.tmpl +++ b/templates/category_repos.html.tmpl @@ -1,6 +1,6 @@ {{- define "group_repos" -}} - + {{ template "head_common" . }} Repos in {{ .group_name }} – Lindenii Forge diff --git a/templates/index.html.tmpl b/templates/index.html.tmpl index 5e0b427..de3a643 100644 --- a/templates/index.html.tmpl +++ b/templates/index.html.tmpl @@ -1,6 +1,6 @@ {{- define "index" -}} - + {{ template "head_common" . }} Groups – Lindenii Forge diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index 664cce8..2cc3a84 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -1,6 +1,6 @@ {{- define "repo_index" -}} - + {{ template "head_common" . }} {{ .group_name }}/repos/{{ .repo_name }} – Lindenii Forge diff --git a/templates/repo_tree_dir.html.tmpl b/templates/repo_tree_dir.html.tmpl index aa29542..ed8471f 100644 --- a/templates/repo_tree_dir.html.tmpl +++ b/templates/repo_tree_dir.html.tmpl @@ -1,6 +1,6 @@ {{- define "repo_tree_dir" -}} - + {{ template "head_common" . }} {{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} – Lindenii Forge diff --git a/templates/repo_tree_file.html.tmpl b/templates/repo_tree_file.html.tmpl index 7012cb1..2691608 100644 --- a/templates/repo_tree_file.html.tmpl +++ b/templates/repo_tree_file.html.tmpl @@ -1,6 +1,6 @@ {{- define "repo_tree_file" -}} - + {{ template "head_common" . }} -- cgit v1.2.3