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 {
|
#main-footer {
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: var(--unit--horizontal);
|
||||||
|
}
|
||||||
|
[data-template="home"] #main-footer {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 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 {
|
#main-footer a {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,5 @@
|
||||||
<footer id="main-footer">
|
<footer id="main-footer">
|
||||||
<ul id="links" class="| flex full-width" style="
|
<ul id="links">
|
||||||
--content: center;
|
|
||||||
--gap: 1;
|
|
||||||
">
|
|
||||||
<li>
|
<li>
|
||||||
<a href="#">
|
<a href="#">
|
||||||
à propos
|
à propos
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,11 @@
|
||||||
href="#main-edito"
|
href="#main-edito"
|
||||||
class="no-line"
|
class="no-line"
|
||||||
>
|
>
|
||||||
<h2 class="main-title <?= setTitleFontSizeClass($site->subtitle()) ?>"><?= $site->subtitle() ?></h2>
|
<h2 class="main-title <?= setTitleFontSizeClass($site->subtitle()) ?>"><?= $site->subtitle() ?></h2>
|
||||||
<p
|
<p
|
||||||
class="main-edito-btn | toggle-btn left"
|
class="main-edito-btn | toggle-btn left"
|
||||||
>édito</p>
|
>édito</p>
|
||||||
</button>
|
</a>
|
||||||
<?php endslot() ?>
|
<?php endslot() ?>
|
||||||
<?php endsnippet() ?>
|
<?php endsnippet() ?>
|
||||||
<div id="main-edito" class="content">
|
<div id="main-edito" class="content">
|
||||||
|
|
|
||||||
|
|
@ -19,3 +19,5 @@
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
<?php snippet('footer') ?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue