summaryrefslogtreecommitdiff
path: root/assets/sass/layout/_wrapper.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/layout/_wrapper.scss')
-rw-r--r--assets/sass/layout/_wrapper.scss74
1 files changed, 35 insertions, 39 deletions
diff --git a/assets/sass/layout/_wrapper.scss b/assets/sass/layout/_wrapper.scss
index 684efb5..9a8c9ca 100644
--- a/assets/sass/layout/_wrapper.scss
+++ b/assets/sass/layout/_wrapper.scss
@@ -1,40 +1,36 @@
-@import '../libs/vars';
-@import '../libs/functions';
-@import '../libs/mixins';
-
-///
-/// Identity by HTML5 UP
-/// html5up.net | @ajlkn
-/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-///
-
-/* Wrapper */
-
- #wrapper {
- @include vendor('display', 'flex');
- @include vendor('align-items', 'center');
- @include vendor('justify-content', 'space-between');
- @include vendor('flex-direction', 'column');
- @include vendor('perspective', '1000px');
- position: relative;
- min-height: 100%;
- padding: _size(element-margin);
- z-index: 2;
-
- > * {
- z-index: 1;
- }
-
- &:before {
- content: '';
- display: block;
- }
-
- @include breakpoint(xxsmall) {
- padding: (_size(element-margin) * 0.5);
- }
-
- body.is-ie & {
- height: 100%;
- }
+///
+/// Dimension by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Wrapper */
+
+ #wrapper {
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'column');
+ @include vendor('align-items', 'center');
+ @include vendor('justify-content', 'space-between');
+ position: relative;
+ min-height: 100vh;
+ width: 100%;
+ padding: 4rem 2rem;
+ z-index: 3;
+
+ &:before {
+ content: '';
+ display: block;
+ }
+
+ @include breakpoint('<=xlarge') {
+ padding: 3rem 2rem;
+ }
+
+ @include breakpoint('<=small') {
+ padding: 2rem 1rem;
+ }
+
+ @include breakpoint('<=xsmall') {
+ padding: 1rem;
+ }
} \ No newline at end of file