diff options
| author | Jason McCormick <jdm@mfamily.org> | 2025-10-09 12:49:05 -0400 |
|---|---|---|
| committer | Jason McCormick <jdm@mfamily.org> | 2025-10-09 12:49:05 -0400 |
| commit | 3c02dc1c0cd480fc11647ec0f7900d4034a00cc4 (patch) | |
| tree | 468f503c5b64dec012ca3f09350a85aa500d20d5 /assets/sass/base/_page.scss | |
initial add
Diffstat (limited to 'assets/sass/base/_page.scss')
| -rw-r--r-- | assets/sass/base/_page.scss | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/assets/sass/base/_page.scss b/assets/sass/base/_page.scss new file mode 100644 index 0000000..2c33426 --- /dev/null +++ b/assets/sass/base/_page.scss @@ -0,0 +1,42 @@ +///
+/// Dimension by HTML5 UP
+/// 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;
+ }
+
+ // 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');
+ }
+ }
+
+ }
\ No newline at end of file |
