home : center texts button

This commit is contained in:
isUnknown 2024-12-01 12:16:27 +01:00
parent e3207ee58e
commit 8e09bceb02
5 changed files with 12 additions and 6 deletions

View file

@ -1 +1,4 @@
.main-edito-btn {
display: inline-block;
margin-right: calc(2 * var(--unit--horizontal));
}

View file

@ -1,4 +1,7 @@
/* ================= PANELS ================= */
button.open-nav {
display: inline-block;
}
#nav-overlay {
position: fixed;
inset: 0;

View file

@ -1,8 +1,5 @@
<footer id="main-footer">
<ul id="links">
<li>
<button class="plus open-nav" title="ouvrir la navigation">textes</button>
</li>
<li
id="subscribe-btn-wrapper"
>

View file

@ -10,10 +10,13 @@
title="lire l'éditorial"
>
<h2 class="main-title <?= setTitleFontSizeClass($site->subtitle()) ?>"><?= $site->subtitle()->inline() ?></h2>
</a>
<a href="#main-edito" class="no-underline" title="lire l'éditorial">
<p
class="main-edito-btn | toggle-btn toggle-btn--left"
>éditorial</p>
</a>
<button class="plus open-nav" title="ouvrir la navigation">textes</button>
<?php endslot() ?>
<?php endsnippet() ?>
<div id="main-edito" id="main-content">