diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-10 23:42:02 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-10 23:42:02 +0800 |
commit | 8f24b454a39826beedf43587fad7be15b822a43b (patch) | |
tree | b69aa9aa536d6b31fecdd55ccf458a514f88cafa | |
parent | index: Categories -> groups again (diff) | |
download | forge-8f24b454a39826beedf43587fad7be15b822a43b.tar.gz forge-8f24b454a39826beedf43587fad7be15b822a43b.tar.zst forge-8f24b454a39826beedf43587fad7be15b822a43b.zip |
style.css, *.html: Lighthouse accessibility
Diffstat (limited to '')
-rw-r--r-- | static/style.css | 2 | ||||
-rw-r--r-- | templates/category_repos.html.tmpl | 2 | ||||
-rw-r--r-- | templates/index.html.tmpl | 2 | ||||
-rw-r--r-- | templates/repo_index.html.tmpl | 2 | ||||
-rw-r--r-- | templates/repo_tree_dir.html.tmpl | 2 | ||||
-rw-r--r-- | 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" -}} <!DOCTYPE html> -<html> +<html lang="en"> <head> {{ template "head_common" . }} <title>Repos in {{ .group_name }} – Lindenii Forge</title> 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" -}} <!DOCTYPE html> -<html> +<html lang="en"> <head> {{ template "head_common" . }} <title>Groups – Lindenii Forge</title> 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" -}} <!DOCTYPE html> -<html> +<html lang="en"> <head> {{ template "head_common" . }} <title>{{ .group_name }}/repos/{{ .repo_name }} – Lindenii Forge</title> 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" -}} <!DOCTYPE html> -<html> +<html lang="en"> <head> {{ template "head_common" . }} <title>{{ .group_name }}/repos/{{ .repo_name }}/{{ .path_spec }}{{ if ne .path_spec "" }}/{{ end }} – Lindenii Forge</title> 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" -}} <!DOCTYPE html> -<html> +<html lang="en"> <head> {{ template "head_common" . }} <link rel="stylesheet" href="/static/chroma.css" /> |