From 8933705a095c7804c8d5b7c29d42ec7ec1e62c6c Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 19:57:46 +0800 Subject: [PATCH] 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 ++-- diff --git a/static/style.css b/static/style.css index d0d20ba398a9f224443f6c23899c113ce036d81d..1f6231d2b115259cc1652a058b7e89a6d1264671 100644 --- a/static/style.css +++ b/static/style.css @@ -37,5 +37,8 @@ padding: 3px 5px; 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 72fec06afae523150ab00bca1356c515fb9717c5..bc29cf11fb81774c12b9aa5c82100c3a2a9e8381 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 0af63d6beec65c48d6b1a6f6fa55fa02b85df745..cb5b26492c467d4f83a3038a29672646dda3d7b2 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 }}
- + -- 2.48.1
README.md