Compare commits
2 Commits
fc69015448
...
f7c2aab390
Author | SHA1 | Date |
---|---|---|
Fred Tempez | f7c2aab390 | |
Fred Tempez | cdab4659a6 |
|
@ -57,7 +57,7 @@ class layout extends common
|
||||||
*/
|
*/
|
||||||
public function showMain()
|
public function showMain()
|
||||||
{
|
{
|
||||||
echo '<main>';
|
echo '<main><section>';
|
||||||
// Récupérer la config de la page courante
|
// Récupérer la config de la page courante
|
||||||
$blocks = is_null($this->getData(['page', $this->getUrl(0), 'block'])) ? '12' : $this->getData(['page', $this->getUrl(0), 'block']);
|
$blocks = is_null($this->getData(['page', $this->getUrl(0), 'block'])) ? '12' : $this->getData(['page', $this->getUrl(0), 'block']);
|
||||||
$blocks = explode('-', $blocks);
|
$blocks = explode('-', $blocks);
|
||||||
|
@ -151,7 +151,7 @@ class layout extends common
|
||||||
}
|
}
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
echo '</main>';
|
echo '</main></section>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -55,7 +55,7 @@ body {
|
||||||
.tippy-tooltip {
|
.tippy-tooltip {
|
||||||
font-size: .8rem !important;
|
font-size: .8rem !important;
|
||||||
}
|
}
|
||||||
main {
|
section {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -766,17 +766,17 @@ li .menuSideChild {
|
||||||
/* Corps */
|
/* Corps */
|
||||||
|
|
||||||
@media screen and (min-width:768px) {
|
@media screen and (min-width:768px) {
|
||||||
main {
|
section {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
section {
|
||||||
/*min-height: 100%;*/
|
/*min-height: 100%;*/
|
||||||
min-height: 65vh;
|
min-height: 65vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
main #sectionTitle {
|
section #sectionTitle {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -785,7 +785,7 @@ main #sectionTitle {
|
||||||
min-height: 0px;
|
min-height: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
main:after {
|
section:after {
|
||||||
content: " ";
|
content: " ";
|
||||||
display: table;
|
display: table;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
Loading…
Reference in New Issue