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) (unidiff)
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
@@ -92,12 +92,20 @@ td#header {
92 font-size: 150%; 92 font-size: 150%;
93 font-weight: bold; 93 font-weight: bold;
94 padding: 0.2em 0.5em; 94 padding: 0.2em 0.5em;
95 vertical-align: text-bottom; 95 vertical-align: text-bottom;
96} 96}
97 97
98td#header a {
99 color: #666;
100}
101
102td#header a:hoved {
103 text-decoration: underline;
104}
105
98td#logo { 106td#logo {
99 text-align: right; 107 text-align: right;
100 vertical-align: middle; 108 vertical-align: middle;
101 padding-right: 0.5em; 109 padding-right: 0.5em;
102} 110}
103 111
@@ -113,17 +121,19 @@ td#crumb {
113 font-weight: bold; 121 font-weight: bold;
114} 122}
115 123
116td#crumb a { 124td#crumb a {
117 color: #ccc; 125 color: #ccc;
118 background-color: #666; 126 background-color: #666;
127 padding: 0em 0.5em 0em 0.5em;
119} 128}
120 129
121td#crumb a:hover { 130td#crumb a:hover {
122 color: #eee; 131 color: #666;
123 background-color: #666; 132 background-color: #ccc;
133 text-decoration: none;
124} 134}
125 135
126td#search { 136td#search {
127 text-align: right; 137 text-align: right;
128 vertical-align: middle; 138 vertical-align: middle;
129 padding-right: 0.5em; 139 padding-right: 0.5em;