stagit

My fork of stagit

git clone git://git.shimmy1996.com/stagit.git
commit 3c1a4e56281505ea91b60ad85978f97aefe2b8bc
parent 8110dcb933a16b32085654fdbe040132a86199d1
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun,  5 Apr 2020 11:15:42 -0500

Change styles

Diffstat:
Mstyle.css | 86++++++++++++++++++++++++++++++++-----------------------------------------------
1 file changed, 35 insertions(+), 51 deletions(-)
diff --git a/style.css b/style.css
@@ -1,79 +1,63 @@
 body {
-	color: #000;
-	background-color: #fff;
-	font-family: monospace;
+    font-family: sans-serif;
+    margin: auto;
+    min-width: 60ch;
+    max-width: 50%;
+    padding: 1em;
+    line-height: 1.5;
 }
 
-a:target {
-	background-color: #ccc;
-}
-
-a.d,
-a.h,
-a.i,
-a.line {
-	text-decoration: none;
-}
-
-#blob a {
-	color: #777;
-}
-
-#blob a:hover {
-	color: blue;
-	text-decoration: none;
+table {
+    margin: auto;
+    overflow-x: auto;
 }
 
 table td {
-	padding: 0 0.4em;
-}
-
-#content table td {
-	vertical-align: top;
-	white-space: nowrap;
+    padding: 0 0.5em;
+    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;
+tr:hover {
+    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;
+#log tr td:nth-child(2),
+#files td:nth-child(2) {
+    white-space: normal;
 }
 
 td.num {
-	text-align: right;
+    text-align: right;
+}
+
+pre table {
+    margin-left: 0;
 }
 
 pre {
-	font-family: monospace;
+    overflow-x: auto;
 }
 
-pre a.h {
-	color: #00a;
+a.d, a.h, a.i, a.line {
+    text-decoration: none;
 }
 
-.A,
-span.i,
-pre a.i {
-	color: #070;
+a:target {
+    border: dotted;
+}
+
+pre a.h {
+    color: #00a;
 }
 
-.D,
-span.d,
-pre a.d {
-	color: #e00;
+.A, span.i, pre a.i {
+    color: #070;
 }
 
-pre a.h:hover,
-pre a.i:hover,
-pre a.d:hover {
-	text-decoration: none;
+.D, span.d, pre a.d {
+    color: #e00;
 }