summaryrefslogtreecommitdiff
path: root/assets/sass/layout/_footer.scss
diff options
context:
space:
mode:
authorAntoine Ouvrard <antoine.ouvrard@nereide.fr>2021-09-17 15:27:59 +0200
committerAntoine Ouvrard <antoine.ouvrard@nereide.fr>2021-09-17 15:27:59 +0200
commit9e54cbbd7dbcf5b854d15016a316e557146c3966 (patch)
treed06ab037cccf1a017ba9a21b1669f28b7758c93f /assets/sass/layout/_footer.scss
parent5e97fdcb3b05a4d8d494ba243fabef9c7c595569 (diff)
changement de template html5up + retouche du logo
Diffstat (limited to 'assets/sass/layout/_footer.scss')
-rw-r--r--assets/sass/layout/_footer.scss74
1 files changed, 36 insertions, 38 deletions
diff --git a/assets/sass/layout/_footer.scss b/assets/sass/layout/_footer.scss
index e308164..b87cc7a 100644
--- a/assets/sass/layout/_footer.scss
+++ b/assets/sass/layout/_footer.scss
@@ -1,39 +1,37 @@
-@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)
-///
-
-/* Footer */
-
- #footer {
- @include vendor('align-self', 'flex-end');
- width: 100%;
- padding: _size(element-margin) 0 0 0;
- color: rgba(255,255,255,0.75);
- cursor: default;
- text-align: center;
-
- .copyright {
- margin: 0;
- padding: 0;
- font-size: 0.9em;
- list-style: none;
-
- li {
- display: inline-block;
- margin: 0 0 0 (0.85em - (_size(letter-spacing) * 2));
- padding: 0 0 0 0.85em;
- border-left: solid _size(border-width) rgba(255,255,255,0.5);
- line-height: 1;
-
- &:first-child {
- border-left: 0;
- }
- }
- }
+///
+/// Dimension by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Footer */
+
+ #footer {
+ @include vendor('transition', (
+ 'transform #{_duration(article)} ease-in-out',
+ 'filter #{_duration(article)} ease-in-out',
+ 'opacity #{_duration(article)} ease-in-out',
+ ));
+ width: 100%;
+ max-width: 100%;
+ margin-top: 2rem;
+ text-align: center;
+
+ .copyright {
+ letter-spacing: _font(letter-spacing);
+ font-size: 0.6rem;
+ opacity: 0.75;
+ margin-bottom: 0;
+ text-transform: uppercase;
+ }
+
+ body.is-article-visible & {
+ @include vendor('transform', 'scale(0.95)');
+ @include vendor('filter', 'blur(0.1rem)');
+ opacity: 0;
+ }
+
+ body.is-preload & {
+ opacity: 0;
+ }
} \ No newline at end of file