X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=style.css;h=d8f9fff462bdff2923d92dce6ed6579fbdb01b99;hb=d6937c195f3459194d5ab056397981e1ade54871;hp=54a9a5619009eb0f62899773f834aa076052689d;hpb=304c896bd497414429224249d3756c64632e59e5;p=stagit.git diff --git a/style.css b/style.css index 54a9a56..d8f9fff 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,7 @@ body { - font-family: monospace; color: #000; background-color: #fff; + font-family: monospace; } h1, h2, h3, h4, h5, h6 { @@ -13,12 +13,15 @@ img, h1, h2 { vertical-align: middle; } -a { - text-decoration: none; +img { + border: 0; } -a:hover { - text-decoration: underline; +a.d, +a.h, +a.i, +a.line { + text-decoration: none; } #blob a { @@ -38,10 +41,26 @@ table td { padding: 0 0.4em; } -#log tr:hover td, #files tr:hover td { +#content table td { + vertical-align: top; + white-space: nowrap; +} + +#branches tr:hover td, +#tags tr:hover td, +#index tr:hover td, +#log tr:hover td, +#files tr:hover td { background-color: #eee; } +#index tr td:nth-child(2), +#tags tr td:nth-child(3), +#branches tr td:nth-child(3), +#log tr td:nth-child(2) { + white-space: normal; +} + td.num { text-align: right; } @@ -53,24 +72,31 @@ td.num { hr { border: 0; border-top: 1px solid #777; + height: 1px; } pre { font-family: monospace; } -pre .h { - color: darkcyan; +pre a.h { + color: #00a; } +.A, +span.i, pre a.i { - color: green; + color: #070; } +.D, +span.d, pre a.d { - color: red; + color: #e00; } -pre a.i:hover, pre a.d:hover { +pre a.h:hover, +pre a.i:hover, +pre a.d:hover { text-decoration: none; }