add footer to linear template
This commit is contained in:
parent
f0d306372d
commit
1e9a192a40
4 changed files with 17 additions and 9 deletions
|
|
@ -1,9 +1,18 @@
|
|||
#main-footer {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: var(--unit--horizontal);
|
||||
}
|
||||
[data-template="home"] #main-footer {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: calc(18 * var(--unit--horizontal));
|
||||
padding: var(--unit--horizontal);
|
||||
}
|
||||
|
||||
#main-footer ul {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: calc(2 * var(--unit--horizontal));
|
||||
}
|
||||
|
||||
#main-footer a {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
<footer id="main-footer">
|
||||
<ul id="links" class="| flex full-width" style="
|
||||
--content: center;
|
||||
--gap: 1;
|
||||
">
|
||||
<ul id="links">
|
||||
<li>
|
||||
<a href="#">
|
||||
à propos
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@
|
|||
href="#main-edito"
|
||||
class="no-line"
|
||||
>
|
||||
<h2 class="main-title <?= setTitleFontSizeClass($site->subtitle()) ?>"><?= $site->subtitle() ?></h2>
|
||||
<h2 class="main-title <?= setTitleFontSizeClass($site->subtitle()) ?>"><?= $site->subtitle() ?></h2>
|
||||
<p
|
||||
class="main-edito-btn | toggle-btn left"
|
||||
>édito</p>
|
||||
</button>
|
||||
</a>
|
||||
<?php endslot() ?>
|
||||
<?php endsnippet() ?>
|
||||
<div id="main-edito" class="content">
|
||||
|
|
|
|||
|
|
@ -19,3 +19,5 @@
|
|||
</div>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
<?php snippet('footer') ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue