basspistol.com/_sass/photos/base/_page.scss

44 lines
918 B
SCSS
Raw Normal View History

2020-07-09 10:15:00 +02:00
///
2020-09-08 18:07:38 +02:00
/// Lens by HTML5 UP
2020-07-09 10:15:00 +02:00
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Basic */
// MSIE: Required for IEMobile.
2020-09-08 18:07:38 +02:00
/*
2020-07-09 10:15:00 +02:00
@-ms-viewport {
width: device-width;
}
2020-09-08 18:07:38 +02:00
*/
2020-07-09 10:15:00 +02:00
// Ensures page width is always >=320px.
@include breakpoint('<=xsmall') {
html, body {
min-width: 320px;
}
}
2020-09-08 18:07:38 +02:00
// Stops initial animations until page loads.
body.is-preload-0 {
*, *:before, *:after {
@include vendor('animation', 'none !important');
@include vendor('transition', 'none !important');
}
}
2020-07-09 10:15:00 +02:00
// Set box model to border-box.
// Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
2020-09-08 18:07:38 +02:00
html, body {
background-color: _palette(page-bg);
overflow: hidden;
2020-07-09 10:15:00 +02:00
}