mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-14 01:24:19 +02:00
Fixes #6657: Upgrade Normalize to 2.1.0
This commit is contained in:
15
docs/assets/css/bootstrap.css
vendored
15
docs/assets/css/bootstrap.css
vendored
@@ -18,6 +18,7 @@ figure,
|
|||||||
footer,
|
footer,
|
||||||
header,
|
header,
|
||||||
hgroup,
|
hgroup,
|
||||||
|
main,
|
||||||
nav,
|
nav,
|
||||||
section,
|
section,
|
||||||
summary {
|
summary {
|
||||||
@@ -59,6 +60,7 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
margin: 0.67em 0;
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -75,6 +77,12 @@ dfn {
|
|||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
height: 0;
|
||||||
|
-moz-box-sizing: content-box;
|
||||||
|
box-sizing: content-box;
|
||||||
|
}
|
||||||
|
|
||||||
mark {
|
mark {
|
||||||
color: #000;
|
color: #000;
|
||||||
background: #ff0;
|
background: #ff0;
|
||||||
@@ -89,8 +97,6 @@ samp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
word-wrap: break-word;
|
|
||||||
white-space: pre;
|
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -155,6 +161,11 @@ input {
|
|||||||
line-height: normal;
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
select {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
html input[type="button"],
|
html input[type="button"],
|
||||||
input[type="reset"],
|
input[type="reset"],
|
||||||
|
38
less/normalize.less
vendored
38
less/normalize.less
vendored
@@ -1,4 +1,4 @@
|
|||||||
/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
|
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
||||||
|
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
// HTML5 display definitions
|
// HTML5 display definitions
|
||||||
@@ -16,6 +16,7 @@ figure,
|
|||||||
footer,
|
footer,
|
||||||
header,
|
header,
|
||||||
hgroup,
|
hgroup,
|
||||||
|
main,
|
||||||
nav,
|
nav,
|
||||||
section,
|
section,
|
||||||
summary {
|
summary {
|
||||||
@@ -100,12 +101,13 @@ a:hover {
|
|||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
|
|
||||||
//
|
//
|
||||||
// Address variable `h1` font size within `section` and `article` contexts in
|
// Address variable `h1` font-size and margin within `section` and `article`
|
||||||
// Firefox 4+, Safari 5, and Chrome.
|
// contexts in Firefox 4+, Safari 5, and Chrome.
|
||||||
//
|
//
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
|
margin: 0.67em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -130,7 +132,17 @@ strong {
|
|||||||
//
|
//
|
||||||
|
|
||||||
dfn {
|
dfn {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Address differences between Firefox and other browsers.
|
||||||
|
//
|
||||||
|
|
||||||
|
hr {
|
||||||
|
-moz-box-sizing: content-box;
|
||||||
|
box-sizing: content-box;
|
||||||
|
height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -159,9 +171,7 @@ samp {
|
|||||||
//
|
//
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
white-space: pre;
|
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -217,7 +227,7 @@ img {
|
|||||||
//
|
//
|
||||||
|
|
||||||
svg:not(:root) {
|
svg:not(:root) {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
@@ -229,7 +239,7 @@ svg:not(:root) {
|
|||||||
//
|
//
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
@@ -281,6 +291,18 @@ input {
|
|||||||
line-height: normal;
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||||
|
// All other form control elements do not inherit `text-transform` values.
|
||||||
|
// Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
|
||||||
|
// Correct `select` style inheritance in Firefox 4+ and Opera.
|
||||||
|
//
|
||||||
|
|
||||||
|
button,
|
||||||
|
select {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||||
// and `video` controls.
|
// and `video` controls.
|
||||||
|
Reference in New Issue
Block a user