summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2007-05-20 22:14:28 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-05-20 22:14:28 (UTC)
commit0b8b6a317654dce2aa8c7ec5bf55717f624af14f (patch) (side-by-side diff)
treeb70074d13e56ac8e1e9162e13be554802e46e8ba /cgit.css
parent271ac5a7e6b5b67f54fdd16e8542aa282f1c7140 (diff)
downloadcgit-0b8b6a317654dce2aa8c7ec5bf55717f624af14f.zip
cgit-0b8b6a317654dce2aa8c7ec5bf55717f624af14f.tar.gz
cgit-0b8b6a317654dce2aa8c7ec5bf55717f624af14f.tar.bz2
Make frontpage friendlier
This is an attempt to make the index page more usable by changing how repo groups and repo links are displayed. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css') (more/less context) (show whitespace changes)
-rw-r--r--cgit.css34
1 files changed, 32 insertions, 2 deletions
diff --git a/cgit.css b/cgit.css
index 5dd43b0..b14f77e 100644
--- a/cgit.css
+++ b/cgit.css
@@ -310,51 +310,81 @@ table.diffstat td.graph td.rem {
background-color: #c55;
}
table.diffstat td.graph td.none {
background-color: none;
}
div.diffstat-summary {
color: #888;
padding-top: 0.5em;
}
table.diff td {
font-family: monospace;
white-space: pre;
}
table.diff td div.head {
font-weight: bold;
padding-top: 1em;
}
table.diff td div.hunk {
color: #009;
}
table.diff td div.add {
color: green;
}
table.diff td div.del {
color: red;
}
.sha1 {
font-family: courier;
font-size: 90%;
}
.left {
text-align: left;
}
.right {
text-align: right;
}
table.list td.repogroup {
- padding-top: 1em;
- border-bottom: solid 1px #777;
+ font-style: italic;
+ color: #888;
+}
+
+a.button {
+ font-size: 80%;
+ color: #333;
+ background-color: #ccc;
+ border: solid 1px #999;
+ padding: 0em 0.5em;
+ margin: 0.1em 0.25em;
+}
+
+a.button:hover {
+ text-decoration: none;
+ background-color: #eee;
+}
+
+a.primary {
+ font-size: 100%;
+}
+
+a.secondary {
+ font-size: 90%;
+}
+
+td.toplevel-repo {
+
+}
+
+table.list td.sublevel-repo {
+ padding-left: 1.5em;
}