Compare commits

...

2 Commits

Author SHA1 Message Date
Fred Tempez f7c2aab390 Revert "13.2.01 section par main"
This reverts commit fc69015448.
2024-04-22 14:17:21 +02:00
Fred Tempez cdab4659a6 Revert "13.2.01 supprime la balise section"
This reverts commit 9e656294a6.
2024-04-22 14:17:11 +02:00
2 changed files with 7 additions and 7 deletions

View File

@ -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>';
} }
/** /**

View File

@ -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;