Mercurial > hg
annotate templates/header.tmpl @ 586:11578820b5d7
[PATCH] Tags template cleanup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] Tags template cleanup
From: Edouard Gomez <edouard.gomez@gmail.com>
Tags template cleanup
This page lists all tags, thus using divs doesn't structure well
the information. Better use a list (ul). Each tag becomes a li
element. The li element also carries the parity information.
As font style tags are highly deprecated in newer HTML variants
get rid of the tt element, relaced by a simple span that gets
a CSS class that mimics tt default style (monospaced text)
Added CSS classes required to match old style.
manifest hash: f8943b8270e20966a04111e7205deefedd8b7075
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCx1ijywK+sNU5EO8RAjaAAJoCVaD37YUC6DueL6Kd5D9aoCF8bQCfSWw0
xFVkpEtnr6ST4eyJjR8K17U=
=nphb
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Sat, 02 Jul 2005 19:16:51 -0800 |
parents | 51626d888526 |
children | 56d81b303656 |
rev | line source |
---|---|
142 | 1 Content-type: text/html |
2 | |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
142
diff
changeset
|
3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
142 | 4 <html> |
5 <head> | |
6 <style type="text/css"> | |
583
415054ea31c1
[PATCH] Hide style from non conformant agents
mpm@selenic.com
parents:
172
diff
changeset
|
7 <!-- |
142 | 8 a { text-decoration:none; } |
172
e9b1147db448
hgweb: alternating colors for multifile diffs
mpm@selenic.com
parents:
168
diff
changeset
|
9 .parity0 { background-color: #dddddd; } |
e9b1147db448
hgweb: alternating colors for multifile diffs
mpm@selenic.com
parents:
168
diff
changeset
|
10 .parity1 { background-color: #eeeeee; } |
e9b1147db448
hgweb: alternating colors for multifile diffs
mpm@selenic.com
parents:
168
diff
changeset
|
11 .lineno { width: 60px; color: #aaaaaa; font-size: smaller; } |
142 | 12 .plusline { color: green; } |
13 .minusline { color: red; } | |
14 .atline { color: purple; } | |
15 .annotate { font-size: smaller; text-align: right; padding-right: 1em; } | |
16 .buttons a { | |
17 background-color: #666666; | |
18 padding: 2pt; | |
19 color: white; | |
20 font-family: sans; | |
21 font-weight: bold; | |
22 } | |
23 .metatag { | |
24 background-color: #888888; | |
25 color: white; | |
26 text-align: right; | |
27 } | |
585 | 28 |
29 /* Changelog entries */ | |
30 .changelogEntry { width: 100%; } | |
31 .changelogEntry th { font-weight: normal; text-align: right; vertical-align: top; width: 15%;} | |
32 .changelogEntry th.age, .changelogEntry th.firstline { font-weight: bold; } | |
33 .changelogEntry th.firstline { text-align: left; width: inherit; } | |
586 | 34 |
35 /* Tag entries */ | |
36 #tagEntries { list-style: none; margin: 0; padding: 0; } | |
37 #tagEntries .tagEntry { list-style: none; margin: 0; padding: 0; } | |
38 #tagEntries .tagEntry span.node { font-family: monospace; } | |
583
415054ea31c1
[PATCH] Hide style from non conformant agents
mpm@selenic.com
parents:
172
diff
changeset
|
39 --> |
142 | 40 </style> |