create body reusable field

This commit is contained in:
isUnknown 2024-12-01 13:57:24 +01:00
parent 1b62fa7589
commit 9b1aeb5cd0
15 changed files with 143 additions and 147 deletions

View file

@ -3,7 +3,9 @@
bottom: 0;
width: 100%;
box-sizing: border-box;
padding: var(--unit--horizontal);
padding-bottom: 3px;
background-color: #000;
padding-bottom: 6px;
}
[data-template="home"] #main-footer {
position: fixed;
@ -17,10 +19,8 @@
gap: calc(2 * var(--unit--horizontal));
}
#main-footer a {
text-shadow: 0 0 2px #000;
-moz-text-shadow: 0 0 2px #000;
-webkit-text-shadow: 0 0 2px #000;
#main-footer button.open-nav {
transform: translateY(-1px);
}
@media screen and (min-width: 640px) {
@ -29,8 +29,13 @@
left: 0;
bottom: 0;
width: var(--body-padding);
background-color: transparent;
padding: var(--unit--vertical) var(--unit--horizontal);
}
#main-footer ul {
display: block;
}
#main-footer button.open-nav {
margin-bottom: var(--unit--vertical);
}
}

View file

@ -43,7 +43,7 @@ main {
#main-header.minimized #inactuel {
margin-top: -20vw;
transform: translateX(-2px) translateY(-2px);
transform: translateX(-1px) translateY(-1px);
}
#main-header.minimized #inactuel:not([data-template="home"] *) {