diff options
| -rw-r--r-- | cgit.css | 41 |
1 files changed, 19 insertions, 22 deletions
@@ -126,12 +126,8 @@ body { padding: 0 1em; } -#cgit .list[summary="repository info"] tr:nth-child(2n+1) > td { - background-color: #F7FBFC; -} - -#cgit .list[summary="tree listing"] tr:nth-child(2n+1) > td { - background-color: #F7FBFC; +#cgit .list tr:last-child td { + border-bottom: 1px solid #C5D5DD; } #cgit .list th:first-child, @@ -144,37 +140,38 @@ body { border-right: 1px solid #C5D5DD; } -#cgit .list[summary="repository info"] tr.nohover + tr:not(.nohover) > td { - border-top: 1px solid #C5D5DD; +#cgit .list tr:hover > td { + background-color: #FCFCE2 !important; } -#cgit .list tr:hover > td { - background-color: #FCFCE2; +#cgit .list .nohover:hover > td { + background-color: transparent !important; } -#cgit .list[summary="repository info"] tr:not(.nohover) + tr.nohover { - border-top: 1px solid #C5D5DD; +#cgit .list .nohover > td { + background-color: transparent !important; } -#cgit .list[summary="repository info"] tr:last-of-type { - border-bottom: 1px solid #C5D5DD; +#cgit .list[summary="repository info"] tr:nth-child(2n+1) > td { + background-color: #F7FBFC; } -#cgit .list[summary="repository info"] tr.nohover { - border-bottom: none; +#cgit .list[summary="tree listing"] tr:nth-child(2n+1) > td { + background-color: #F7FBFC; } -#cgit .list[summary="repository info"] tr:last-of-type > td { - border-top: 1px solid #C5D5DD; +#cgit .list[summary="repository info"] tr:not(.nohover) + .nohover { + border-top: 1px solid #C5D5DD !important; } -#cgit .list[summary="repository info"] tr.nohover > td { +#cgit .list[summary="repository info"] .nohover > td { background: transparent; - border: none; + border-left: none; + border-right: none; } -#cgit .list tr:last-child { - border-bottom: 1px solid #C5D5DD; +#cgit .list[summary="repository info"] tr:last-of-type > td { + border: none; } #cgit .list .commitgraph { |
