_normalize.scss in normalize-scss-3.0.2 vs _normalize.scss in normalize-scss-3.0.3
- old
+ new
@@ -1,6 +1,6 @@
-/* normalize-scss 3.0.2+normalize.3.0.2 | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* normalize-scss 3.0.3+normalize.3.0.3 | MIT/GPLv2 License | bit.ly/normalize-scss */
// Variables and Imports
//
// If you have a base partial (or equivalent), you should move these lines to
@@ -8,34 +8,25 @@
// @see http://compass-style.org/help/tutorials/best_practices/
// =============================================================================
// These 3 variables are copies of ones used in Compass' Vertical Rhythm module.
- // The base font size.
+ // The font size set on the root html element.
$base-font-size: 16px !default;
// The base line height determines the basic unit of vertical rhythm.
$base-line-height: 24px !default;
// The length unit in which to output vertical rhythm values.
// Supported values: px, em, rem.
$rhythm-unit: 'em' !default;
-// This variable is a copy of the one used in Compass' support module.
+ // Note: This project also makes use of variables from Compass' support
+ // module. Documentation for this can be found on the wiki at:
+ // https://github.com/JohnAlbin/normalize-scss/wiki
- // Optional map of minimum browser versions to support. For example, to
- // remove support for IE 7 and earlier, set $browser-minimum-versions['ie']
- // to '8'.
- $browser-minimum-versions: (
- 'chrome': null,
- 'firefox': null,
- 'ie': null,
- 'safari': null,
- 'opera': null
- ) !default;
-
// Set this to true to force CSS output to exactly match normalize.css.
$strict-normalize: true !default;
// The default font family.
$base-font-family: sans-serif !default;
@@ -67,12 +58,12 @@
@include establish-baseline();
}
/**
* 1. Set default font family to sans-serif.
- * 2. Prevent iOS text size adjust after orientation change, without disabling
- * user zoom.
+ * 2. Prevent iOS and IE text size adjust after device orientation change,
+ * without disabling user zoom.
*/
html {
font-family: $base-font-family; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
@@ -153,11 +144,11 @@
display: none;
}
}
/**
- * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
*/
template {
display: none;
}
@@ -174,11 +165,12 @@
background-color: transparent;
}
}
/**
- * Improve readability when focused and also mouse hovered in all browsers.
+ * Improve readability of focused elements when they are also in an
+ * active/hover state.
*/
a:active,
a:hover {
outline: 0;
@@ -592,11 +584,10 @@
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
- * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
- * (include `-moz` to future-proof).
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
@include box-sizing(content-box); /* 2 */