X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/b8be028a309381b83abe924f5e8e01cf02b121a2..2915483ef6c9c29ac1493e6945688bb62f7825b4:/cgit.css?ds=sidebyside diff --git a/cgit.css b/cgit.css index 9c79c32..565427f 100644 --- a/cgit.css +++ b/cgit.css @@ -1,15 +1,16 @@ -body { - font-family: arial, sans-serif; - font-size: 11pt; - color: black; - background: white; -} - body, table { padding: 0em; margin: 0em; } +body { + font-family: sans; + font-size: 10pt; + color: #333; + background: white; + padding-left: 4px; +} + table { border-collapse: collapse; } @@ -35,12 +36,13 @@ h4 { } a { - color: blue; + color: #600; text-decoration: none; } a:hover { - text-decoration: underline; + background-color: #ddd; + text-decoration: none; } table.list { @@ -53,7 +55,7 @@ table.list tr { } table.list tr:hover { - background: #eee; + background: #f8f8f8; } table.list tr.nohover:hover { @@ -76,81 +78,85 @@ img { border: none; } -table#layout { - width: 100%; - border-collapse: collapse; - margin: 0px; +div#sidebar { + vertical-align: top; + width: 162px; + padding: 0px 0px 0px 0px; + margin: 4px; + float: left; } -td#header, td#logo { - color: #666; - background-color: #ddd; - border-bottom: solid 1px #000; +div#logo { + margin: 0px; + padding: 4px 0px 4px 0px; + text-align: center; + background-color: #ccc; + border-top: solid 1px #eee; + border-left: solid 1px #eee; + border-right: solid 1px #aaa; + border-bottom: solid 1px #aaa; } -td#header { - font-size: 150%; - font-weight: bold; - padding: 0.2em 0.5em; - vertical-align: text-bottom; +div#sidebar div.infobox { + margin: 0px 0px 0px 0px; + padding: 0.5em; + text-align: left; + background-color: #ccc; + border-top: solid 1px #eee; + border-left: solid 1px #eee; + border-right: solid 1px #aaa; + border-bottom: solid 1px #aaa; } -td#header a { - color: #666; +div#sidebar div.infobox h1 { + font-size: 10pt; + font-weight: bold; + margin: 8px 0px 0px 0px; } -td#header a:hoved { - text-decoration: underline; +div#sidebar div.infobox h1.first { + margin-top: 0px; } -td#logo { - text-align: right; - vertical-align: middle; - padding-right: 0.5em; +div#sidebar div.infobox a.menu { + display: block; + background-color: #ccc; + padding: 0.1em 0.5em; + text-decoration: none; } -td#crumb, td#search { - color: #ccc; - border-top: solid 3px #555; - background-color: #666; - border-bottom: solid 1px #333; - padding: 2px 1em; +div#sidebar div.infobox a.menu:hover { + background-color: #bbb; + text-decoration: none; } -td#crumb { - font-weight: bold; +div#sidebar div.infobox select { + width: 100%; + margin: 2px 0px 0px 0px; } -td#crumb a { - color: #ccc; - background-color: #666; - padding: 0em 0.5em 0em 0.5em; +td#branch-dropdown-cell { + width: 99%; } -td#crumb a:hover { - color: #666; - background-color: #ccc; - text-decoration: none; +input#switch-btn { + width: 20px; + margin: 2px 0px 0px 0px; } -td#search { - text-align: right; - vertical-align: middle; - padding-right: 0.5em; +div#sidebar div.infobox 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 +176,6 @@ table#downloads th { background-color: #ccc; } -td#content { - padding: 1em 0.5em; -} - div#blob { border: solid 1px black; } @@ -212,6 +214,15 @@ table.blob td.no { text-align: right; } +table.blob td.no a { + color: black; +} + +table.blob td.no a:hover { + color: black; + text-decoration: none; +} + table.blob td.txt { white-space: pre; font-family: monospace; @@ -231,6 +242,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 { @@ -257,15 +269,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; @@ -302,7 +309,7 @@ table.diffstat td.upd a { } table.diffstat td.graph { - width: 75%; + width: 500px; vertical-align: middle; } @@ -329,6 +336,10 @@ div.diffstat-summary { padding-top: 0.5em; } +table.diff { + width: 100%; +} + table.diff td { font-family: monospace; white-space: pre; @@ -336,7 +347,8 @@ table.diff td { table.diff td div.head { font-weight: bold; - padding-top: 1em; + margin-top: 1em; + background-color: #eee; } table.diff td div.hunk { @@ -371,16 +383,17 @@ table.list td.repogroup { a.button { font-size: 80%; - color: #333; - background-color: #ccc; - border: solid 1px #999; + color: #aaa; + background-color: #eee; + border: solid 1px #aaa; padding: 0em 0.5em; margin: 0.1em 0.25em; } a.button:hover { text-decoration: none; - background-color: #eee; + color: #333; + background-color: #ccc; } a.primary {