From 42e0ccee4edad0fa10ba1f9b46b889a6702f74f6 Mon Sep 17 00:00:00 2001 From: Stephan Hagedorn Date: Wed, 27 Sep 2017 13:28:28 +0200 Subject: [PATCH] new normalize.css --- source/style/_hippie.scss | 2 +- vendor/{ => normalizecss}/normalize.css | 40 ++++++++----------------- 2 files changed, 14 insertions(+), 28 deletions(-) rename vendor/{ => normalizecss}/normalize.css (90%) diff --git a/source/style/_hippie.scss b/source/style/_hippie.scss index ab0eeee..dfff2ac 100644 --- a/source/style/_hippie.scss +++ b/source/style/_hippie.scss @@ -23,7 +23,7 @@ // Reset // Use a file outside of hippie i.e. vendor/normalize.css // ----------------------------------------------------------------------------- -@import "../../vendor/normalize.css"; +@import "../../vendor/normalizecss/normalize.css"; // @import "vendor/YOUR-FILES.css"; diff --git a/vendor/normalize.css b/vendor/normalizecss/normalize.css similarity index 90% rename from vendor/normalize.css rename to vendor/normalizecss/normalize.css index 9b77e0e..fa4e73d 100644 --- a/vendor/normalize.css +++ b/vendor/normalizecss/normalize.css @@ -1,20 +1,18 @@ -/*! normalize.css v5.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. - */ +/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ /* 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 { - font-family: sans-serif; /* 1 */ - line-height: 1.15; /* 2 */ - -ms-text-size-adjust: 100%; /* 3 */ - -webkit-text-size-adjust: 100%; /* 3 */ + line-height: 1.15; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections @@ -108,17 +106,7 @@ a { } /** - * Remove the outline on focused links when they are also active or hovered - * in all browsers (opinionated). - */ - -a:active, -a:hover { - outline-width: 0; -} - -/** - * 1. Remove the bottom border in Firefox 39-. + * 1. Remove the bottom border in Chrome 57- and Firefox 39-. * 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 { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; + padding: 0.35em 0.75em 0.625em; } /**