X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/0c8dd9c4bcc7a1a7a49f4eca1f3eb869d0995ea2..68cb84839f8fbc20688b22202489f4c2a54d3f55:/cgit.css diff --git a/cgit.css b/cgit.css index b8c3d81..80680c9 100644 --- a/cgit.css +++ b/cgit.css @@ -1,156 +1,140 @@ +body, table { + padding: 0em; + margin: 0em; +} + body { - font-family: arial, sans-serif; - font-size: 11pt; - color: black; + font-family: sans; + 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: 200%; } -a { - color: blue; - text-decoration: none; +table#header td.sub { + color: #777; + border-top: solid 1px #ccc; } -a:hover { - text-decoration: underline; -} - -table.list { - border: none; +table.tabs { + border-bottom: solid 2px #ccc; border-collapse: collapse; + margin-top: 2em; + margin-bottom: 1em; + width: 100%; } -table.list tr { - background: white; +table.tabs td { + padding: 0px 0.5em; + vertical-align: bottom; } -table.list tr:hover { - background: #eee; +table.tabs td a { + padding: 2px 1em; + color: #007; } -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.branch { + text-align: right; } -table.list td { - border: none; - padding: 0.1em 0.5em 0.1em 0.5em; +table.tabs td.branch form { + padding-bottom: 2px; + font-size: 90%; } -img { - border: none; +div.content { + margin: 0px; + padding: 1em; } -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; } -td#header { - font-size: 150%; - font-weight: bold; - padding: 0.2em 0.5em; - vertical-align: text-bottom; +table.list tr { + background: white; } -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: normal; + border-bottom: solid 1px #ccc; + padding: 0.1em 0.5em 0.1em 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 { - font-weight: bold; +table.list td a { + color: black; } -td#crumb a { - color: #ccc; - background-color: #666; - padding: 0em 0.5em 0em 0.5em; +img { + border: none; } -td#crumb a:hover { - color: #666; - background-color: #ccc; - text-decoration: none; +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 { @@ -170,10 +154,6 @@ table#downloads th { background-color: #ccc; } -td#content { - padding: 1em 0.5em; -} - div#blob { border: solid 1px black; } @@ -267,7 +247,6 @@ div.diffstat-header { table.diffstat { border-collapse: collapse; - width: 100%; border: solid 1px #aaa; background-color: #eee; } @@ -308,7 +287,7 @@ table.diffstat td.upd a { } table.diffstat td.graph { - width: 75%; + width: 500px; vertical-align: middle; } @@ -347,7 +326,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 {