_normalize.scss in normalize-scss-3.0.1 vs _normalize.scss in normalize-scss-3.0.2
- old
+ new
@@ -1,6 +1,6 @@
-/* normalize-scss 3.0.1+normalize.3.0.1 | MIT/GPLv2 License | bit.ly/normalize-scss */
+/* normalize-scss 3.0.2+normalize.3.0.2 | MIT/GPLv2 License | bit.ly/normalize-scss */
// Variables and Imports
//
// If you have a base partial (or equivalent), you should move these lines to
@@ -55,13 +55,10 @@
@import "compass/support";
@import "compass/css3/box-sizing";
@import "compass/typography/vertical_rhythm";
-/* Base
- ========================================================================== */
-
@if not $strict-normalize or support-legacy-browser(ie, "7") {
/**
* Establish a vertical rhythm unit using $base-font-size, $base-line-height,
* and $rhythm-unit variables. Also, correct text resizing oddly in IE 6/7 when
* body `font-size` is set using `em` units.
@@ -95,11 +92,12 @@
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
- * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
+ * and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
@@ -108,10 +106,11 @@
figure,
footer,
header,
hgroup,
main,
+menu,
nav,
section,
summary {
display: block;
}
@@ -170,11 +169,11 @@
/**
* Remove the gray background color from active links in IE 10.
*/
a {
- background: transparent;
+ background-color: transparent;
}
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
@@ -209,11 +208,11 @@
/**
* Set 1 unit of vertical rhythm on the top and bottom margin.
*/
blockquote {
- margin: rhythm(1) $indent-amount;
+ @include output-rhythm(margin, rhythm(1) $indent-amount);
}
}
/**
* Address styling not present in Safari and Chrome.
@@ -290,11 +289,11 @@
* Set 1 unit of vertical rhythm on the top and bottom margin.
*/
p,
pre {
- margin: rhythm(1) 0;
+ @include output-rhythm(margin, rhythm(1) 0);
}
}
/**
* Address inconsistent and variable font size in all browsers.
@@ -334,14 +333,18 @@
dl,
menu,
ol,
ul {
- margin: rhythm(1) 0;
+ @include output-rhythm(margin, rhythm(1) 0);
}
@if not $strict-normalize {
+ /**
+ * Turn off margins on nested lists.
+ */
+
ol,
ul {
ol,
ul {
margin: 0;
@@ -408,10 +411,10 @@
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
- margin: rhythm(1) $indent-amount;
+ @include output-rhythm(margin, rhythm(1) $indent-amount);
}
}
/**
* Address differences between Firefox and other browsers.