mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Update normalize.css from master branch
This commit is contained in:
parent
a8f83a8992
commit
a85afa128f
16
normalize.css
vendored
16
normalize.css
vendored
@ -1,4 +1,4 @@
|
|||||||
/*! normalize.css 2011-07-20T19:34 UTC · http://github.com/necolas/normalize.css */
|
/*! normalize.css 2011-08-03T09:41 UTC · http://github.com/necolas/normalize.css */
|
||||||
|
|
||||||
/* =============================================================================
|
/* =============================================================================
|
||||||
HTML5 display definitions
|
HTML5 display definitions
|
||||||
@ -42,13 +42,11 @@ audio:not([controls]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Addresses styling not present IE6/7/8/9, FF3, S4
|
* Addresses styling for 'hidden' attribute not present in IE6/7/8/9, FF3, S4
|
||||||
* Ensures content is hidden from all presentations, including screenreaders
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[hidden] {
|
[hidden] {
|
||||||
display: none;
|
display: none;
|
||||||
visibility: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -60,18 +58,15 @@ audio:not([controls]) {
|
|||||||
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
||||||
* http://clagnut.com/blog/348/#c790
|
* http://clagnut.com/blog/348/#c790
|
||||||
* 2. Keeps page centred in all browsers regardless of content height
|
* 2. Keeps page centred in all browsers regardless of content height
|
||||||
* 3. Removes Android and iOS tap highlight color to prevent entire container being highlighted
|
* 3. Prevents iOS text size adjust after orientation change, without disabling user zoom
|
||||||
* www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
|
|
||||||
* 4. Prevents iOS text size adjust after orientation change, without disabling user zoom
|
|
||||||
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-size: 100%; /* 1 */
|
font-size: 100%; /* 1 */
|
||||||
overflow-y: scroll; /* 2 */
|
overflow-y: scroll; /* 2 */
|
||||||
-webkit-tap-highlight-color: rgba(0,0,0,0); /* 3 */
|
-webkit-text-size-adjust: 100%; /* 3 */
|
||||||
-webkit-text-size-adjust: 100%; /* 4 */
|
-ms-text-size-adjust: 100%; /* 3 */
|
||||||
-ms-text-size-adjust: 100%; /* 4 */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -254,6 +249,7 @@ dd {
|
|||||||
nav ul,
|
nav ul,
|
||||||
nav ol {
|
nav ol {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
list-style-image: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user