webseite/assets/sass/base/_page.scss

50 lines
1.1 KiB
SCSS
Raw Normal View History

2018-02-25 00:49:23 +01:00
///
/// Solid State by HTML5 UP
2018-02-25 00:49:23 +01:00
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Basic */
// MSIE: Required for IEMobile.
@-ms-viewport {
width: device-width;
}
// MSIE: Prevents scrollbar from overlapping content.
body {
-ms-overflow-style: scrollbar;
}
2018-02-25 00:49:23 +01:00
// Ensures page width is always >=320px.
@include breakpoint(xsmall) {
html, body {
min-width: 320px;
}
}
body {
background-color: _palette(bg);
background-image: linear-gradient(to top, transparentize(_palette(bg), 0.2), transparentize(_palette(bg), 0.2)),
url('../../images/bg.jpg');
background-size: auto,
cover;
background-attachment: fixed,
fixed;
background-position: center,
center;
2018-02-25 00:49:23 +01:00
// Prevents animation/transition "flicker" on page load.
// Automatically added/removed by js/main.js.
&.is-loading {
2018-02-25 00:49:23 +01:00
*, *:before, *:after {
@include vendor('animation', 'none !important');
@include vendor('transition', 'none !important');
}
}
}