41 lines
870 B
SCSS
41 lines
870 B
SCSS
/*
|
||
此源码是基于 Dimension 的二次修改
|
||
Github:https://github.com/nianbroken/Personal_Sakura_Guide_Page
|
||
Gitee:https://gitee.com/nianbroken/Personal_Sakura_Guide_Page
|
||
*/
|
||
/* Basic */
|
||
|
||
// MSIE: Required for IEMobile.
|
||
@-ms-viewport {
|
||
width: device-width;
|
||
}
|
||
|
||
// Ensures page width is always >=320px.
|
||
@include breakpoint('<=xsmall') {
|
||
html, body {
|
||
min-width: 320px;
|
||
}
|
||
}
|
||
|
||
// 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;
|
||
}
|
||
|
||
body {
|
||
background: _palette(bg);
|
||
|
||
// Stops initial animations until page loads.
|
||
&.is-preload {
|
||
*, *:before, *:after {
|
||
@include vendor('animation', 'none !important');
|
||
@include vendor('transition', 'none !important');
|
||
}
|
||
}
|
||
|
||
} |