]> git.armaanb.net Git - stagit.git/blobdiff - style.css
Change bin to .out file.
[stagit.git] / style.css
index 958b76b615b719b27a55690040fa44a5627e3218..04f07a7243b9fa3e7739765d329bcd743e58825b 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,7 +1,14 @@
+html {
+       font-size: 12px;
+       height: 100%;
+}
+
 body {
-       font-family: monospace;
-       color: #000;
+       margin: 5rem auto;
+       color: #222;
        background-color: #fff;
+       font-family: monospace;
+       width: 66rem;
 }
 
 h1, h2, h3, h4, h5, h6 {
@@ -13,12 +20,27 @@ img, h1, h2 {
        vertical-align: middle;
 }
 
-a {
+img {
+       border: 0;
+}
+
+a:target {
+       background-color: #ccc;
+}
+
+a.d,
+a.h,
+a.i,
+a.line {
        text-decoration: none;
 }
 
-a:hover {
-       text-decoration: underline;
+.loc {
+       margin-left: 0.9em;
+}
+
+.line {
+       user-select: none;
 }
 
 #blob a {
@@ -39,8 +61,8 @@ table td {
 }
 
 #content table td {
-       white-space: nowrap;
        vertical-align: top;
+       white-space: nowrap;
 }
 
 #branches tr:hover td,
@@ -69,6 +91,7 @@ td.num {
 hr {
        border: 0;
        border-top: 1px solid #777;
+       height: 1px;
 }
 
 pre {
@@ -76,15 +99,19 @@ pre {
 }
 
 pre a.h {
-       color: darkblue;
+       color: #00a;
 }
 
+.A,
+span.i,
 pre a.i {
-       color: green;
+       color: #070;
 }
 
+.D,
+span.d,
 pre a.d {
-       color: red;
+       color: #e00;
 }
 
 pre a.h:hover,
@@ -92,3 +119,19 @@ pre a.i:hover,
 pre a.d:hover {
        text-decoration: none;
 }
+
+.url td:nth-child(2) {
+       padding-top:    0.2em;
+       padding-bottom: 0.9em;
+}
+
+.url td:nth-child(2) span {
+       padding: 1px 5px 2px 5px;
+       background-color: #eee;
+       border: 1px solid #ddd;
+       border-radius: 5px;
+}
+
+.url td:nth-child(2) span a {
+       color: #444;
+}