diff --git a/static/grandlyon-cut/_custom.scss b/static/grandlyon-cut/_custom.scss index 9f6d958..e0d12d8 100644 --- a/static/grandlyon-cut/_custom.scss +++ b/static/grandlyon-cut/_custom.scss @@ -648,6 +648,9 @@ div#footer { font-size: 14px; text-align: center; width: 60em; + @media screen and (max-width: $mobile-limit) { + width: auto; + } h3 { display: inline-block; padding: 5px 10px; @@ -685,11 +688,14 @@ div#footnote { background: url(images/footer-metropole-plus.png) no-repeat center left; min-height: 22px; float: right; + @media screen and (max-width: $mobile-limit) { + float: none; + } } } } > div { - width: 95rem; + max-width: 95rem; @media screen and (max-width: $mobile-limit) { width: auto; } @@ -700,6 +706,14 @@ div#footnote { vertical-align: top; margin: 0 auto; } + @media screen and (max-width: $mobile-limit) { + width: auto; + > div { + width: auto; + display: block; + text-align: center; + } + } } } }