Update style.css

This commit is contained in:
LEGALISE_PIRACY 2024-03-11 03:30:16 +00:00
parent 9d1362106d
commit 24229078a5

View File

@ -41,6 +41,7 @@ body {
background-size: cover; background-size: cover;
background-attachment: fixed; background-attachment: fixed;
} }
header, header,
footer { footer {
background-color: var(--uibg); background-color: var(--uibg);
@ -49,29 +50,33 @@ footer {
width: 100%; width: 100%;
z-index: 1; z-index: 1;
justify-content: center; justify-content: center;
text-align: center;
font-weight: 700;
text-decoration: none;
} }
header { header {
top: 0; top: 0;
border-radius: 0 0 20px 20px; border-radius: 0 0 20px 20px;
position: fixed; position: fixed;
box-shadow: 0 5px 10px var(--uibg); box-shadow: 0 5px 10px var(--uibg);
} }
footer.noscroll { footer.noscroll {
position: fixed; position: fixed;
overflow: hidden; overflow: hidden;
} }
footer { footer {
bottom: 0; bottom: 0;
border-radius: 20px 20px 0 0; border-radius: 20px 20px 0 0;
box-shadow: 0 -5px 10px var(--uibg); box-shadow: 0 -5px 10px var(--uibg);
} }
footer a, footer a,
footer a:visited, footer a:visited,
header a, header a,
header a:visited { header a:visited {
text-align: center;
font-weight: 700;
text-decoration: none;
margin-right: 2rem; margin-right: 2rem;
margin-left: 1rem; margin-left: 1rem;
} }
@ -80,6 +85,24 @@ footer a:hover,
header a:hover { header a:hover {
text-shadow: 2px 2px 6px var(--textcolor); text-shadow: 2px 2px 6px var(--textcolor);
} }
@media only screen and (max-width: 768px) {
header,
footer {
flex-direction: column;
align-items: center;
}
header {
border-radius: 0;
}
footer {
border-radius: 0;
}
}
main { main {
animation: 1.25s ease-in-out 0s 1 loadInAnimation; animation: 1.25s ease-in-out 0s 1 loadInAnimation;
align-items: center; align-items: center;