summaryrefslogtreecommitdiff
path: root/assets/sass/layout/_wrapper.scss
diff options
context:
space:
mode:
authoraouvrard <antoine.ouvrard@nereide.fr>2018-02-04 19:13:13 +0100
committeraouvrard <antoine.ouvrard@nereide.fr>2018-02-04 19:13:13 +0100
commit9eee010f8fa93b1738be7b74e30174b170078e08 (patch)
treeb2e726953945a30632c0a654ae5e2e394ae80cfe /assets/sass/layout/_wrapper.scss
ajout su site en construction
Diffstat (limited to 'assets/sass/layout/_wrapper.scss')
-rw-r--r--assets/sass/layout/_wrapper.scss40
1 files changed, 40 insertions, 0 deletions
diff --git a/assets/sass/layout/_wrapper.scss b/assets/sass/layout/_wrapper.scss
new file mode 100644
index 0000000..684efb5
--- /dev/null
+++ b/assets/sass/layout/_wrapper.scss
@@ -0,0 +1,40 @@
+@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%;
+ }
+ } \ No newline at end of file