about summary refs log tree commit diff stats
path: root/cgit.css
diff options
context:
space:
mode:
authorLars Hjemli2007-05-11 23:44:42 +0200
committerLars Hjemli2007-05-11 23:44:42 +0200
commit9f48df63f6d8d9a8abcc02cd2f08293da7081520 (patch)
treed171ce9834577d3133e584c821f78806fbe0daef /cgit.css
parentMakefile: add support for building w.o. preinstalled git (diff)
downloadcgit-9f48df63f6d8d9a8abcc02cd2f08293da7081520.tar.gz
cgit-9f48df63f6d8d9a8abcc02cd2f08293da7081520.zip
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')
-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
@@ -10,6 +10,7 @@ body {
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
@@ -127,6 +128,25 @@ td#search input {
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}