overall tweaks for mobile + margins

This commit is contained in:
2022-12-11 01:44:20 +01:00
parent 0185e29512
commit aaf7403e21
7 changed files with 20 additions and 17 deletions

View File

@@ -2,13 +2,13 @@
display: block;
width: 100%;
height: 28rem;
@media screen and (max-width: 800px) {
height: 20rem;
}
overflow: hidden;
position: relative;
border-left: none;
border-right: none;
@media screen and (max-width: 800px) {
height: 14rem;
}
}
.hero::before {
position: absolute;
@@ -33,7 +33,7 @@
justify-content: center;
align-items: center;
text-align: center;
}
.stats {
margin: 1rem 16rem;
@media screen and (max-width: 800px) {
transform: scale(0.85);
}
}

View File

@@ -30,6 +30,11 @@ h3 {
padding: 0.5rem 0;
font-family: var(--fonts-bold);
}
main {
max-width: 1200px;
margin: 0 auto;
padding: 1rem;
}
/* html,
body {