Skip to content

Commit e9e2874

Browse files
committed
Normalize h1 font-size. Close necolas#41
h1 nested in 'section' and 'article' elements has a smaller font-size in Firefox, Chrome, and Safari. This introduces browser consistency.
1 parent 4288d2b commit e9e2874

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

normalize.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! normalize.css 2011-10-24T11:29 UTC - http://github.com/necolas/normalize.css */
1+
/*! normalize.css 2011-11-04T15:27 UTC - http://github.com/necolas/normalize.css */
22

33
/* =============================================================================
44
HTML5 display definitions
@@ -118,6 +118,14 @@ a:active {
118118
Typography
119119
========================================================================== */
120120

121+
/*
122+
* Neutralise smaller font-size in 'section' and 'article' in FF4+, Chrome, S5
123+
*/
124+
125+
h1 {
126+
font-size: 2em;
127+
}
128+
121129
/*
122130
* Addresses styling not present in IE7/8/9, S5, Chrome
123131
*/

0 commit comments

Comments
 (0)