From 9f48df63f6d8d9a8abcc02cd2f08293da7081520 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Fri, 11 May 2007 23:44:42 +0200 Subject: 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 --- cgit.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'cgit.css') diff --git a/cgit.css b/cgit.css index ef4bc62..49cf2d1 100644 --- a/cgit.css +++ b/cgit.css @@ -10,6 +10,7 @@ body { h2 { font-size: 120%; font-weight: bold; + margin-top: 0em; margin-bottom: 0.25em; } @@ -127,6 +128,25 @@ td#search input { background-color: #fff; } +td#summary { + vertical-align: top; + padding-bottom: 1em; +} + +td#archivelist { + padding-bottom: 1em; +} + +td#archivelist table { + float: right; + border-collapse: collapse; + border: solid 1px #777; +} + +td#archivelist table th { + background-color: #ccc; +} + td#content { padding: 1em 0.5em; } -- cgit v1.2.3-59-g8ed1b