hide footer on white paper. closes #52
All checks were successful
Deploy / Deploy to Production (push) Successful in 42s
All checks were successful
Deploy / Deploy to Production (push) Successful in 42s
This commit is contained in:
parent
4ccbad9663
commit
65f6bf459b
2 changed files with 5 additions and 2 deletions
|
|
@ -29,5 +29,5 @@
|
|||
<link rel="shortcut icon" href="<?= $site->faviconICO()->toFile()->url() ?>" />
|
||||
<?php endif ?>
|
||||
</head>
|
||||
<body>
|
||||
<body data-template="<?= $page->intendedTemplate() ?>">
|
||||
<div id="app"></div>
|
||||
|
|
|
|||
|
|
@ -107,13 +107,16 @@
|
|||
footer {
|
||||
position: absolute;
|
||||
width: 100vw;
|
||||
bottom: 0;
|
||||
background: #0d0e22;
|
||||
z-index: 2;
|
||||
|
||||
transition: transform .3s var(--ease-standard);
|
||||
}
|
||||
|
||||
:global(footer:not([data-template="white-paper"] footer)) {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
footer.hidden {
|
||||
transform: translateY(var(--footer-height));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue