diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2014-03-21 23:35:56 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2014-03-21 23:35:56 -0400 |
| commit | 3e627f88eadc4d8865a8e5a0f4cd1e93c56b023f (patch) | |
| tree | 8e01327c8b97ec14cbe4b2bc5db59a3544dd8c0b | |
| parent | 9ba96a6a0a638c807481bfc5a4ee7c9dfd696e9f (diff) | |
| download | cgit-skin-3e627f88eadc4d8865a8e5a0f4cd1e93c56b023f.tar.gz | |
Blob styling
| -rw-r--r-- | cgit.css | 57 |
1 files changed, 51 insertions, 6 deletions
@@ -17,11 +17,9 @@ body { text-decoration: underline; } -#cgit .sha1 { - font-family: "Source Code Pro"; -} - -#cgit .mode, #cgit .ls-mode { +#cgit .mode, +#cgit .ls-mode, +#cgit .diff { font-family: "Source Code Pro"; } @@ -271,9 +269,15 @@ body { #cgit .path { width: 902px; margin: 0 auto 1em; + font-size: 110%; } +#cgit .path a { + font-weight: bold; + margin: 0 0.1em; +} + #cgit .diffstat-header { background-color: #E6F1F6; border-top: 1px solid #C5D5DD; @@ -369,13 +373,54 @@ body { font-size: 95%; } -#cgit .list[summary~=tree] td { +#cgit .list[summary~=tree] td:first-child, +#cgit .list[summary~=tree] td:last-child { width: 1%; +} +#cgit .list .button { + margin-right: 0.5em; } #cgit .list .ls-size { text-align: right; } +#cgit .list .ls-dir { + font-weight: bold; + color: #4183C4; +} + +#cgit .blob { + font-size: 90%; + border: 1px solid #CCC; + width: 902px; + border-collapse: collapse; + margin-top: 1em; +} + +#cgit .blob td { + vertical-align: top; + padding: 0; +} + +#cgit .blob .linenumbers { + text-align: right; + padding: 0 0.5em; + border-right: 1px solid #E5E5E5; + width: 1%; +} + +#cgit .blob .linenumbers a { + color: rgba(0, 0, 0, 0.3); +} + +#cgit .blob .lines { + padding: 0 0.5em; +} +#cgit .blob pre, +#cgit .blob code { + font-family: "Source Code Pro"; + margin: 0; +} |
