From: olivier <> Date: Fri, 12 Feb 2010 21:54:03 +0000 (+0000) Subject: fix conflict between home modules and rst content image ; properly rewrite img urls... X-Git-Tag: 1.1~539 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=fedba45e9244628165becf7abd138bbf3a3dda66;p=telemeta.git fix conflict between home modules and rst content image ; properly rewrite img urls when using rst object substitution ; fix build_query_string template tag --- diff --git a/telemeta/htdocs/css/telemeta.css b/telemeta/htdocs/css/telemeta.css index 526043df..1e3a9516 100644 --- a/telemeta/htdocs/css/telemeta.css +++ b/telemeta/htdocs/css/telemeta.css @@ -629,23 +629,21 @@ table.listing tbody tr:hover { background: #f7f8fa !important } margin: 1.5em; } -.rst-content img.align-left { +.rst-content img.align-left, .rst-content img.align-right { margin-left: 0; - clear: left; + margin-top: 0.6ex; } -.rst-content img.align-right { - margin-right: 0; +.module-set { + float: right; clear: right; } .module { - float: right; border: 1px dotted #999; background: #EEE; padding: 1em; margin: 0 0 1.5em 1.5em; - clear: right; } .module h3 { diff --git a/telemeta/templates/telemeta_default/index.html b/telemeta/templates/telemeta_default/index.html index 89cd2b47..e943e250 100644 --- a/telemeta/templates/telemeta_default/index.html +++ b/telemeta/templates/telemeta_default/index.html @@ -4,6 +4,7 @@ {% block content %}