]> git.armaanb.net Git - stagit.git/blobdiff - style.css
Update to neutral logo and favicon.
[stagit.git] / style.css
index 8fcf30cdab9979281cc1ab2c743c2fb8471c7282..d1cd6d36346e22f52419233c2312f75028e2c5c1 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,7 +1,7 @@
 body {
-       font-family: monospace;
-       color: #333;
+       color: #000;
        background-color: #fff;
+       font-family: monospace;
 }
 
 h1, h2, h3, h4, h5, h6 {
@@ -13,12 +13,19 @@ img, h1, h2 {
        vertical-align: middle;
 }
 
-a {
-       text-decoration: none;
+img {
+       border: 0;
 }
 
-a:hover {
-       text-decoration: underline;
+a:target {
+       background-color: #ccc;
+}
+
+a.d,
+a.h,
+a.i,
+a.line {
+       text-decoration: none;
 }
 
 #blob a {
@@ -38,10 +45,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 +76,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;
 }