diff --git a/wiki/static/crans-www/css/common.css b/wiki/static/crans-www/css/common.css index fec8820f..f10c25e5 100644 --- a/wiki/static/crans-www/css/common.css +++ b/wiki/static/crans-www/css/common.css @@ -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; diff --git a/wiki/theme/crans-www.py b/wiki/theme/crans-www.py index df943dcc..cf2256c9 100644 --- a/wiki/theme/crans-www.py +++ b/wiki/theme/crans-www.py @@ -63,11 +63,10 @@ class Theme(ThemeBase): """ parent = d['page'].getParentPage() title = [ - self.title(d)[:-6], # On enlève + self.title(d), parent and wikiutil.link_tag(self.request, parent.page_name, u'Haut') or u'', - u'' ] html = [ u'
',