Le titre n'est plus dans un h1...

darcs-hash:20070609142059-d1718-81f147cc436f5e5ad34813a6660d6ba2909d7f2e.gz
This commit is contained in:
bernat 2007-06-09 16:20:59 +02:00
parent 99c9d21fd9
commit c9d1e6c39e
2 changed files with 38 additions and 11 deletions

View file

@ -7,6 +7,35 @@
*/ */
ul#pagelocation {
list-style-type:none;
padding:5px 10px 10px 10px;
margin:0;
float: left;
border:none;
}
ul#pagelocation li {
display:inline;
}
ul#pagelocation li:before{
content:"/";
}
ul#pagelocation + a {
vertical-align:middle;
height: 25px;
margin: 10px;
padding: 0;
}
ul#pagelocation + a + div#content {
clear: both;
}
/* content styles */ /* content styles */
html { html {
@ -25,8 +54,7 @@ a:visited {color: #361a31;}
a.nonexistent, a.badinterwiki {color: #484848;} a.nonexistent, a.badinterwiki {color: #484848;}
/* Headings */ /* Headings */
h1 { ul#pagelocation {
margin: 0 300px 0 0;
padding: 0; padding: 0;
font-size: 2.2em; font-size: 2.2em;
font-weight: bold; font-weight: bold;
@ -42,29 +70,29 @@ h1 {
} }
h1 a, h1 a:visited { ul#pagelocation a, ul#pagelocation a:visited {
text-decoration:none; text-decoration:none;
color: #232323; color: #232323;
} }
h2, h3, h4, h5, h6 h1, h2, h3, h4, h5, h6
{ {
margin: 1em 0 0 0; margin: 1em 0 0 0;
padding: 0; padding: 0;
line-height: 1.2em; line-height: 1.2em;
} }
h2 a, h3 a, h4 a, h5 a, h6 a h1, h2 a, h3 a, h4 a, h5 a, h6 a
{ {
text-decoration:none; text-decoration:none;
} }
h2 { h1 {
font-size: 1.6em; font-size: 1.6em;
} }
h3 {font-size: 1.3em;} h2 {font-size: 1.3em;}
h4 {font-size: 1.1em;} h3 {font-size: 1.1em;}
h5, h6 {font-size: 1em;} h4, h5, h6 {font-size: 1em;}
li p { li p {
margin: .25em 0; margin: .25em 0;

View file

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