about summary refs log tree commit diff
path: root/cgit.css
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-05-21 00:14:28 +0200
committerLars Hjemli <hjemli@gmail.com>2007-05-21 00:14:28 +0200
commit0b8b6a317654dce2aa8c7ec5bf55717f624af14f (patch)
treeb70074d13e56ac8e1e9162e13be554802e46e8ba /cgit.css
parentMerge branch 'repogroups' (diff)
downloadcgit-pink-0b8b6a317654dce2aa8c7ec5bf55717f624af14f.tar.gz
cgit-pink-0b8b6a317654dce2aa8c7ec5bf55717f624af14f.zip
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')
-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
@@ -355,6 +355,36 @@ table.diff td div.del {
 }
 
 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;
 }