summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorOscar Benedito <oscar@oscarbenedito.com>2020-07-31 17:28:59 +0200
committerOscar Benedito <oscar@oscarbenedito.com>2020-08-11 01:38:02 +0200
commitc5e861f80e6500568d2ffb4195ea104236edf3bc (patch)
treeb2a0aab06b4bf35380953bdd6cad3c101835d2c1 /style.css
parent1fdbc7e8ef4025e50678261ca670daca85ac298c (diff)
Design changes
Diffstat (limited to 'style.css')
-rw-r--r--style.css38
1 files changed, 34 insertions, 4 deletions
diff --git a/style.css b/style.css
index 3c458f9..c0e22f6 100644
--- a/style.css
+++ b/style.css
@@ -2,7 +2,7 @@
--diff-green: #181;
--diff-red: #e02;
--links: #00c;
- --code-border: #d2d2d2;
+ --border: #d2d2d2;
--gray: #777;
--hover-bg: #eee;
}
@@ -10,13 +10,22 @@
body {
color: #000;
background-color: #fff;
- font-family: monospace;
+ font-family: sans-serif;
max-width: 900px;
margin: 8px auto;
padding: 5px;
+ line-height: 1.5;
}
-#content, .table-container {
+#branches,
+#tags,
+#index,
+#log,
+#files {
+ font-family: monospace;
+}
+
+#head, #content, .table-container {
max-width: 800px;
overflow-x: auto;
margin: auto;
@@ -30,7 +39,7 @@ body {
pre:not(#about) {
overflow-x: auto;
- border: 1px solid var(--code-border);
+ border: 1px solid var(--border);
border-radius: 4px;
padding: 10px;
}
@@ -39,6 +48,27 @@ a {
color: var(--links);
}
+#head table {
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
+
+#head table td:first-child {
+ padding: 0 0.4em 0 0;
+}
+
+#head table td:last-child {
+ padding: 0 0 0 0.4em;
+}
+
+#head p {
+ margin: 0;
+}
+
+.url {
+ font-family: monospace;
+}
+
#home h1 {
font-size: 1.5em;
text-align: center;