diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2014-03-21 21:03:24 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2014-03-21 21:03:24 -0400 |
| commit | be4c8751abc7f0d769ea4dd83f7fd2a9d57ff9b4 (patch) | |
| tree | 753e81409acdc0e2bb95f69c43d2ac0b3e29e3d8 | |
| download | cgit-skin-be4c8751abc7f0d769ea4dd83f7fd2a9d57ff9b4.tar.gz | |
Initial commit
| -rw-r--r-- | cgit.css | 361 |
1 files changed, 361 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css new file mode 100644 index 0000000..37872c5 --- /dev/null +++ b/cgit.css @@ -0,0 +1,361 @@ +body { + padding: 0; + margin: 0; +} + +div#cgit { + color: #333; + font-family: "Source Sans Pro"; +} + +div#cgit #header { + background-image: linear-gradient(#F9F9F9, #F3F3F3); + width: 100%; + border-bottom: 1px solid #E5E5E5; +} + +div#cgit .logo img{ + width: 50px; +} + +div#cgit .logo { + width: 50px; +} + +div#cgit .right { + text-align: right; +} + +div#cgit div.content { + width: 902px; + margin: 0 auto; +} + +div#cgit .list { + border-collapse: collapse; + width: 100%; +} + +div#cgit .list a { + color: #333; +} + +div#cgit .list a:focus { + outline: none; +} + +div#cgit .list .left { + text-align: left; +} + +div#cgit .list tr th { + background-color: #E6F1F6; + border-bottom: 1px solid #C5D5DD; + border-top: 1px solid #C5D5DD; + padding: 0.1em 1em; +} + +div#cgit .list tr td { + padding: 0.1em 1em; +} + +div#cgit .list tr td { + border-top: 1px solid #E2EAEE; + border-bottom: 1px solid #E2EAEE; +} + +div#cgit .list tr:nth-child(2n+1) td { + background-color: #F7FBFC; +} + +div#cgit .list tr th:first-child { + border-left: 1px solid #C5D5DD; +} + +div#cgit .list tr th:last-child { + border-right: 1px solid #C5D5DD; +} + +div#cgit .list tr td:first-child { + border-left: 1px solid #C5D5DD; +} + +div#cgit .list tr td:last-child { + border-right: 1px solid #C5D5DD; +} + +div#cgit .list tr:hover td { + background-color: #FCFCE2; +} + +div#cgit .list tr.nohover { + border-top: 1px solid #C5D5DD; +} + +div#cgit .list tr.nohover + tr.nohover { + border-top: none; +} + +div#cgit .list tr.nohover td { + background: transparent; + border: none; +} + +div#cgit a { + text-decoration: none; + color: #4183C4; +} + +div#cgit a:hover { + text-decoration: underline; +} + +div#cgit .cgit-panel { + float: right +} + +div#cgit .diff { + width: 902px; + font-family: "Source Code Pro"; + border: 1px solid #CCC; + font-size: 90%; + line-height: 150%; + overflow: auto; + display: block; +} + +div#cgit .diff tr, div#cgit .diff tbody, div#cgit .diff td { + display: block +} + +div#cgit .diff div:hover { + background-color: #F8EEC7; +} + +div#cgit .diff .head { + background-image: linear-gradient(#FAFAFA, #EAEAEA); + border-bottom: 1px solid #D8D8D8; + border-top: 1px solid #D8D8D8; + position: relative; + margin-top: 1em; + line-height: 110%; + padding: 0.5em 1em; + white-space: pre; +} + +div#cgit .diff .head:first-line { + font-weight: bold; +} + +div#cgit .diff .head:first-child { + margin-top: 0; + border-top: none; +} + +div#cgit .diff td { + padding: 0; +} + +div#cgit .diff { + border-collapse: collapse; +} + +div#cgit .diff .del { + padding: 0 1em; + background-color: #FDD; + white-space: pre; +} + +div#cgit .diff .add { + padding: 0 1em; + background-color: #DFD; + white-space: pre; +} + +div#cgit .diff .hunk { + padding: 0 1em; + background-color: #F8F8FF; + color: #999; + white-space: pre; +} + +div#cgit .diff .ctx { + padding: 0 1em; + white-space: pre; +} + +div#cgit .footer { + border-top: 1px solid #EEE; + width: 902px; + margin: 1em auto 0.2em; + color: #777; + text-align: right; +} + +div#cgit .tabs { + background: #E7ECEE; + border: 1px solid #D2D9DD; + margin: 1em auto; + width: 902px; +} + +div#cgit .tabs td a { + border-left: 1px solid #D2D9DD; + box-sizing: border-box; + -moz-box-sizing: border-box; + padding: 0 0.3em; +} + +div#cgit .tabs td a:first-child { + border-left: none; +} + +div#cgit .commit-info { + font-size: 90%; + width: 740px; + background-color: #E6F1F6; + border: 1px solid #C5D5DD; + border-radius: 4px 4px 0 0; + padding: 0.5em 0.7em; +} + +div#cgit .commit-subject { + border-left: 1px solid #C5D5DD; + border-right: 1px solid #C5D5DD; + width: 740px; + box-sizing: border-box; + -moz-box-sizing: border-box; + font-size: 120%; + font-weight: bold; + padding: 0.5em 0.7em 0.3em; +} + +div#cgit .commit-msg { + border-left: 1px solid #C5D5DD; + border-right: 1px solid #C5D5DD; + width: 740px; + box-sizing: border-box; + -moz-box-sizing: border-box; + padding: 0 0.7em 0.5em; + white-space: pre-wrap; +} + +div#cgit div.commit-subject::first-letter { + text-transform: uppercase; +} + +div#cgit .commit-info th { + text-align: left; + padding: 0 0.5em 0 0; + width: 1%; +} + +div#cgit .commit-info td { + padding: 0; +} + +div#cgit .path { + width: 902px; + margin: 0 auto 1em; + +} + +div#cgit .diffstat-header { + background-color: #E6F1F6; + border-top: 1px solid #C5D5DD; + border-left: 1px solid #C5D5DD; + border-right: 1px solid #C5D5DD; + width: 740px; + box-sizing: border-box; + -moz-box-sizing: border-box; + padding: 0.4em 0.7em 0; + border-radius: 4px 4px 0 0; +} + +div#cgit .commit-msg + .diffstat-header { + border-radius: 0; +} + +div#cgit .commit-msg + .diffstat-header + .diffstat { + font-size: 90%; +} + +div#cgit .commit-msg + .diffstat-header + .diffstat + .diffstat-summary { + font-size: 90%; +} + +div#cgit .diffstat-header a { + font-weight: bold; +} + +div#cgit .diffstat { + background-color: #E6F1F6; + width: 740px; + border-left: 1px solid #C5D5DD; + border-right: 1px solid #C5D5DD; + padding: 0 0.7em; +} + +div#cgit .diffstat td { + padding: 0; + padding-right: 0.5em; + width: 1%; + white-space: nowrap; +} + +div#cgit .diffstat td:last-child { + width: 100%; +} + +div#cgit .diffstat .right { + font-weight: bold; +} + +div#cgit .diffstat-summary { + background-color: #E6F1F6; + width: 740px; + border-left: 1px solid #C5D5DD; + border-right: 1px solid #C5D5DD; + border-bottom: 1px solid #C5D5DD; + box-sizing: border-box; + border-radius: 0 0 4px 4px; + -moz-box-sizing: border-box; + margin-bottom: 1em; + color: #666; + padding: 0 0.7em 0.5em; +} + +div#cgit .graph table { + border-collapse: collapse; +} + +div#cgit .graph td { + height: 0.3em; + border: 1px solid #CCC; + padding: 0.2em; +} + +div#cgit .graph td[style*="width: 0.0%"] { + display: none; +} + +div#cgit .graph .add { + background-color: #6CC644; +} + +div#cgit .graph .rem { + background-color: #BD2C00; +} +div#cgit .graph .none { + background-color: transparent; + border: none; +} + +div#cgit .sha1 { + font-family: "Source Code Pro"; +} + +div#cgit .mode { + font-family: "Source Code Pro"; +} + |
