diff options
| author | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2021-09-17 15:27:59 +0200 |
|---|---|---|
| committer | Antoine Ouvrard <antoine.ouvrard@nereide.fr> | 2021-09-17 15:27:59 +0200 |
| commit | 9e54cbbd7dbcf5b854d15016a316e557146c3966 (patch) | |
| tree | d06ab037cccf1a017ba9a21b1669f28b7758c93f /assets/sass/layout/_wrapper.scss | |
| parent | 5e97fdcb3b05a4d8d494ba243fabef9c7c595569 (diff) | |
changement de template html5up + retouche du logo
Diffstat (limited to 'assets/sass/layout/_wrapper.scss')
| -rw-r--r-- | assets/sass/layout/_wrapper.scss | 74 |
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 |
