make screens more mobile compatible

This commit is contained in:
WieErWill 2023-11-02 21:00:31 +01:00
parent 25730246d5
commit c5115d2b42
3 changed files with 23 additions and 6 deletions

View File

@ -66,7 +66,8 @@ footer {
footer { footer {
display: block; display: block;
width: 80%; max-width: 80%;
min-width: 50%;
align-items: center; align-items: center;
text-align: center; text-align: center;
margin: 5rem 1rem 1rem 1rem; margin: 5rem 1rem 1rem 1rem;

View File

@ -27,4 +27,16 @@ p {
margin-bottom: 1rem; margin-bottom: 1rem;
line-height: 1.5; line-height: 1.5;
} }
@media (max-width: 768px) {
.aboutpage {
margin: 1rem;
}
h1{
font-size: 1.5rem;
}
p{
font-size: 1rem;
}
}
</style> </style>

View File

@ -22,7 +22,7 @@
strong Iteration Count: strong Iteration Count:
| Determine the number of times a player will receive a new symbol during their turn. | Determine the number of times a player will receive a new symbol during their turn.
li li
strong Choose Categories: strong Choose Categories:
| Sometimes you don't want all from everything so you can choose which specific categories you want in your game. If non choosen, all are selected automatically. | Sometimes you don't want all from everything so you can choose which specific categories you want in your game. If non choosen, all are selected automatically.
li li
strong Hit Start: strong Hit Start:
@ -82,6 +82,7 @@
.section { .section {
margin-bottom: 2rem; margin-bottom: 2rem;
max-width: 100%;
} }
h1 { h1 {
@ -112,9 +113,11 @@ li {
line-height: 1.5; line-height: 1.5;
} }
.biglogo{ .biglogo {
display:block; display: block;
max-width: 500px; max-width: 450px;
max-width: 90%;
min-width: 10px;
margin: auto; margin: auto;
} }
@ -154,7 +157,8 @@ button:hover {
font-size: 1.5rem; font-size: 1.5rem;
} }
p { p,
li {
font-size: 1rem; font-size: 1rem;
} }
} }