commit d731be20601bdef0fe37db7d736e87f9fd9b8977
parent f9c99c8b6b13b86844cbe9bae5d4eefdb269620b
Author: mpizzzle <m@michaelpercival.xyz>
Date: Mon, 29 Jun 2020 12:10:54 +0100
pinching some css from suckless's git repo site
Diffstat:
| M | style.css | | | 118 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- |
1 file changed, 114 insertions(+), 4 deletions(-)
diff --git a/style.css b/style.css
@@ -20,11 +20,121 @@
}
body {
- font-family: "Ubuntu Mono";
- max-width: 30em;
+ color: var(--color2);
+ background-color: var(--color0);
+ font-family: monospace;
+ max-width: 35em;
margin-left: auto;
margin-right: auto;
- background: var(--color0);
- color: var(--color2);
padding: 5em;
}
+
+h1, h2, h3, h4, h5, h6 {
+ font-size: 1em;
+ margin: 0;
+}
+
+img, h1, h2 {
+ vertical-align: middle;
+}
+
+a:target {
+ background-color: #ccc;
+}
+
+img {
+ border: 0;
+}
+
+a.d,
+a.h,
+a.i,
+a.line {
+ text-decoration: none;
+}
+
+/*
+a {
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}*/
+
+#blob a {
+ color: #777;
+}
+
+#blob a:hover {
+ color: blue;
+ text-decoration: none;
+}
+
+table thead td {
+ font-weight: bold;
+}
+
+table td {
+ padding: 0 0.4em;
+}
+
+#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;
+}
+
+.desc {
+ color: #777;
+}
+
+hr {
+ border: 0;
+ border-top: 1px solid #777;
+ height: 1px;
+}
+
+pre {
+ font-family: monospace;
+}
+
+pre a.h {
+ color: #00a;
+}
+
+.A,
+span.i,
+pre a.i {
+ color: #070;
+}
+
+.D,
+span.d,
+pre a.d {
+ color: #e00;
+}
+
+pre a.h:hover,
+pre a.i:hover,
+pre a.d:hover {
+ text-decoration: none;
+}