Merging upstream version 5.3.6+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
4e6844f734
commit
80f88880d3
593 changed files with 26219 additions and 18272 deletions
23
site/src/assets/examples/sticky-footer/index.astro
Normal file
23
site/src/assets/examples/sticky-footer/index.astro
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
import { getVersionedDocsPath } from '@libs/path'
|
||||
|
||||
export const title = 'Sticky Footer Template'
|
||||
export const extra_css = ['sticky-footer.css']
|
||||
export const html_class = 'h-100'
|
||||
export const body_class = 'd-flex flex-column h-100'
|
||||
---
|
||||
|
||||
<!-- Begin page content -->
|
||||
<main class="flex-shrink-0">
|
||||
<div class="container">
|
||||
<h1 class="mt-5">Sticky footer</h1>
|
||||
<p class="lead">Pin a footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.</p>
|
||||
<p>Use <a href={getVersionedDocsPath('/examples/sticky-footer-navbar/')}>the sticky footer with a fixed navbar</a> if need be, too.</p>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="footer mt-auto py-3 bg-body-tertiary">
|
||||
<div class="container">
|
||||
<span class="text-body-secondary">Place sticky footer content here.</span>
|
||||
</div>
|
||||
</footer>
|
9
site/src/assets/examples/sticky-footer/sticky-footer.css
Normal file
9
site/src/assets/examples/sticky-footer/sticky-footer.css
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* Custom page CSS
|
||||
-------------------------------------------------- */
|
||||
/* Not required for template or sticky footer method. */
|
||||
|
||||
.container {
|
||||
width: auto;
|
||||
max-width: 680px;
|
||||
padding: 0 15px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue