Responsive layout

This commit is contained in:
KGrzeg 2021-10-18 00:48:25 +02:00
parent a30f95c8fa
commit 874d2a4061

View file

@ -18,7 +18,7 @@ body {
width: 100%; width: 100%;
background-color: aqua; background-color: aqua;
width: 800px; width: 800px;
margin:auto; margin: auto;
margin-bottom: 10px; margin-bottom: 10px;
text-align: center; text-align: center;
} }
@ -49,3 +49,13 @@ h4 {
margin-bottom: 10px; margin-bottom: 10px;
text-align: center; text-align: center;
} }
@media screen and (max-width: 1350px) {
.bar {
margin-left: 20px;
}
#gameBox {
margin-left: 20px;
}
}