Le titre n'est plus dans un h1...
darcs-hash:20070609142059-d1718-81f147cc436f5e5ad34813a6660d6ba2909d7f2e.gz
This commit is contained in:
parent
99c9d21fd9
commit
c9d1e6c39e
2 changed files with 38 additions and 11 deletions
|
@ -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 */
|
||||
|
||||
html {
|
||||
|
@ -25,8 +54,7 @@ a:visited {color: #361a31;}
|
|||
a.nonexistent, a.badinterwiki {color: #484848;}
|
||||
|
||||
/* Headings */
|
||||
h1 {
|
||||
margin: 0 300px 0 0;
|
||||
ul#pagelocation {
|
||||
padding: 0;
|
||||
font-size: 2.2em;
|
||||
font-weight: bold;
|
||||
|
@ -42,29 +70,29 @@ h1 {
|
|||
|
||||
}
|
||||
|
||||
h1 a, h1 a:visited {
|
||||
ul#pagelocation a, ul#pagelocation a:visited {
|
||||
text-decoration:none;
|
||||
color: #232323;
|
||||
}
|
||||
|
||||
h2, h3, h4, h5, h6
|
||||
h1, h2, h3, h4, h5, h6
|
||||
{
|
||||
margin: 1em 0 0 0;
|
||||
padding: 0;
|
||||
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;
|
||||
}
|
||||
h2 {
|
||||
h1 {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
|
||||
h3 {font-size: 1.3em;}
|
||||
h4 {font-size: 1.1em;}
|
||||
h5, h6 {font-size: 1em;}
|
||||
h2 {font-size: 1.3em;}
|
||||
h3 {font-size: 1.1em;}
|
||||
h4, h5, h6 {font-size: 1em;}
|
||||
|
||||
li p {
|
||||
margin: .25em 0;
|
||||
|
|
|
@ -63,11 +63,10 @@ class Theme(ThemeBase):
|
|||
"""
|
||||
parent = d['page'].getParentPage()
|
||||
title = [
|
||||
self.title(d)[:-6], # On enlève </h1>
|
||||
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'',
|
||||
u'</h1>'
|
||||
]
|
||||
html = [
|
||||
u'<div id="globalWrapper">',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue