summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2019-11-16 21:32:37 +0100
committerFélix Sipma <felix.sipma@no-log.org>2019-11-16 21:32:37 +0100
commit7ebcdf330ab2658c71b14a24b4613216a5cf0be9 (patch)
treed53c043ce247920c2d4cf3fcb303b2ae48dcadb1
parent95c26ac6ec90fdbffc059d2d0083d7f0356163f4 (diff)
top-arrow: hide on mobile
-rw-r--r--layouts/index.html2
-rw-r--r--static/scss/ferme.scss6
2 files changed, 7 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 4fbec55..10942b8 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -48,7 +48,7 @@
<div class="ferme-banner-wrapper">
</div>
</div>
-<div id="ferme-top-arrow" class="ferme-top-arrow-container">
+<div id="ferme-top-arrow" class="ferme-top-arrow-container ferme-hidden-on-mobile">
<a href="#le-projet-en-deux-mots">
<i class="fa fa-arrow-circle-down fa-2x ferme-top-arrow"></i>
</a>
diff --git a/static/scss/ferme.scss b/static/scss/ferme.scss
index a6703e6..6910a98 100644
--- a/static/scss/ferme.scss
+++ b/static/scss/ferme.scss
@@ -377,3 +377,9 @@ h1 {
.ferme-top-arrow {
color: white;
}
+
+.ferme-hidden-on-mobile {
+ @include until($tablet) {
+ display: none;
+ }
+}