aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.css
diff options
context:
space:
mode:
authorJeff Smith <whydoubt@gmail.com>2017-10-02 06:39:08 +0200
committerJohn Keeping <john@keeping.me.uk>2017-10-03 20:19:34 +0200
commitc1cd290d1f83d3d1c2d081d734e8d213f12cc06b (patch)
treead5027076d139912140c45b6baec2d390389f7a1 /cgit.css
parentf6ffe40d1a2c985494e48dc2d36663ffde1e6044 (diff)
downloadcgit-c1cd290d1f83d3d1c2d081d734e8d213f12cc06b.tar.gz
cgit-c1cd290d1f83d3d1c2d081d734e8d213f12cc06b.tar.xz
ui-blame: add blame UI
Implement a page which provides the blame view of a specified file. This feature is controlled by a new config variable, "enable-blame", which is disabled by default. Signed-off-by: Jeff Smith <whydoubt@gmail.com> Reviewed-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'cgit.css')
-rw-r--r--cgit.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index 1dc2c11..836f8ae 100644
--- a/cgit.css
+++ b/cgit.css
@@ -329,6 +329,14 @@ div#cgit table.ssdiff td.lineno a:hover {
color: black;
}
+div#cgit table.blame tr:nth-child(even) {
+ background: #eee;
+}
+
+div#cgit table.blame tr:nth-child(odd) {
+ background: white;
+}
+
div#cgit table.bin-blob {
margin-top: 0.5em;
border: solid 1px black;