Entoure le titre d'un nouveau div

darcs-hash:20070609142555-d1718-5c5093a623c6caaf2d1d2c991c82364900ce451a.gz
This commit is contained in:
bernat 2007-06-09 16:25:55 +02:00
parent c9d1e6c39e
commit 25a25e3cad
2 changed files with 4 additions and 6 deletions

View file

@ -31,11 +31,6 @@ ul#pagelocation + a {
padding: 0;
}
ul#pagelocation + a + div#content {
clear: both;
}
/* content styles */
html {
@ -54,8 +49,9 @@ a:visited {color: #361a31;}
a.nonexistent, a.badinterwiki {color: #484848;}
/* Headings */
ul#pagelocation {
div#maintitle {
padding: 0;
margin: -1.5em 300px 0 0;
font-size: 2.2em;
font-weight: bold;
line-height: 1.2em;

View file

@ -63,10 +63,12 @@ class Theme(ThemeBase):
"""
parent = d['page'].getParentPage()
title = [
'<div id="maintitle">',
self.title(d),
parent and wikiutil.link_tag(self.request,
parent.page_name,
u'<img src="/wiki/crans-www/img/go-up.png" alt="Haut">') or u'',
'</div>'
]
html = [
u'<div id="globalWrapper">',