X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/9f48df63f6d8d9a8abcc02cd2f08293da7081520..9fb53af215639fcd3bfb876fa9c8bac221244bdf:/cgit.css diff --git a/cgit.css b/cgit.css index 49cf2d1..6231e28 100644 --- a/cgit.css +++ b/cgit.css @@ -2,10 +2,16 @@ body { font-family: arial; font-size: 11pt; background: white; +} + +body, table { padding: 0em; margin: 0em; } +table { + border-collapse: collapse; +} h2 { font-size: 120%; @@ -20,6 +26,13 @@ h3 { font-weight: normal; } +h4 { + margin-top: 1.5em; + margin-bottom: 0.1em; + font-size: 100%; + font-weight: bold; +} + a { color: blue; text-decoration: none; @@ -64,8 +77,7 @@ img { table#layout { width: 100%; - border-collapse: separate; - border-spacing: 0px; + border-collapse: collapse; margin: 0px; } @@ -177,6 +189,11 @@ td.filesize { font-family: monospace; } +td.links { + font-size: 80%; + padding-left: 2em; +} + td.filemode { font-family: monospace; } @@ -222,6 +239,12 @@ div.commit-msg { table.diffstat { border-collapse: collapse; margin-top: 1.5em; + width: 100%; + border: solid 1px #aaa; +} + +table.diffstat tr:hover { + background-color: #eee; } table.diffstat th { @@ -233,8 +256,11 @@ table.diffstat th { } table.diffstat td { - padding: 0.1em 1em 0.1em 0.1em; + padding: 0.2em 0.2em 0.1em 0.1em; font-size: 100%; + border: none; + border-top: solid 1px #aaa; + border-bottom: solid 1px #aaa; } table.diffstat td span.modechange { @@ -254,11 +280,26 @@ table.diffstat td.upd a { color: blue; } -table.diffstat td.summary { +table.diffstat td.graph { + width: 75%; + vertical-align: center; +} + +table.diffstat td.graph img { + border: none; + height: 11pt; +} + +div.diffstat-summary { color: #888; padding-top: 0.5em; } +table.diff th { + padding: 1em 0em 0.1em 0.1em; + text-align: left; +} + table.diff td { border: solid 1px black; font-family: monospace;