adjust styles
This commit is contained in:
parent
dd217e7a6a
commit
3804d13cb6
34 changed files with 756 additions and 174 deletions
|
|
@ -3,18 +3,19 @@
|
|||
<article>
|
||||
<?php snippet('cover', ['isOpen' => true], slots: true) ?>
|
||||
<?php slot('title') ?>
|
||||
<h1 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h1>
|
||||
<p>
|
||||
<span class="opacity" style="--opacity:.6">par </span>
|
||||
<a
|
||||
class="author"
|
||||
href="/auteurs/<?= Str::slug($page->author()->toUser()->name()) ?>"
|
||||
title="Voir les articles d'<?= $page->author()->toUser()->name() ?>"
|
||||
>
|
||||
<?= $page->author()->toUser()->name() ?>
|
||||
</a><br>
|
||||
<span class="opacity" style="--opacity:.6">le <?= $page->published()->toDate('d/m/Y') ?></span>
|
||||
</p>
|
||||
<h2 class="main-title <?= setTitleFontSizeClass($page->title()) ?>"><?= $page->title() ?></h2>
|
||||
<p>
|
||||
<span class="opacity" style="--opacity:.6">par </span>
|
||||
<a
|
||||
class="author"
|
||||
href="/auteurs/<?= Str::slug($page->author()->toUser()->name()) ?>"
|
||||
title="Voir les articles d'<?= $page->author()->toUser()->name() ?>"
|
||||
>
|
||||
<?= $page->author()->toUser()->name() ?>
|
||||
</a><br>
|
||||
<span class="opacity" style="--opacity:.6">publié le </span><?= $page->published()->toDate('d/m/Y') ?>
|
||||
<span class="opacity" style="--opacity: .6">dans</span> <a href="/categories/<?= $page->category() ?>"><?= $page->category() ?></a>
|
||||
</p>
|
||||
<?php endslot() ?>
|
||||
<?php slot('tabs') ?>
|
||||
<?php snippet('tabs', [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue