mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Minor change to <pre> etc font-family. Set {display:inline-block} only for audio[controls].
This commit is contained in:
parent
410b484a54
commit
4bf81bb824
7
normalize.css
vendored
7
normalize.css
vendored
@ -23,7 +23,7 @@ section {
|
|||||||
* Display not defined in IE6/7/8/9 & FF3
|
* Display not defined in IE6/7/8/9 & FF3
|
||||||
*/
|
*/
|
||||||
|
|
||||||
audio,
|
audio[controls],
|
||||||
canvas,
|
canvas,
|
||||||
video {
|
video {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -163,7 +163,7 @@ mark {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Redeclare monospace font family to <pre> <code> <kbd> <samp> elements
|
* Redeclare monospace font family for <pre> <code> <kbd> <samp> elements
|
||||||
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
|
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
|
||||||
* 1. Fixes font family set oddly in S5 Chrome
|
* 1. Fixes font family set oddly in S5 Chrome
|
||||||
* 2. Fixes monospace font family set oddly in IE6
|
* 2. Fixes monospace font family set oddly in IE6
|
||||||
@ -174,7 +174,7 @@ code,
|
|||||||
kbd,
|
kbd,
|
||||||
samp {
|
samp {
|
||||||
font-family: monospace, monospace; /* 1 */
|
font-family: monospace, monospace; /* 1 */
|
||||||
_font-family: 'Courier New', monospace, monospace; /* 2 */
|
_font-family: 'Courier New', monospace; /* 2 */
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -367,6 +367,7 @@ input[type="search"] {
|
|||||||
* Remove WebKit search decoration
|
* Remove WebKit search decoration
|
||||||
* Addresses inner padding displaying oddly in S5 Chrome on OSX
|
* Addresses inner padding displaying oddly in S5 Chrome on OSX
|
||||||
*/
|
*/
|
||||||
|
|
||||||
input[type="search"]::-webkit-search-decoration {
|
input[type="search"]::-webkit-search-decoration {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user