css cleanup

This commit is contained in:
Late Night Defender 2024-07-04 01:28:06 +07:00
parent 879f1fd21d
commit befb166b09

View file

@ -149,57 +149,16 @@ h1 {
} }
/* For tablet screens */ /* For tablet screens */
@media only screen and (min-width: 750px) and (max-width: 1366px) { @media only screen and (max-width: 1366px) {
.middle-large { .middle-large {
grid-area: middle; grid-area: middle;
width: 90vw; width: 90vw;
max-width: 35cm; max-width: 35cm;
} }
.itemcard {
display: grid;
border-radius: 12px;
text-decoration: none;
height: 3cm;
transition-duration: 0.2s;
box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13);
}
.itemcard-stealth {
display: grid;
border-radius: 12px;
text-decoration: none;
height: 3cm;
transition-duration: 0.2s;
}
h1 {
margin-top: 3vh;
}
} }
/* For phone screens */ /* For phone screens */
@media only screen and (max-width: 750px) { @media only screen and (max-width: 750px) {
.middle-large {
grid-area: middle;
width: 90vw;
max-width: 35cm;
}
.itemcard {
display: grid;
border-radius: 12px;
text-decoration: none;
height: 3cm;
transition-duration: 0.2s;
box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13);
}
.itemcard-stealth {
display: grid;
border-radius: 12px;
text-decoration: none;
height: 3cm;
transition-duration: 0.2s;
}
h1 { h1 {
margin-top: 8vh; margin-top: 8vh;
} }