aboutsummaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
authorEivind Uggedal <[email protected]>2015-12-09 08:30:49 +0000
committerHiltjo Posthuma <[email protected]>2015-12-09 22:15:23 +0100
commit1363b8b51e4e2e75e56cdc022eb1ab50d15dd84d (patch)
tree225a0a1d32cea7730644ff0c038eb6cf8a21d8a2 /style.css
parent21ffbb062e903b7cc150d87ba7d4061266d17435 (diff)
downloadstagit-1363b8b51e4e2e75e56cdc022eb1ab50d15dd84d.tar.gz
stagit-1363b8b51e4e2e75e56cdc022eb1ab50d15dd84d.zip
Simplify style and make output more legible
- Combines and removes some redundancy. - Makes <hr> softer by using dashed lines. - Removes <a> underlines since the file/log view have tons of links and reading them is a bit distracting. Underlines are added on hover. - Makes diff headers darkcyan to match the default command line colors and not conflict with new <a> style.
Diffstat (limited to 'style.css')
-rw-r--r--style.css31
1 files changed, 18 insertions, 13 deletions
diff --git a/style.css b/style.css
index 43e936c..d7de757 100644
--- a/style.css
+++ b/style.css
@@ -5,6 +5,7 @@ body {
}
h1, h2, h3, h4, h5, h6 {
+ font-size: 1em;
margin: 0;
}
@@ -12,6 +13,14 @@ img, h1, h2 {
vertical-align: middle;
}
+a {
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
table thead td {
font-weight: bold;
}
@@ -24,39 +33,35 @@ table td {
background-color: #eee;
}
-h1, h2, h3, h4, h5, h6 {
- font-size: 1em;
-}
-
.desc {
- font-size: 100%;
color: #777;
}
hr {
- color: #777;
- background-color: #777;
border: 0;
- border-top: 1px solid #777;
+ border-top: 1px dashed #777;
}
pre {
font-family: monospace;
}
-pre span.h {
- color: blue;
+pre .h {
+ color: darkcyan;
}
-pre span.i {
+pre .i {
color: green;
}
-pre span.d {
+pre .d {
color: red;
}
pre span a {
- text-decoration: none;
color: inherit;
}
+
+pre span a:hover {
+ text-decoration: none;
+}