changeset 765:a55df9c37d0e

browser_side (blog): display title with h2 instead of h1 + add some bottom margin for the tags
author souliane <souliane@mailoo.org>
date Wed, 25 Nov 2015 07:56:26 +0100
parents b392ea1514ee
children dd70db1c48dc
files src/browser/public/libervia.css src/browser/sat_browser/richtext.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser/public/libervia.css	Wed Nov 25 02:35:32 2015 +0100
+++ b/src/browser/public/libervia.css	Wed Nov 25 07:56:26 2015 +0100
@@ -960,7 +960,7 @@
 .mblog_tags {
     background: #fbfbfb none repeat scroll 0% 0%;
     padding: 5px;
-    margin: 8px 0px 0px;
+    margin: 8px 0px 5px 0px;
     overflow: hidden;
     border-radius: 5px;
 }
--- a/src/browser/sat_browser/richtext.py	Wed Nov 25 02:35:32 2015 +0100
+++ b/src/browser/sat_browser/richtext.py	Wed Nov 25 07:56:26 2015 +0100
@@ -323,7 +323,7 @@
         content = self._original_content
         text = content['text']
         if 'title' in content and content['title']:
-            title = '<h1>%s</h1>' % html_tools.html_sanitize(content['title'])
+            title = '<h2>%s</h2>' % html_tools.html_sanitize(content['title'])
 
         tags = ""
         for tag in common.dict2iter('tag', content):