diff --git a/core/core.php b/core/core.php index 4fdff449..ae879af0 100644 --- a/core/core.php +++ b/core/core.php @@ -1216,7 +1216,8 @@ class core extends common { $css .= '#footerCopyright{text-align:' . $this->getData(['theme', 'footer', 'copyrightAlign']) . '}'; // Marge supplémentaire lorsque le pied de page est fixe if ( $this->getData(['theme', 'footer', 'fixed']) === true) { - $css .= "#site {margin-bottom: 150px;}"; + $css .= "@media (min-width: 769px) { #site {margin-bottom: 100px;} }"; + $css .= "@media (max-width: 768px) { #site {margin-bottom: 150px;} }"; } // Enregistre la personnalisation file_put_contents(self::DATA_DIR.'theme.css', $css); diff --git a/core/layout/common.css b/core/layout/common.css index 64ae620d..d6d280e8 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -28,7 +28,7 @@ body { } -@media (min-width: 769px) { +@media (min-width: 768px) { body { margin:0px 10px; } @@ -336,7 +336,7 @@ td > .col12 { border: 0; } -@media (min-width: 769px) { +@media (min-width: 768px) { #bar #barLeft { float: left; } @@ -486,7 +486,7 @@ nav a { nav a:hover { text-decoration: none; } -@media (min-width: 769px) { +@media (min-width: 768px) { nav #menu { display: block; }