mobile nav & hero page adjustments

This commit is contained in:
Nikita Krupin
2022-08-16 01:52:00 -04:00
parent c27a2f46e9
commit 30849593ed
10 changed files with 170 additions and 48 deletions

View File

@@ -58,7 +58,6 @@
:global(.wrapper) {
margin-inline: auto;
width: min(87%, 100rem);
margin-top: 1.5%;
}
:root {

View File

@@ -7,18 +7,29 @@
<div class="wrapper">
<div class="wrappezoid">
<IndexDescription />
<HeroImage />
<div id="heroimg"><HeroImage /></div>
</div>
<SocialHost />
</div>
<style>
.wrappezoid {
height: calc(100vh - 90px);
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
}
@media (max-width: 1919px) {
.wrappezoid {
justify-content: space-between;
}
}
@media (max-width: 1052px) {
#heroimg {
display: none;
}
}
@media (max-width: 768px) {
.wrappezoid {
flex-direction: column;