make index responsive

This commit is contained in:
Guilherme Rugai Freire 2024-07-20 21:02:29 -03:00
parent 9ec0af6278
commit 20842416b8
No known key found for this signature in database
GPG Key ID: AC1D9B6E48E16AC1

View File

@ -52,6 +52,7 @@ templ styles() {
body.index p {
font-size: 1.4rem;
font-family: monospace, "sans-serif";
text-align: center;
}
body.index .random {
@ -74,6 +75,20 @@ templ styles() {
cursor: pointer;
}
@media (max-width: 900px) {
body.index h1 {
font-size: 3rem;
}
body.index p {
font-size: 1rem;
}
body.index .random a {
height: 60px;
font-size: 1rem;
}
}
/* HEADER */
.header {