tindex: highlight row on mouseover - stagit - static git page generator
 (HTM) git clone git://src.adamsgaard.dk/stagit
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 63a71643d00b1b407bb12eda34ac0755b4d9c950
 (DIR) parent 9295d3f1903621475a3a8ea907941598fdc50697
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sat, 26 Dec 2015 12:54:09 +0100
       
       index: highlight row on mouseover
       
       Diffstat:
         M style.css                           |       2 +-
         M urmoms-index.c                      |       2 +-
       
       2 files changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/style.css b/style.css
       t@@ -38,7 +38,7 @@ table td {
                padding: 0 0.4em;
        }
        
       -#log tr:hover td, #files tr:hover td {
       +#index tr:hover td, #log tr:hover td, #files tr:hover td {
                background-color: #eee;
        }
        
 (DIR) diff --git a/urmoms-index.c b/urmoms-index.c
       t@@ -108,7 +108,7 @@ writeheader(FILE *fp)
                        "<td><h1>%s</h1><span class=\"desc\">%s</span></td></tr><tr><td></td><td>\n",
                        relpath, name, description);
                fputs("</td></tr>\n</table>\n<hr/><div id=\"content\">\n"
       -              "<table><thead>\n"
       +              "<table id=\"index\"><thead>\n"
                      "<tr><td>Name</td><td>Description</td><td>Owner</td><td>Last commit</td></tr>"
                      "</thead><tbody>\n", fp);