fix mobile footer

This commit is contained in:
isUnknown 2025-02-04 19:23:27 +01:00
parent 669a35daaf
commit dde483ee20
4 changed files with 49 additions and 43 deletions

View file

@ -89,6 +89,15 @@ button.toggle.right::before {
margin-right: var(--unit--horizontal);
}
[data-template="author"] .page-cover,
[data-template="category"] .page-cover,
[data-template="year"] .page-cover,
[data-template="email"] .page-cover,
[data-template="error"] .page-cover,
[data-template="info"] .page-cover {
height: initial !important;
}
@media screen and (min-width: 640px) {
body:not([data-template="home"]) #main-header {
width: var(--body-padding);
@ -121,14 +130,6 @@ button.toggle.right::before {
padding-top: calc(42.5vw) !important;
}
[data-template="author"] .page-cover,
[data-template="category"] .page-cover,
[data-template="year"] .page-cover,
[data-template="email"] .page-cover,
[data-template="error"] .page-cover {
height: initial !important;
}
.page-cover .links {
display: none;
}

View file

@ -4,5 +4,6 @@
}
#main-edito {
margin-top: calc(var(--unit--vertical) * 4);
scroll-margin-block-start: 25vw;
}