summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2007-05-11 21:44:42 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-05-11 21:44:42 (UTC)
commit9f48df63f6d8d9a8abcc02cd2f08293da7081520 (patch) (unidiff)
treed171ce9834577d3133e584c821f78806fbe0daef /cgit.css
parentf596d10d7391ed72b73019e037a7f7eec7a50d02 (diff)
downloadcgit-9f48df63f6d8d9a8abcc02cd2f08293da7081520.zip
cgit-9f48df63f6d8d9a8abcc02cd2f08293da7081520.tar.gz
cgit-9f48df63f6d8d9a8abcc02cd2f08293da7081520.tar.bz2
Add links to enable downloading of tagged blobs
All tags below refs/archives are shown on the repo summary page as download links. The links referes to the tagged objects, using the tag name as filename for download. This can be used to add shortcuts for release tarballs, documentation and other blobs stored in the object database, especially blobs that are not reachable during cloning. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index ef4bc62..49cf2d1 100644
--- a/cgit.css
+++ b/cgit.css
@@ -7,12 +7,13 @@ body {
7} 7}
8 8
9 9
10h2 { 10h2 {
11 font-size: 120%; 11 font-size: 120%;
12 font-weight: bold; 12 font-weight: bold;
13 margin-top: 0em;
13 margin-bottom: 0.25em; 14 margin-bottom: 0.25em;
14} 15}
15 16
16h3 { 17h3 {
17 margin-top: 0em; 18 margin-top: 0em;
18 font-size: 100%; 19 font-size: 100%;
@@ -124,12 +125,31 @@ td#search input {
124 width: 10em; 125 width: 10em;
125 border: solid 1px #333; 126 border: solid 1px #333;
126 color: #333; 127 color: #333;
127 background-color: #fff; 128 background-color: #fff;
128} 129}
129 130
131td#summary {
132 vertical-align: top;
133 padding-bottom: 1em;
134}
135
136td#archivelist {
137 padding-bottom: 1em;
138}
139
140td#archivelist table {
141 float: right;
142 border-collapse: collapse;
143 border: solid 1px #777;
144}
145
146td#archivelist table th {
147 background-color: #ccc;
148}
149
130td#content { 150td#content {
131 padding: 1em 0.5em; 151 padding: 1em 0.5em;
132} 152}
133 153
134div#blob { 154div#blob {
135 border: solid 1px black; 155 border: solid 1px black;