From 8f24b454a39826beedf43587fad7be15b822a43b Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 23:42:02 +0800 Subject: [PATCH] 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 +- diff --git a/static/style.css b/static/style.css index 8116b0af86dd682ffdc8b8051cf8138439802363..3b9d5bdfb192443e0f9fe92c2234bf32670ace55 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 917b62e5f7134dae3361738adafa7cbde113a955..7d39ea9d779a49fb8aa20c52cf4fce263a8b4f92 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 5e0b4275b172fafae17ddc8e332ad1a2e13116c4..de3a643d242901651ede8c44a8015ae9c98030fa 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 664cce8a4a4c42e704d20a02a1d0f99349602b49..2cc3a840a2cca92bfc71f092973050d732700d0d 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 aa29542727c658dd53a6c0cc0543c064a2464050..ed8471f181b3d3a33fe0a9d9f939d061d4610b7c 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 7012cb1ca9f8a17af47bd9525b4eea10abffd2e9..269160835946c7a4f6439a37be028c650073b537 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" . }} -- 2.48.1