From 9e54cbbd7dbcf5b854d15016a316e557146c3966 Mon Sep 17 00:00:00 2001 From: Antoine Ouvrard Date: Fri, 17 Sep 2021 15:27:59 +0200 Subject: changement de template html5up + retouche du logo --- assets/sass/layout/_wrapper.scss | 74 +++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 39 deletions(-) (limited to 'assets/sass/layout/_wrapper.scss') 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 -- cgit v1.2.3