add responsive

This commit is contained in:
rick 2024-10-13 18:56:08 +02:00
commit dfe6575b26
Signed by: Rick
GPG key ID: A2E7B6CA577C8F07
2 changed files with 44 additions and 0 deletions

View file

@ -130,3 +130,46 @@ footer {
#buttons div {
margin-bottom: 1em;
}
@media only screen and (max-width: 641px) {
body {
grid-template-areas:
"header header"
"main main"
"menu menu"
"footer footer";
}
#header-links {
position: sticky;
bottom: 0;
margin-left: 0;
margin-top: 0;
flex-direction: row;
background-color: white;
border-top: solid black;
flex-wrap: wrap;
}
header {
display: flex;
flex-direction: column;
}
#lang {
justify-items: center;
}
#main {
margin: 2em 1em 2em 1em;
}
#footer-main {
display: flex;
flex-direction: column;
}
.pred-buttons {
align-self: center;
}
}