[9.2.18] marge du site footer fixe
This commit is contained in:
parent
c22ef52521
commit
7cc1f3bfef
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user