summaryrefslogtreecommitdiffabout
path: root/cgit.css
Side-by-side diff
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css30
1 files changed, 28 insertions, 2 deletions
diff --git a/cgit.css b/cgit.css
index cded981..b736b19 100644
--- a/cgit.css
+++ b/cgit.css
@@ -17,24 +17,31 @@ h2 {
font-size: 120%;
font-weight: bold;
margin-top: 0em;
margin-bottom: 0.25em;
}
h3 {
margin-top: 0em;
font-size: 100%;
font-weight: normal;
}
+h4 {
+ margin-top: 1.5em;
+ margin-bottom: 0.1em;
+ font-size: 100%;
+ font-weight: bold;
+}
+
a {
color: blue;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
table.list {
border: none;
border-collapse: collapse;
@@ -218,57 +225,76 @@ div.commit-subject {
margin: 1.5em 0em 0.5em 0em;
padding: 0em;
}
div.commit-msg {
white-space: pre;
font-family: monospace;
}
table.diffstat {
border-collapse: collapse;
margin-top: 1.5em;
+ width: 100%;
+ border: solid 1px #aaa;
+}
+
+table.diffstat tr:hover {
+ background-color: #eee;
}
table.diffstat th {
font-weight: normal;
text-align: left;
text-decoration: underline;
padding: 0.1em 1em 0.1em 0.1em;
font-size: 100%;
}
table.diffstat td {
- padding: 0.1em 1em 0.1em 0.1em;
+ padding: 0.2em 0.2em 0.1em 0.1em;
font-size: 100%;
+ border: none;
+ border-top: solid 1px #aaa;
+ border-bottom: solid 1px #aaa;
}
table.diffstat td span.modechange {
padding-left: 1em;
color: red;
}
table.diffstat td.add a {
color: green;
}
table.diffstat td.del a {
color: red;
}
table.diffstat td.upd a {
color: blue;
}
-table.diffstat td.summary {
+table.diffstat td.graph {
+ width: 75%;
+ vertical-align: center;
+}
+
+table.diffstat td.graph img {
+ border: none;
+ height: 11pt;
+}
+
+div.diffstat-summary {
color: #888;
padding-top: 0.5em;
}
table.diff td {
border: solid 1px black;
font-family: monospace;
white-space: pre;
}
table.diff td div.hunk {
background: #ccc;