mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Update
This commit is contained in:
parent
6671403e3b
commit
15f071eb43
26
normalize.css
vendored
26
normalize.css
vendored
@ -54,10 +54,22 @@ body {
|
||||
}
|
||||
|
||||
/*
|
||||
* Remove outline on <a> element when active or hovered
|
||||
* 1.
|
||||
* Make outline thin dotted for <a>
|
||||
* Fixes outline displayed oddly in C10
|
||||
* 2.
|
||||
* Remove outline for <a> element when active or hovered
|
||||
* Improves readability when focused and also mouse hovered in all browsers
|
||||
*/
|
||||
|
||||
/* 1 */
|
||||
|
||||
a:focus {
|
||||
outline: thin dotted;
|
||||
}
|
||||
|
||||
/* 2 */
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: none;
|
||||
@ -114,6 +126,8 @@ mark {
|
||||
* 1.
|
||||
* Fixes font family set oddly in C10 S5
|
||||
* 2.
|
||||
* Fixes monospace font family set oddly in IE6
|
||||
* 3.
|
||||
* Fixes monospace line-height overflow in iOS
|
||||
*/
|
||||
|
||||
@ -122,7 +136,8 @@ code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: monospace, sans-serif; /* 1 */
|
||||
vertical-align: top; /* 2 */
|
||||
_font-family: 'Courier New', monospace, sans-serif;/* 2 */
|
||||
vertical-align: top; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
@ -159,10 +174,15 @@ q:after {
|
||||
}
|
||||
|
||||
/*
|
||||
* Define alignment for <sub> <sup> elements
|
||||
* Define alignment for <small> <sub> <sup> elements
|
||||
* Fixes alignment within multi-line text displayed oddly in all browsers
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 75%;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
|
Loading…
Reference in New Issue
Block a user