diff options
author | Jeff Smith | 2017-10-17 23:17:34 -0500 |
---|---|---|
committer | Jason A. Donenfeld | 2018-01-19 11:40:55 +0100 |
commit | aafc42d8089437db5105feb12d540c33fe9f9e16 (patch) | |
tree | 1d30014cd12b5b4136b8555092355f07acb206c4 /cgit.css | |
parent | 2b95c9d49c8581e2b19efca1613ada292f56bf08 (diff) | |
download | cgit-aafc42d8089437db5105feb12d540c33fe9f9e16.tar.gz cgit-aafc42d8089437db5105feb12d540c33fe9f9e16.tar.bz2 cgit-aafc42d8089437db5105feb12d540c33fe9f9e16.zip |
ui-blame: Make each column into a single table cell
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.css | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -330,11 +330,26 @@ div#cgit table.ssdiff td.lineno a:hover { | |||
330 | color: black; | 330 | color: black; |
331 | } | 331 | } |
332 | 332 | ||
333 | div#cgit table.blame tr:nth-child(even) { | 333 | div#cgit table.blame td.hashes, |
334 | div#cgit table.blame td.lines, | ||
335 | div#cgit table.blame td.linenumbers { | ||
336 | padding: 0; | ||
337 | } | ||
338 | |||
339 | div#cgit table.blame td.hashes div.alt, | ||
340 | div#cgit table.blame td.lines div.alt { | ||
341 | padding: 0 0.5em 0 0.5em; | ||
342 | } | ||
343 | |||
344 | div#cgit table.blame td.linenumbers div.alt { | ||
345 | padding: 0 0.5em 0 0; | ||
346 | } | ||
347 | |||
348 | div#cgit table.blame div.alt:nth-child(even) { | ||
334 | background: #eee; | 349 | background: #eee; |
335 | } | 350 | } |
336 | 351 | ||
337 | div#cgit table.blame tr:nth-child(odd) { | 352 | div#cgit table.blame div.alt:nth-child(odd) { |
338 | background: white; | 353 | background: white; |
339 | } | 354 | } |
340 | 355 | ||