Rev | Line | |
---|
[14926] | 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 | body { |
---|
| 22 | background: _palette(bg); |
---|
| 23 | |
---|
| 24 | // Prevents animation/transition "flicker" on page load. |
---|
| 25 | // Automatically added/removed by js/main.js. |
---|
| 26 | &.is-loading, |
---|
| 27 | &.is-switching { |
---|
| 28 | *, *:before, *:after { |
---|
| 29 | @include vendor('animation', 'none !important'); |
---|
| 30 | @include vendor('transition', 'none !important'); |
---|
| 31 | @include vendor('transition-delay', 'none !important'); |
---|
| 32 | } |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | } |
---|
Note: See
TracBrowser for help on using the repository browser.