diff options
author | Yan Zhu <picturepan2@hotmail.com> | 2016-07-02 09:05:45 +0300 |
---|---|---|
committer | Yan Zhu <picturepan2@hotmail.com> | 2016-07-02 09:05:45 +0300 |
commit | e30dbcd64737f8bfd547e48651277bf36ac40cf3 (patch) | |
tree | e89855e716f4a1254958fd5b803a6bc70df5907b /src/normalize.less | |
parent | 9ff1cec733dfab4183bfb7aa5e18ef4e13e9a16a (diff) |
upgrade normalize to v4.2.0
Diffstat (limited to 'src/normalize.less')
-rw-r--r-- | src/normalize.less | 45 |
1 files changed, 20 insertions, 25 deletions
diff --git a/src/normalize.less b/src/normalize.less index 80c11fd..1cef7e9 100644 --- a/src/normalize.less +++ b/src/normalize.less @@ -1,14 +1,16 @@ -/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */ +/*! normalize.css v4.2.0 | MIT License | github.com/necolas/normalize.css */ /** * 1. Change the default font family in all browsers (opinionated). - * 2. Prevent adjustments of font size after orientation changes in IE and iOS. + * 2. Correct the line height in all browsers. + * 3. Prevent adjustments of font size after orientation changes in IE and iOS. */ html { font-family: sans-serif; /* 1 */ - -webkit-text-size-adjust: 100%; /* 2 */ - -ms-text-size-adjust: 100%; /* 2 */ + line-height: 1.15; /* 2 */ + -ms-text-size-adjust: 100%; /* 3 */ + -webkit-text-size-adjust: 100%; /* 3 */ } /** @@ -30,19 +32,16 @@ body { article, aside, -details, -/* 1 */ +details, /* 1 */ figcaption, figure, footer, header, -main, -/* 2 */ +main, /* 2 */ menu, nav, section, -summary { - /* 1 */ +summary { /* 1 */ display: block; } @@ -79,8 +78,7 @@ progress { * 1. Add the correct display in IE. */ -template, -/* 1 */ +template, /* 1 */ [hidden] { display: none; } @@ -118,8 +116,8 @@ a:hover { abbr[title] { border-bottom: none; /* 1 */ - text-decoration: underline dotted; /* 2 */ text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ } /** @@ -155,7 +153,7 @@ dfn { h1 { font-size: 2em; - margin: .67em 0; + margin: 0.67em 0; } /** @@ -189,11 +187,11 @@ sup { } sub { - bottom: -.25em; + bottom: -0.25em; } sup { - top: -.5em; + top: -0.5em; } /* Embedded content @@ -281,8 +279,7 @@ optgroup { */ button, -input { - /* 1 */ +input { /* 1 */ overflow: visible; } @@ -292,8 +289,7 @@ input { */ button, -select { - /* 1 */ +select { /* 1 */ text-transform: none; } @@ -304,8 +300,7 @@ select { */ button, -html [type="button"], -/* 1 */ +html [type="button"], /* 1 */ [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ @@ -341,7 +336,7 @@ button:-moz-focusring, fieldset { border: 1px solid #c0c0c0; margin: 0 2px; - padding: .35em .625em .75em; + padding: 0.35em 0.625em 0.75em; } /** @@ -413,7 +408,7 @@ textarea { ::-webkit-input-placeholder { color: inherit; - opacity: .54; + opacity: 0.54; } /** @@ -424,4 +419,4 @@ textarea { ::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ -} +}
\ No newline at end of file |