mirror of
https://git.zx2c4.com/cgit
synced 2025-08-04 18:14:48 +02:00
css: highlight even table rows and skip empty rows
This is stolen from kernel.org css [0]. [0] https://git.kernel.org/cgit-korg-0.10.1.css
This commit is contained in:
parent
44f8c11c8d
commit
81509a228c
3 changed files with 24 additions and 3 deletions
|
@ -321,7 +321,7 @@ void cgit_print_repolist(void)
|
|||
(last_section != NULL && section == NULL) ||
|
||||
(last_section != NULL && section != NULL &&
|
||||
strcmp(section, last_section)))) {
|
||||
htmlf("<tr class='nohover'><td colspan='%d' class='reposection'>",
|
||||
htmlf("<tr class='nohover-highlight'><td colspan='%d' class='reposection'>",
|
||||
columns);
|
||||
html_txt(section);
|
||||
html("</td></tr>");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue