X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/6cb326c83b3c0b35d472305294afee3105b3088d..c43f1246cb759eb811ab0ebef0613b86dda99581:/cgit.css diff --git a/cgit.css b/cgit.css index ae304fa..459dca7 100644 --- a/cgit.css +++ b/cgit.css @@ -8,7 +8,7 @@ body { h2 { - font-size: normal; + font-size: 100%; font-weight: bold; margin-bottom: 0.1em; } @@ -31,10 +31,10 @@ table.list tr { background: white; } table.list tr:hover { - background: #eee; + background: #eeb; } table.list th { - font-weight: bold; + font-weight: normal; background: #ddd; border-bottom: solid 1px #aaa; padding: 0.1em 0.5em 0.1em 0.5em; @@ -50,12 +50,13 @@ img { div#header { - background-color: #eee; + background-color: #ddd; padding: 0.25em 0.25em 0.25em 0.5em; font-size: 150%; font-weight: bold; - border: solid 1px #ccc; + border: solid 1px #aaa; vertical-align: middle; + margin-bottom: 2em; } div#header img#logo { float: right; @@ -77,24 +78,29 @@ div.error { font-weight: bold; margin: 1em 2em; } +div.ls-blob, div.ls-dir { + font-family: monospace; +} div.ls-dir a { font-weight: bold; } th.filesize, td.filesize { text-align: right; } -th.filemode, td.filemode { - text-align: center; +td.filesize { + font-family: monospace; +} +td.filemode { + font-family: monospace; } td.blob { white-space: pre; - font-family: courier; - font-size: 100%; + font-family: monospace; background-color: white; } -table.log td { +table.nowrap td { white-space: nowrap; } @@ -154,6 +160,25 @@ table.diffstat td.summary { color: #888; padding-top: 0.5em; } + +table.diff td { + border: solid 1px black; + font-family: monospace; + white-space: pre; +} + +table.diff td div.hunk { + background: #ccc; +} + +table.diff td div.add { + color: green; +} + +table.diff td div.del { + color: red; +} + .sha1 { font-family: courier; font-size: 90%;