This commit is contained in:
isUnknown 2025-01-27 07:57:48 +01:00
parent 5c467757fe
commit 7e5872aad1
2 changed files with 6 additions and 3 deletions

View file

@ -10,9 +10,9 @@ main {
padding: 0 var(--unit--horizontal); padding: 0 var(--unit--horizontal);
padding-bottom: calc(2 * var(--unit--vertical)) !important; padding-bottom: calc(2 * var(--unit--vertical)) !important;
} }
[data-template="info"] main { /* [data-template="info"] main {
margin-top: calc(var(--unit--vertical) * 2); margin-top: calc(var(--unit--vertical) * 2);
} } */
hr { hr {
height: 1px; height: 1px;

View file

@ -4,9 +4,12 @@
<?php snippet('cover', array('isOpen' => true), slots: true) ?> <?php snippet('cover', array('isOpen' => true), slots: true) ?>
<?php slot('title') ?> <?php slot('title') ?>
<h2 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h2> <h2 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h2>
<?= $page->body() ?>
<?php endslot() ?> <?php endslot() ?>
<?php endsnippet() ?> <?php endsnippet() ?>
<div id="main-content">
<?= $page->body() ?>
</div>
</article> </article>
</main> </main>