# HG changeset patch # User Paul Boddie # Date 1274914687 -7200 # Node ID e6d53d3de019d377ae837d97656521ac3fe42c8d # Parent e8b4beab87208a9921173bf22e182813e36abf76 Removed the restriction on the table of contents width. Added the page trail to the display. diff -r e8b4beab8720 -r e6d53d3de019 themes/mercurialwiki/css/common.css --- a/themes/mercurialwiki/css/common.css Thu May 27 00:42:36 2010 +0200 +++ b/themes/mercurialwiki/css/common.css Thu May 27 00:58:07 2010 +0200 @@ -142,7 +142,7 @@ text-align: left; margin: 0.5em 0 0.5em 1em; padding: 0.5em 0.75em 0.5em 0.5em; - max-width: 50%; + /* max-width: 50%; */ display: inline-table; } div.table-of-contents ol { diff -r e8b4beab8720 -r e6d53d3de019 themes/mercurialwiki/css/screen.css --- a/themes/mercurialwiki/css/screen.css Thu May 27 00:42:36 2010 +0200 +++ b/themes/mercurialwiki/css/screen.css Thu May 27 00:58:07 2010 +0200 @@ -284,8 +284,15 @@ input.button { } +#pagetrail { + float: left; +} + #credits, #version, #timings, #username { float: right; +} + +#pagetrail, #credits, #version, #timings, #username { /* Styling similar to the main site. */ @@ -294,17 +301,21 @@ padding: 10px 25px; } -#credits li, #timings li, #username li { +#pagetrail li, #credits li, #timings li, #username li { display: inline; padding: 0 2px; margin: 0 4px; } +#pagetrail li:before { + content: " ยป "; +} + #credits img { vertical-align: middle; } -#credits a, #username a { +#pagetrail a, #credits a, #username a { text-decoration: none; } diff -r e8b4beab8720 -r e6d53d3de019 themes/mercurialwiki/mercurialwiki.py --- a/themes/mercurialwiki/mercurialwiki.py Thu May 27 00:42:36 2010 +0200 +++ b/themes/mercurialwiki/mercurialwiki.py Thu May 27 00:58:07 2010 +0200 @@ -119,6 +119,7 @@ html.append(fmt.div(on=1, attr={"class" : "pageline"})) html.append(fmt.div(on=0)) + html.append(self.trail(d)) html.append(self.username(d)) html.append(fmt.div(on=0))