better vertical rythm for headings
This commit is contained in:
parent
d647f8c464
commit
133b38724b
4 changed files with 51 additions and 50 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* www.KNACSS.com V2.8 (2013-09) @author: Raphael Goetter, Alsacreations
|
||||
* www.KNACSS.com V2.8a (2013-09) @author: Raphael Goetter, Alsacreations
|
||||
* Licence CC-BY http://creativecommons.org/licenses/by/3.0/fr/
|
||||
*/
|
||||
|
||||
|
@ -34,39 +34,38 @@ textarea,
|
|||
caption,
|
||||
details,
|
||||
figure {
|
||||
font-size: 1em; /* equiv 14px */
|
||||
line-height: 1.5;
|
||||
margin: .75em 0 0;
|
||||
line-height: 1.5;
|
||||
}
|
||||
h1, .h1-like {
|
||||
font-size: 2.286em; /* equiv 32px */
|
||||
line-height: 1.6154em;
|
||||
margin: .8077em 0 0 0;
|
||||
margin: 0.6563em 0 0 0;
|
||||
font-size: 2.2857em; /* equiv 32px */
|
||||
line-height: 1.3126em;
|
||||
}
|
||||
h2, .h2-like {
|
||||
margin: 0.75em 0 0 0;
|
||||
font-size: 2em; /* equiv 28px */
|
||||
line-height: 1.75em;
|
||||
margin: .875em 0 0 0;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
h3, .h3-like {
|
||||
font-size: 1.714em; /* equiv 24px */
|
||||
line-height: 1.909em;
|
||||
margin: .9545em 0 0 0;
|
||||
margin: 0.875em 0 0 0;
|
||||
font-size: 1.7143em; /* equiv 24px */
|
||||
line-height: 1.75em;
|
||||
}
|
||||
h4, .h4-like {
|
||||
margin: 1.05em 0 0 0;
|
||||
font-size: 1.4286em; /* equiv 20px */
|
||||
line-height: 1.05em;
|
||||
margin: 1.05em 0 0 0;
|
||||
}
|
||||
h5, .h5-like {
|
||||
margin: 1.1667em 0 0 0;
|
||||
font-size: 1.2857em; /* equiv 18px */
|
||||
line-height: 1.1667em;
|
||||
margin: 1.1667em 0 0 0;
|
||||
}
|
||||
h6, .h6-like {
|
||||
margin: 1.3125em 0 0 0;
|
||||
font-size: 1.1429em; /* equiv 16px */
|
||||
line-height: 1.3125em;
|
||||
margin: 1.3125em 0 0 0;
|
||||
}
|
||||
|
||||
/* alternate font-sizing */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue