mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Language update
This commit is contained in:
parent
d8335d302a
commit
3ce871adc2
55
normalize.css
vendored
55
normalize.css
vendored
@ -27,13 +27,13 @@ video {
|
|||||||
/*
|
/*
|
||||||
* 1.
|
* 1.
|
||||||
* Make normal cursor the default for <html> element
|
* Make normal cursor the default for <html> element
|
||||||
* Improves visual focus of page during mouse movement
|
* Improves visual focus of page during mouse movement in all browsers
|
||||||
* 2.
|
* 2.
|
||||||
* Add horizontal scrollbar to <html> element
|
* Add vertical scrollbar to <html> element
|
||||||
* Scrollbars keep page center consistent regardless of content overflow
|
* Improves page center consistency regardless of content height in all browsers
|
||||||
* 3.
|
* 3.
|
||||||
* Remove text size adjust tap color for <html> element
|
* Remove text size adjust tap color for <html> element
|
||||||
* Text size and tap color displayed oddly in iOS
|
* Fixes text size and tap color displayed oddly in iOS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@ -45,7 +45,7 @@ html {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Remove outline on <a> element when active or hovered
|
* Remove outline on <a> element when active or hovered
|
||||||
* Improves readability when focused and then also mouse activated
|
* Improves readability when focused and also mouse hovered in all browsers
|
||||||
*/
|
*/
|
||||||
|
|
||||||
a:active,
|
a:active,
|
||||||
@ -56,10 +56,10 @@ a:hover {
|
|||||||
/*
|
/*
|
||||||
* 1.
|
* 1.
|
||||||
* Disable border for <img> element
|
* Disable border for <img> element
|
||||||
* Improves readability when inside <a> element
|
* Improves readability when inside <a> element in all browsers
|
||||||
* 2.
|
* 2.
|
||||||
* Allow high quality bicubic image resampling for <img> element
|
* Allow high quality bicubic image resampling for <img> element
|
||||||
* Improves readability when scaled
|
* Improves readability when scaled in IE7
|
||||||
*/
|
*/
|
||||||
|
|
||||||
img {
|
img {
|
||||||
@ -69,7 +69,7 @@ img {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Add bottom border to <abbr> element
|
* Add bottom border to <abbr> element
|
||||||
* Styling not present in IE6/7/8/9 Chrome10 Saf5
|
* Fixes styling not present in IE6/7/8/9 Chrome10 Saf5
|
||||||
*/
|
*/
|
||||||
|
|
||||||
abbr {
|
abbr {
|
||||||
@ -78,7 +78,7 @@ abbr {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Add italic font style to <dfn> element
|
* Add italic font style to <dfn> element
|
||||||
* Styling not present in Chrome10 Saf5
|
* Fixes styling not present in Chrome10 Saf5
|
||||||
*/
|
*/
|
||||||
|
|
||||||
dfn {
|
dfn {
|
||||||
@ -87,7 +87,7 @@ dfn {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Add yellow background and black text to <mark> element
|
* Add yellow background and black text to <mark> element
|
||||||
* Styling not present in IE6/7/8/9
|
* Fixes styling not present in IE6/7/8/9
|
||||||
*/
|
*/
|
||||||
|
|
||||||
mark {
|
mark {
|
||||||
@ -97,7 +97,7 @@ mark {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Redeclare monospace font family to <pre> <code> <kbd> <samp> elements
|
* Redeclare monospace font family to <pre> <code> <kbd> <samp> elements
|
||||||
* Font family set oddly in Chrome10 Saf5
|
* Fixes font family set oddly in Chrome10 Saf5
|
||||||
*/
|
*/
|
||||||
|
|
||||||
pre,
|
pre,
|
||||||
@ -109,7 +109,7 @@ samp {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Allow line wrapping for <pre> element
|
* Allow line wrapping for <pre> element
|
||||||
* Improves readability of pre-formatted text
|
* Improves readability of pre-formatted text in all browsers
|
||||||
*/
|
*/
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
@ -121,9 +121,9 @@ pre {
|
|||||||
/*
|
/*
|
||||||
* Remove quotes from <q> element
|
* Remove quotes from <q> element
|
||||||
* 1.
|
* 1.
|
||||||
* CSS quotes not supported in IE6/7
|
* Addresses CSS quotes not supported in IE6/7
|
||||||
* 2.
|
* 2.
|
||||||
* Quote attributes not supported in Saf4
|
* Addresses quote attributes not supported in Saf4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* 1 */
|
/* 1 */
|
||||||
@ -142,7 +142,7 @@ q:after {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Remove line height for <sub> <sup> elements
|
* Remove line height for <sub> <sup> elements
|
||||||
* Line height within multi-line text displayed oddly
|
* Fixes line height within multi-line text displayed oddly in all browsers
|
||||||
*/
|
*/
|
||||||
|
|
||||||
sub,
|
sub,
|
||||||
@ -151,8 +151,8 @@ sup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Align <legend> element
|
* Define alignment for <legend> element
|
||||||
* Alignment displayed oddly in IE6/7
|
* Fixes alignment displayed oddly in IE6/7
|
||||||
*/
|
*/
|
||||||
|
|
||||||
legend {
|
legend {
|
||||||
@ -161,7 +161,7 @@ legend {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Remove margin from form elements
|
* Remove margin from form elements
|
||||||
* Margin displayed oddly in Chrome10 Saf5
|
* Fixes margin displayed oddly in Chrome10 Saf5
|
||||||
*/
|
*/
|
||||||
|
|
||||||
button,
|
button,
|
||||||
@ -172,22 +172,21 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Correct inner spacing for <button> element
|
* Define inner-spacing for <button> element
|
||||||
* 1. Spacing displayed oddly in IE6/7
|
* 1. Fixes spacing displayed oddly in IE6/7
|
||||||
* 2. Border and padding displayed oddly in FF3/4
|
* 2. Addresses padding differences between all browsers
|
||||||
|
* 3. Fixes border and padding displayed oddly in FF3/4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* 1 */
|
|
||||||
|
|
||||||
button,
|
button,
|
||||||
input[type=button],
|
input[type=button],
|
||||||
input[type=reset],
|
input[type=reset],
|
||||||
input[type=submit] {
|
input[type=submit] {
|
||||||
*overflow: visible;
|
*overflow: visible; /* 1 */
|
||||||
padding: 0 6px;
|
padding: 0 6px; /* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 2 */
|
/* 3 */
|
||||||
|
|
||||||
button::-moz-focus-inner,
|
button::-moz-focus-inner,
|
||||||
input[type=button]::-moz-focus-inner,
|
input[type=button]::-moz-focus-inner,
|
||||||
@ -198,8 +197,8 @@ input[type=submit]::-moz-focus-inner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Disable default horizontal scrollbar for <textarea> element
|
* Disable default vertical scrollbar for <textarea> element
|
||||||
* Scrollbar displayed oddly in IE6/7/8/9
|
* Fixes scrollbar displayed oddly in IE6/7/8/9
|
||||||
*/
|
*/
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
|
Loading…
Reference in New Issue
Block a user