summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2007-06-17 22:18:42 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-06-18 06:29:53 (UTC)
commitb8be028a309381b83abe924f5e8e01cf02b121a2 (patch) (side-by-side diff)
tree669b8ac253e8cc1d8568723167764f5428ae5d83 /cgit.css
parent4a0be586662843382ecfa53af34a13b291312bc0 (diff)
downloadcgit-b8be028a309381b83abe924f5e8e01cf02b121a2.zip
cgit-b8be028a309381b83abe924f5e8e01cf02b121a2.tar.gz
cgit-b8be028a309381b83abe924f5e8e01cf02b121a2.tar.bz2
Add more menuitems on repo pages
In an attempt to get better usability, a set of 'semistatic' menuitems are added to the page header on all pages except the repository index. The menuitems (summary, log, files, commit and diff) honours the current branch and revision. To switch the current branch one can use the branch links on the summary page. The backlink to the repository index page is now available by clicking the static page heading. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css14
1 files changed, 12 insertions, 2 deletions
diff --git a/cgit.css b/cgit.css
index cda437e..9c79c32 100644
--- a/cgit.css
+++ b/cgit.css
@@ -95,6 +95,14 @@ td#header {
vertical-align: text-bottom;
}
+td#header a {
+ color: #666;
+}
+
+td#header a:hoved {
+ text-decoration: underline;
+}
+
td#logo {
text-align: right;
vertical-align: middle;
@@ -116,11 +124,13 @@ td#crumb {
td#crumb a {
color: #ccc;
background-color: #666;
+ padding: 0em 0.5em 0em 0.5em;
}
td#crumb a:hover {
- color: #eee;
- background-color: #666;
+ color: #666;
+ background-color: #ccc;
+ text-decoration: none;
}
td#search {