_page.scss (879B)
1 /// 2 /// Dimension by HTML5 UP 3 /// html5up.net | @ajlkn 4 /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) 5 /// 6 7 /* Basic */ 8 9 // MSIE: Required for IEMobile. 10 @-ms-viewport { 11 width: device-width; 12 } 13 14 // Ensures page width is always >=320px. 15 @include breakpoint('<=xsmall') { 16 html, body { 17 min-width: 320px; 18 } 19 } 20 21 // Set box model to border-box. 22 // Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice 23 html { 24 box-sizing: border-box; 25 } 26 27 *, *:before, *:after { 28 box-sizing: inherit; 29 } 30 31 body { 32 background: _palette(bg); 33 34 // Stops initial animations until page loads. 35 &.is-preload { 36 *, *:before, *:after { 37 @include vendor('animation', 'none !important'); 38 @include vendor('transition', 'none !important'); 39 } 40 } 41 42 }