aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-05-30 08:16:06 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-05-30 08:16:06 +0200
commit054f2a628ddec3fc1f301f4f01da7646199c9b0b (patch)
treec96c342fba21f68bd00d309ecd283efa1d57b1a2
parentf1bf2fb68416b9da50eedd1e6fe97627c21f704f (diff)
page.c: Apply lightgray background to even cells
This will help users to navigate through large tables.
-rw-r--r--page.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/page.c b/page.c
index 6c67484..cb2bffb 100644
--- a/page.c
+++ b/page.c
@@ -1330,6 +1330,10 @@ int page_style(struct http_response *const r)
" display: flex;\n"
" justify-content: center;\n"
" text-decoration: auto;\n"
+ "}\n"
+ "tr:nth-child(even)\n"
+ "{\n"
+ " background-color: lightgray;\n"
"}\n";
*r = (const struct http_response)