From 8933705a095c7804c8d5b7c29d42ec7ec1e62c6c Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 19:57:46 +0800 Subject: repo_{index,tree_dir}.html, style.css: Darker table title row --- static/style.css | 3 +++ templates/repo_index.html | 6 +++--- templates/repo_tree_dir.html | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/static/style.css b/static/style.css index d0d20ba..1f6231d 100644 --- a/static/style.css +++ b/static/style.css @@ -37,5 +37,8 @@ td, th { border: var(--border-color) solid 1px; } th { + background-color: var(--lighter-box-background-color); +} +tr.title-row > th { background-color: var(--darker-box-background-color); } diff --git a/templates/repo_index.html b/templates/repo_index.html index 72fec06..bc29cf1 100644 --- a/templates/repo_index.html +++ b/templates/repo_index.html @@ -9,7 +9,7 @@
- + @@ -38,7 +38,7 @@
Recent Commits
- + @@ -67,7 +67,7 @@ {{ if .readme }}
/ on {{ .ref }}
- + diff --git a/templates/repo_tree_dir.html b/templates/repo_tree_dir.html index 0af63d6..cb5b264 100644 --- a/templates/repo_tree_dir.html +++ b/templates/repo_tree_dir.html @@ -9,7 +9,7 @@
README.md
- + @@ -40,7 +40,7 @@ {{ if .readme }}
/{{ .path_spec }}/ on {{ .ref }}
- + -- cgit v1.2.3
README.md