diff options
| -rw-r--r-- | cgit.css | 45 |
1 files changed, 37 insertions, 8 deletions
@@ -205,21 +205,50 @@ body { } #cgit .tabs { - background: #E7ECEE; - border: 1px solid #D2D9DD; + /*background: #E7ECEE; + border: 1px solid #D2D9DD; */ margin: 1em auto; width: 902px; + border-collapse: collapse; + border-bottom: 1px solid #eee; + background-image: linear-gradient(to top, #F6F6F6 0%, #FFF 8px); } -#cgit .tabs td a { - border-left: 1px solid #D2D9DD; - box-sizing: border-box; - -moz-box-sizing: border-box; - padding: 0 0.3em; +#cgit .tabs td { + padding: 0; +} + +#cgit .tabs a { + padding: 0 0.5em; + margin: 0 0.2em; + background: white; +} + +#cgit .tabs .active { + border-bottom: 3px solid white !important; + border-left: 1px solid #eee; + border-right: 1px solid #eee; + border-top: 2px solid #BA5D0F; + border-radius: 3px 3px 0px 0px; + color: #333; + font-weight: bold; +} + +#cgit .tabs a.active:hover { + cursor: default; +} + +#cgit .tabs a:hover { + text-decoration: none; + border-bottom: 2px solid #ccc; +} + +#cgit .tabs a:active, +#cgit .tabs a:focus { + outline: none; } #cgit .tabs td a:first-child { - border-left: none; } #cgit .commit-info { |
