diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-02-05 21:14:22 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-02-05 21:14:22 -0500 |
commit | a2b30cf3d685b53e325d6941454bcb491ec010da (patch) | |
tree | 207da903747a80978816d83488a36cfe80cd25bc /scss/main.scss | |
parent | 7a26eff6601651599e2f9899cdfd9dc73c19d94b (diff) |
Tweak cgit tab styles to more closely match srht
Diffstat (limited to 'scss/main.scss')
-rw-r--r-- | scss/main.scss | 45 |
1 files changed, 27 insertions, 18 deletions
diff --git a/scss/main.scss b/scss/main.scss index 3f0507f..2fcabc7 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -2,27 +2,36 @@ @import "cgit"; div#cgit { - padding: 0; - font-size: inherit; + padding: 0; + font-size: inherit; - table.tabs { - margin-top: 0; - border-bottom: 3px solid #ddd; + table.tabs { + margin-top: 0; + border-bottom: 3px solid #ddd; - td a { - padding: 3px 0.75em; - font-size: inherit; + td a { + margin: 0 0.2rem; + padding: 0 1rem 3px 1rem; + font-size: inherit; + border-width: 1px 1px 0px 1px; + border-color: transparent; + border-style: solid; + text-decoration: none; - &.active { - background-color: #ddd; - } - } + &.active { + background-color: #ddd; + } - input[type="text"] { - border-width: 1px; - border-style: solid; - width: 8rem; - padding: 0 0; - } + &:hover, &.active { + border-color: #ddd; + } } + + input[type="text"] { + border-width: 1px; + border-style: solid; + width: 8rem; + padding: 0 0; + } + } } |