[css] change `h3` and `h4` styles(closes #893244) stable
authorKatia Saurfelt <katia.saurfelt@logilab.fr>
Wed, 21 Mar 2012 15:23:47 +0100
branchstable
changeset 8334 20e38436395f
parent 8333 baa3ea5eac2b
child 8335 eef305ace54c
[css] change `h3` and `h4` styles(closes #893244)
web/data/cubicweb.css
web/data/cubicweb.old.css
web/data/uiprops.py
--- a/web/data/cubicweb.css	Wed Mar 21 18:33:12 2012 +0100
+++ b/web/data/cubicweb.css	Wed Mar 21 15:23:47 2012 +0100
@@ -39,6 +39,12 @@
   padding: %(h3Padding)s;
 }
 
+
+h4 {
+  font-size: %(h4FontSize)s;
+}
+
+
 div.tabbedprimary + h1,
 h1.plain {
  border-bottom: none;
--- a/web/data/cubicweb.old.css	Wed Mar 21 18:33:12 2012 +0100
+++ b/web/data/cubicweb.old.css	Wed Mar 21 15:23:47 2012 +0100
@@ -43,7 +43,7 @@
 }
 
 h4 {
-  font-size: 120%;
+  font-size: %(h4FontSize)s;
   margin: 0.2em 0px;
 }
 
--- a/web/data/uiprops.py	Wed Mar 21 18:33:12 2012 +0100
+++ b/web/data/uiprops.py	Wed Mar 21 15:23:47 2012 +0100
@@ -89,20 +89,22 @@
 # h3 { font-size:1.30769em; }
 
 # h
-h1FontSize = '1.5em' # 18px
+h1FontSize = '2.3em' # 25.3833px
 h1Padding = '0 0 0.14em 0 '
 h1Margin = '0.8em 0 0.5em'
 h1Color = '#000'
 h1BorderBottomStyle = lazystr('0.06em solid %(h1Color)s')
 
-h2FontSize = '1.33333em'
-h2Padding = '0.4em 0 0.35em 0'
+h2FontSize = '2em' #
+h2Padding = '0.4em 0 0.35em 0' # 22.0667px
 h2Margin = '0'
 
-h3FontSize = '1.16667em'
+h3FontSize = '1.7em' #18.75px
 h3Padding = '0.5em 0 0.57em 0'
 h3Margin = '0'
 
+h4FontSize = '1.4em' # 15.45px
+
 # links
 aColor = '#e6820e'