[css] change `h3` and `h4` styles(closes #893244)

authorKatia Saurfelt <katia.saurfelt@logilab.fr>
changeset20e38436395f
branchstable
phasepublic
hiddenno
parent revision#baa3ea5eac2b querier: Improve error message when ERQLExpression fails on some entity (closes #2267081)
child revision#eef305ace54c [js] get rid of `partial` function (closes #1972794)
files modified by this revision
web/data/cubicweb.css
web/data/cubicweb.old.css
web/data/uiprops.py
# HG changeset patch
# User Katia Saurfelt <katia.saurfelt@logilab.fr>
# Date 1332339827 -3600
# Wed Mar 21 15:23:47 2012 +0100
# Branch stable
# Node ID 20e38436395f8103c82ab19a4c4fcdcd377556c5
# Parent baa3ea5eac2b7d9ea06bb2e166cf840104ac61cf
[css] change `h3` and `h4` styles(closes #893244)

diff --git a/web/data/cubicweb.css b/web/data/cubicweb.css
@@ -37,10 +37,16 @@
1  h3 {
2    font-size: %(h3FontSize)s;
3    padding: %(h3Padding)s;
4  }
5 
6 +
7 +h4 {
8 +  font-size: %(h4FontSize)s;
9 +}
10 +
11 +
12  div.tabbedprimary + h1,
13  h1.plain {
14   border-bottom: none;
15  }
16 
diff --git a/web/data/cubicweb.old.css b/web/data/cubicweb.old.css
@@ -41,11 +41,11 @@
17  h3 {
18    font-size: %(h3FontSize)s;
19  }
20 
21  h4 {
22 -  font-size: 120%;
23 +  font-size: %(h4FontSize)s;
24    margin: 0.2em 0px;
25  }
26 
27  h5 {
28    font-size:110%;
diff --git a/web/data/uiprops.py b/web/data/uiprops.py
@@ -87,24 +87,26 @@
29  # h1 { font-size:2.11538em; }
30  # h2 { font-size:1.61538em; }
31  # h3 { font-size:1.30769em; }
32 
33  # h
34 -h1FontSize = '1.5em' # 18px
35 +h1FontSize = '2.3em' # 25.3833px
36  h1Padding = '0 0 0.14em 0 '
37  h1Margin = '0.8em 0 0.5em'
38  h1Color = '#000'
39  h1BorderBottomStyle = lazystr('0.06em solid %(h1Color)s')
40 
41 -h2FontSize = '1.33333em'
42 -h2Padding = '0.4em 0 0.35em 0'
43 +h2FontSize = '2em' #
44 +h2Padding = '0.4em 0 0.35em 0' # 22.0667px
45  h2Margin = '0'
46 
47 -h3FontSize = '1.16667em'
48 +h3FontSize = '1.7em' #18.75px
49  h3Padding = '0.5em 0 0.57em 0'
50  h3Margin = '0'
51 
52 +h4FontSize = '1.4em' # 15.45px
53 +
54  # links
55  aColor = '#e6820e'
56 
57 
58  # page frame