X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/849f0f0f02f858e21fbe59295846e51628f82915..a1b01b2513510f8f93f7f8ca39969002cd496a19:/cgit.css diff --git a/cgit.css b/cgit.css index 8bd6bf4..a37d218 100644 --- a/cgit.css +++ b/cgit.css @@ -1,49 +1,117 @@ +body, table, form { + padding: 0em; + margin: 0em; +} + body { - font-family: arial, sans-serif; - font-size: 11pt; - color: black; + font-family: sans-serif; + font-size: 10pt; + color: #333; background: white; + padding: 4px; } -body, table { - padding: 0em; - margin: 0em; +a { + color: blue; + text-decoration: none; +} + +a:hover { + text-decoration: underline; } table { border-collapse: collapse; } -h2 { - font-size: 120%; - font-weight: bold; - margin-top: 0em; - margin-bottom: 0.25em; +table#header { + width: 100%; + margin-bottom: 1em; } -h3 { - margin-top: 0em; - font-size: 100%; - font-weight: normal; +table#header td.logo { + width: 96px; } -h4 { - margin-top: 1.5em; - margin-bottom: 0.1em; - font-size: 100%; - font-weight: bold; +table#header td.main { + font-size: 250%; + padding-left: 10px; + white-space: nowrap; } -a { - color: blue; - text-decoration: none; +table#header td.main a { + color: #000; } -a:hover { - text-decoration: underline; +table#header td.form { + text-align: right; + vertical-align: bottom; + padding-right: 1em; + padding-bottom: 2px; + white-space: nowrap; +} + +table#header td.form form, +table#header td.form input, +table#header td.form select { + font-size: 90%; +} + +table#header td.sub { + color: #777; + border-top: solid 1px #ccc; + padding-left: 10px; +} + +table.tabs { + /* border-bottom: solid 2px #ccc; */ + border-collapse: collapse; + margin-top: 2em; + margin-bottom: 0px; + width: 100%; +} + +table.tabs td { + padding: 0px 1em; + vertical-align: bottom; +} + +table.tabs td a { + padding: 2px 0.75em; + color: #777; + font-size: 110%; } +table.tabs td a.active { + color: #000; + background-color: #ccc; +} + +table.tabs td.form { + text-align: right; +} + +table.tabs td.form form { + padding-bottom: 2px; + font-size: 90%; + white-space: nowrap; +} + +table.tabs td.form input, +table.tabs td.form select { + font-size: 90%; +} + +div.content { + margin: 0px; + padding: 2em; + border-top: solid 3px #ccc; + border-bottom: solid 3px #ccc; +} + + table.list { + width: 100%; border: none; border-collapse: collapse; } @@ -62,8 +130,11 @@ table.list tr.nohover:hover { table.list th { font-weight: bold; - border-bottom: solid 1px #777; - padding: 0.1em 0.5em 0.1em 0.5em; + /* color: #888; + border-top: dashed 1px #888; + border-bottom: dashed 1px #888; + */ + padding: 0.1em 0.5em 0.05em 0.5em; vertical-align: baseline; } @@ -72,75 +143,35 @@ table.list td { padding: 0.1em 0.5em 0.1em 0.5em; } -img { - border: none; -} - -table#layout { - width: 100%; - border-collapse: collapse; - margin: 0px; -} - -td#header, td#logo { - color: #666; - background-color: #ddd; - border-bottom: solid 1px #000; -} - -td#header { - font-size: 150%; - font-weight: bold; - padding: 0.2em 0.5em; - vertical-align: text-bottom; -} - -td#logo { - text-align: right; - vertical-align: middle; - padding-right: 0.5em; -} - -td#crumb, td#search { - color: #ccc; - border-top: solid 3px #555; - background-color: #666; - border-bottom: solid 1px #333; - padding: 2px 1em; +table.list td a { + color: black; } -td#crumb { - font-weight: bold; +table.list td a:hover { + color: #00f; } -td#crumb a { - color: #ccc; - background-color: #666; +img { + border: none; } -td#crumb a:hover { - color: #eee; - background-color: #666; +input#switch-btn { + margin: 2px 0px 0px 0px; } -td#search { - text-align: right; - vertical-align: middle; - padding-right: 0.5em; +td#sidebar input.txt { + width: 100%; + margin: 2px 0px 0px 0px; } -td#search form { +table#grid { margin: 0px; - padding: 0px; } -td#search input { - font-size: 9pt; - padding: 0px; - width: 10em; - border: solid 1px #333; - color: #333; - background-color: #fff; +td#content { + vertical-align: top; + padding: 1em 2em 1em 1em; + border: none; } div#summary { @@ -160,10 +191,6 @@ table#downloads th { background-color: #ccc; } -td#content { - padding: 1em 0.5em; -} - div#blob { border: solid 1px black; } @@ -174,35 +201,46 @@ div.error { margin: 1em 2em; } -td.ls-blob, td.ls-dir, td.ls-mod { +a.ls-blob, a.ls-dir, a.ls-mod { font-family: monospace; } -div.ls-dir a { - font-weight: bold; -} - -th.filesize, td.filesize { +td.ls-size { text-align: right; + font-family: monospace; + width: 10em; } -td.filesize { +td.ls-mode { font-family: monospace; + width: 10em; } -td.links { - font-size: 80%; - padding-left: 2em; +table.blob { + margin-top: 0.5em; + border-top: solid 1px black; } -td.filemode { - font-family: monospace; +table.blob td.no { + border-right: solid 1px black; + color: black; + background-color: #eee; + text-align: right; +} + +table.blob td.no a { + color: black; } -td.blob { +table.blob td.no a:hover { + color: black; + text-decoration: none; +} + +table.blob td.txt { white-space: pre; font-family: monospace; - background-color: white; + padding-left: 0.5em; } table.nowrap td { @@ -218,6 +256,7 @@ table.commit-info th { text-align: left; font-weight: normal; padding: 0.1em 1em 0.1em 0.1em; + vertical-align: top; } table.commit-info td { @@ -244,15 +283,10 @@ div.diffstat-header { table.diffstat { border-collapse: collapse; - width: 100%; border: solid 1px #aaa; background-color: #eee; } -table.diffstat tr:hover { - background-color: #ccc; -} - table.diffstat th { font-weight: normal; text-align: left; @@ -289,7 +323,7 @@ table.diffstat td.upd a { } table.diffstat td.graph { - width: 75%; + width: 500px; vertical-align: middle; } @@ -316,6 +350,10 @@ div.diffstat-summary { padding-top: 0.5em; } +table.diff { + width: 100%; +} + table.diff td { font-family: monospace; white-space: pre; @@ -323,7 +361,8 @@ table.diff td { table.diff td div.head { font-weight: bold; - padding-top: 1em; + margin-top: 1em; + color: black; } table.diff td div.hunk { @@ -358,16 +397,7 @@ table.list td.repogroup { a.button { font-size: 80%; - color: #333; - background-color: #ccc; - border: solid 1px #999; padding: 0em 0.5em; - margin: 0.1em 0.25em; -} - -a.button:hover { - text-decoration: none; - background-color: #eee; } a.primary { @@ -386,6 +416,16 @@ table.list td.sublevel-repo { padding-left: 1.5em; } +div.pager { + text-align: center; + margin: 1em 0em 0em 0em; +} + +div.pager a { + color: #777; + margin: 0em 0.5em; +} + span.age-mins { font-weight: bold; color: #080; @@ -410,3 +450,9 @@ span.age-months { span.age-years { color: #bbb; } +div.footer { + margin-top: 0.5em; + text-align: center; + font-size: 80%; + color: #ccc; +}