normalize.css v7.0.0

This commit is contained in:
Raphael Goetter 2017-07-31 10:42:57 +02:00
parent 0ebe24ed0f
commit c7f44aef04
5 changed files with 28 additions and 55 deletions

View File

@ -1,5 +1,6 @@
# changelog v7.0.0beta (31 juillet 2017) # changelog v7.0.0beta (31 juillet 2017)
- architecture globale revisitée (_vendor, _config, _library, components) - architecture globale revisitée (_vendor, _config, _library, components)
- normalize.css v7.0.0
# changelog v6.1.2 (21 juin 2017) # changelog v6.1.2 (21 juin 2017)
- alignement des helpers flexbox sur ceux de Bootstrap (`.d-flex`, `.flex-row`, `.flex-column`, `.mr-auto`) - alignement des helpers flexbox sur ceux de Bootstrap (`.d-flex`, `.flex-row`, `.flex-column`, `.mr-auto`)

View File

@ -24,24 +24,21 @@
- Forms (forms consistency) - Forms (forms consistency)
- Grillade (Grid System in Flexbox) - Grillade (Grid System in Flexbox)
*/ */
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/**
* 1. Change the default font family in all browsers (opinionated).
* 2. Correct the line height in all browsers.
* 3. Prevent adjustments of font size after orientation changes in
* IE on Windows Phone and in iOS.
*/
/* Document /* Document
========================================================================== */ ========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in
* IE on Windows Phone and in iOS.
*/
html { html {
font-family: sans-serif;
/* 1 */
line-height: 1.15; line-height: 1.15;
/* 2 */ /* 1 */
-ms-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
/* 3 */ /* 2 */
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
/* 3 */ /* 2 */
} }
/* Sections /* Sections
@ -132,16 +129,7 @@ a {
} }
/** /**
* Remove the outline on focused links when they are also active or hovered * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* in all browsers (opinionated).
*/
a:active,
a:hover {
outline-width: 0;
}
/**
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/ */
abbr[title] { abbr[title] {
@ -332,12 +320,10 @@ button:-moz-focusring,
} }
/** /**
* Change the border, margin, and padding in all browsers (opinionated). * Correct the padding in Firefox.
*/ */
fieldset { fieldset {
border: 1px solid #c0c0c0; padding: 0.35em 0.75em 0.625em;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
} }
/** /**

File diff suppressed because one or more lines are too long

View File

@ -1,20 +1,18 @@
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/**
* 1. Change the default font family in all browsers (opinionated).
* 2. Correct the line height in all browsers.
* 3. Prevent adjustments of font size after orientation changes in
* IE on Windows Phone and in iOS.
*/
/* Document /* Document
========================================================================== */ ========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in
* IE on Windows Phone and in iOS.
*/
html { html {
font-family: sans-serif; /* 1 */ line-height: 1.15; /* 1 */
line-height: 1.15; /* 2 */ -ms-text-size-adjust: 100%; /* 2 */
-ms-text-size-adjust: 100%; /* 3 */ -webkit-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 3 */
} }
/* Sections /* Sections
@ -108,17 +106,7 @@ a {
} }
/** /**
* Remove the outline on focused links when they are also active or hovered * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* in all browsers (opinionated).
*/
a:active,
a:hover {
outline-width: 0;
}
/**
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/ */
@ -317,13 +305,11 @@ button:-moz-focusring,
} }
/** /**
* Change the border, margin, and padding in all browsers (opinionated). * Correct the padding in Firefox.
*/ */
fieldset { fieldset {
border: 1px solid #c0c0c0; padding: 0.35em 0.75em 0.625em;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
} }
/** /**

View File

@ -26,7 +26,7 @@
- Grillade (Grid System in Flexbox) - Grillade (Grid System in Flexbox)
*/ */
@import "_vendor/_normalize.scss"; // normalize (basic reset) @import "_vendor/_normalize"; // normalize (basic reset)
// WARNING : you should comment the following @import (variables) // WARNING : you should comment the following @import (variables)
// and move variables file from knacss folder to your own project folder! // and move variables file from knacss folder to your own project folder!