changeset 305:d002cd631271

browser_side: styles for displaying rich text
author souliane <souliane@mailoo.org>
date Wed, 18 Dec 2013 13:59:25 +0100
parents 2ab513a47e3b
children 52b1afd7ac3f
files public/libervia.css
diffstat 1 files changed, 31 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/public/libervia.css	Wed Dec 18 09:54:27 2013 +0100
+++ b/public/libervia.css	Wed Dec 18 13:59:25 2013 +0100
@@ -25,11 +25,11 @@
 /* reset/default styles */
 
 html, body, div, span, applet, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+p, blockquote, pre,
 a, abbr, acronym, address, big, cite, code,
 del, dfn, em, font, img, ins, kbd, q, s, samp,
 small, strike, strong, sub, sup, tt, var,
-b, u, i, center, dl, dt, dd, ol, ul, li,
+b, u, i, center, dl, dt, dd, li,
 fieldset, form, label, legend, table, caption,
 tbody, tfoot, thead, tr, th, td {
     margin: 0;
@@ -42,7 +42,35 @@
     color: #444;
 }
 
-ol, ul { list-style: none; }
+/* styles for displaying rich text - START */
+h1, h2, h3, h4, h5, h6 {
+    margin: 0;
+    padding: 0;
+    border: 0;
+    outline: 0;
+    vertical-align: baseline;
+    background: transparent;
+    color: #444;
+    border-bottom: 1px solid rgb(170, 170, 170);
+    margin-bottom: 0.6em;
+}
+ol, ul {
+    margin: 0;
+    border: 0;
+    outline: 0;
+    font-size: 100%;
+    vertical-align: baseline;
+    background: transparent;
+    color: #444;
+}
+a:link {
+    color: blue;
+}
+.bubble p {
+    margin: 0.4em 0em;
+}
+/* styles for displaying rich text - END */
+
 blockquote, q { quotes: none; }
 
 blockquote:before, blockquote:after,