]> git.armaanb.net Git - stagit.git/blobdiff - style.css
Redirect stdout to correct file.
[stagit.git] / style.css
index 5dc4a535c4616e9e720fcda3c9d0e0372270a784..c35d6e967a4909d04f917ea425ef8ecc539c8bc7 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,10 +1,18 @@
+html {
+       font-size: 12px;
+       height: 100%;
+}
+
 body {
-       font-family: sans-serif;
-       color: #333;
+       margin: 5rem auto;
+       color: #222;
        background-color: #fff;
+       font-family: monospace;
+       width: 66rem;
 }
 
 h1, h2, h3, h4, h5, h6 {
+       font-size: 1em;
        margin: 0;
 }
 
@@ -12,51 +20,126 @@ img, h1, h2 {
        vertical-align: middle;
 }
 
+img {
+       border: 0;
+}
+
+a:target {
+       background-color: #ccc;
+}
+
+a.d,
+a.h,
+a.i,
+a.line {
+       text-decoration: none;
+}
+
+#blob {
+    display: block;
+    max-width: 100%;
+    overflow-x: scroll;
+}
+
+.linenos {
+       user-select: none;
+}
+
+.linenos a {
+       margin-right: 0.9em;
+       user-select: none;
+       text-decoration: none;
+}
+
+#blob a {
+       color: #777;
+}
+
+#blob a:hover {
+       color: blue;
+       text-decoration: none;
+}
+
 table thead td {
        font-weight: bold;
 }
 
 table td {
-       padding: 0 3px;
+       padding: 0 0.4em;
 }
 
-table tr:hover td {
-       background-color: #ddd;
+#content table td {
+       vertical-align: top;
+       white-space: nowrap;
 }
 
-h1 {
-       font-size: 140%;
+#branches tr:hover td,
+#tags tr:hover td,
+#index tr:hover td,
+#log tr:hover td,
+#files tr:hover td {
+       background-color: #eee;
 }
 
-.desc {
-       font-size: 100%;
-       color: #777;
+#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;
 }
 
-h1 img {
-       height: 32px;
+td.num {
+       text-align: right;
 }
 
-hr {
+.desc {
        color: #777;
-       background-color: #777;
+}
+
+hr {
        border: 0;
        border-top: 1px solid #777;
+       height: 1px;
 }
 
 pre {
        font-family: monospace;
 }
 
-pre span.i {
-       color: green;
+pre a.h {
+       color: #00a;
+}
+
+.A,
+span.i,
+pre a.i {
+       color: #070;
 }
 
-pre span.d {
-       color: red;
+.D,
+span.d,
+pre a.d {
+       color: #e00;
 }
 
-pre span a {
+pre a.h:hover,
+pre a.i:hover,
+pre a.d:hover {
        text-decoration: none;
-       color: inherit;
+}
+
+.url td:nth-child(2) {
+       padding-top:    0.2em;
+       padding-bottom: 0.9em;
+}
+
+.url td:nth-child(2) span {
+       padding: 1px 5px;
+       background-color: #eee;
+       border: 1px solid #ddd;
+       border-radius: 5px;
+}
+
+.url td:nth-child(2) span a {
+       color: #444;
 }