X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/68ca032dbe7379f78775fb03ef34a9ad2abc409f..97b3d252629a8a3b9d356c2532dec7611438e4b9:/cgit.css diff --git a/cgit.css b/cgit.css index 5d47099..adfc8ae 100644 --- a/cgit.css +++ b/cgit.css @@ -1,173 +1,192 @@ +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.list { - border: none; +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.list tr { - background: white; +table.tabs td { + padding: 0px 1em; + vertical-align: bottom; } -table.list tr:hover { - background: #eee; +table.tabs td a { + padding: 2px 0.75em; + color: #777; + font-size: 110%; } -table.list tr.nohover:hover { - background: white; +table.tabs td a.active { + color: #000; + background-color: #ccc; } -table.list th { - font-weight: bold; - border-bottom: solid 1px #777; - padding: 0.1em 0.5em 0.1em 0.5em; - vertical-align: baseline; +table.tabs td.form { + text-align: right; } -table.list td { - border: none; - padding: 0.1em 0.5em 0.1em 0.5em; +table.tabs td.form form { + padding-bottom: 2px; + font-size: 90%; + white-space: nowrap; } -img { - border: none; +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#layout { + +table.list { width: 100%; + border: none; border-collapse: collapse; - margin: 0px; } -td#header, td#logo { - color: #666; - background-color: #ddd; - border-bottom: solid 1px #000; +table.list tr { + background: white; } -td#header { - font-size: 150%; - font-weight: bold; - padding: 0.2em 0.5em; - vertical-align: text-bottom; +table.list tr.logheader { + background: #eee; } -td#header a { - color: #666; +table.list tr:hover { + background: #eee; } -td#header a:hover { - text-decoration: underline; +table.list tr.nohover:hover { + background: white; } -td#logo { - text-align: right; - vertical-align: middle; - padding-right: 0.5em; +table.list th { + font-weight: bold; + /* color: #888; + border-top: dashed 1px #888; + border-bottom: dashed 1px #888; + */ + padding: 0.1em 0.5em 0.05em 0.5em; + vertical-align: baseline; } -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 { + border: none; + padding: 0.1em 0.5em 0.1em 0.5em; } -td#crumb { +table.list td.logsubject { + font-family: monospace; font-weight: bold; } -td#crumb a { - color: #ccc; - background-color: #666; - padding: 0em 0.5em 0em 0.5em; +table.list td.logmsg { + font-family: monospace; + white-space: pre; + padding: 1em 0em 2em 0em; } -td#crumb a:hover { - color: #666; - background-color: #ccc; - text-decoration: none; +table.list td a { + color: black; } -td#search { - text-align: right; - vertical-align: middle; - padding-right: 0.5em; +table.list td a:hover { + color: #00f; } -td#search form { - margin: 0px; - padding: 0px; +img { + border: none; } -td#search select { - font-size: 9pt; - padding: 0px; - border: solid 1px #333; - color: #333; - background-color: #fff; +input#switch-btn { + margin: 2px 0px 0px 0px; } -td#search input { - font-size: 9pt; - padding: 0px; +td#sidebar input.txt { + width: 100%; + margin: 2px 0px 0px 0px; } -td#search input.txt { - width: 8em; - border: solid 1px #333; - color: #333; - background-color: #fff; +table#grid { + margin: 0px; } -td#search input.btn { - border: solid 1px #333; - color: #333; - background-color: #ccc; +td#content { + vertical-align: top; + padding: 1em 2em 1em 1em; + border: none; } div#summary { @@ -187,10 +206,6 @@ table#downloads th { background-color: #ccc; } -td#content { - padding: 1em 0.5em; -} - div#blob { border: solid 1px black; } @@ -207,14 +222,13 @@ a.ls-blob, a.ls-dir, a.ls-mod { td.ls-size { text-align: right; -} - -td.ls-size { font-family: monospace; + width: 10em; } td.ls-mode { font-family: monospace; + width: 10em; } table.blob { @@ -222,26 +236,50 @@ table.blob { border-top: solid 1px black; } -table.blob td.no { - border-right: solid 1px black; +table.blob td.lines { + margin: 0; padding: 0; + vertical-align: top; color: black; +} + +table.blob td.linenumbers { + margin: 0; padding: 0; + vertical-align: top; + border-right: 1px solid gray; background-color: #eee; +} + +table.blob pre { + padding: 0; margin: 0; +} + +table.blob a.no { + color: gray; text-align: right; + text-decoration: none; } -table.blob td.no a { +table.blob a.no a:hover { color: black; } -table.blob td.no a:hover { - color: black; - text-decoration: none; +table.bin-blob { + margin-top: 0.5em; + border: solid 1px black; } -table.blob td.txt { +table.bin-blob th { + font-family: monospace; white-space: pre; + border: solid 1px #777; + padding: 0.5em 1em; +} + +table.bin-blob td { font-family: monospace; - padding-left: 0.5em; + white-space: pre; + border-left: solid 1px #777; + padding: 0em 1em; } table.nowrap td { @@ -284,7 +322,6 @@ div.diffstat-header { table.diffstat { border-collapse: collapse; - width: 100%; border: solid 1px #aaa; background-color: #eee; } @@ -325,7 +362,7 @@ table.diffstat td.upd a { } table.diffstat td.graph { - width: 75%; + width: 500px; vertical-align: middle; } @@ -364,7 +401,7 @@ table.diff td { table.diff td div.head { font-weight: bold; margin-top: 1em; - background-color: #eee; + color: black; } table.diff td div.hunk { @@ -399,17 +436,7 @@ table.list td.repogroup { a.button { font-size: 80%; - color: #aaa; - background-color: #eee; - border: solid 1px #aaa; padding: 0em 0.5em; - margin: 0.1em 0.25em; -} - -a.button:hover { - text-decoration: none; - color: #333; - background-color: #ccc; } a.primary { @@ -428,6 +455,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; @@ -452,3 +489,115 @@ span.age-months { span.age-years { color: #bbb; } +div.footer { + margin-top: 0.5em; + text-align: center; + font-size: 80%; + color: #ccc; +} +a.branch-deco { + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: #88ff88; + border: solid 1px #007700; +} +a.tag-deco { + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: #ffff88; + border: solid 1px #777700; +} +a.remote-deco { + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: #ccccff; + border: solid 1px #000077; +} +a.deco { + margin: 0px 0.5em; + padding: 0px 0.25em; + background-color: #ff8888; + border: solid 1px #770000; +} + +div.commit-subject a { + margin-left: 1em; + font-size: 75%; +} + +table.stats { + border: solid 1px black; + border-collapse: collapse; +} + +table.stats th { + text-align: left; + padding: 1px 0.5em; + background-color: #eee; + border: solid 1px black; +} + +table.stats td { + text-align: right; + padding: 1px 0.5em; + border: solid 1px black; +} + +table.stats td.total { + font-weight: bold; + text-align: left; +} + +table.stats td.sum { + color: #c00; + font-weight: bold; +/* background-color: #eee; */ +} + +table.stats td.left { + text-align: left; +} + +table.vgraph { + border-collapse: separate; + border: solid 1px black; + height: 200px; +} + +table.vgraph th { + background-color: #eee; + font-weight: bold; + border: solid 1px white; + padding: 1px 0.5em; +} + +table.vgraph td { + vertical-align: bottom; + padding: 0px 10px; +} + +table.vgraph div.bar { + background-color: #eee; +} + +table.hgraph { + border: solid 1px black; + width: 800px; +} + +table.hgraph th { + background-color: #eee; + font-weight: bold; + border: solid 1px black; + padding: 1px 0.5em; +} + +table.hgraph td { + vertical-align: center; + padding: 2px 2px; +} + +table.hgraph div.bar { + background-color: #eee; + height: 1em; +}