mac revealed content overlap on small screen, need to test

This commit is contained in:
Andrew Simonson
2024-02-23 09:47:40 -06:00
parent ed685f0ff7
commit 455bc71fef
2 changed files with 22 additions and 9 deletions

View File

@@ -268,6 +268,11 @@ a {
text-align: center; text-align: center;
} }
#HomeContentContainer {
display: inline-block;
flex-grow: 1;
}
#HomeContent { #HomeContent {
padding: 3rem; padding: 3rem;
display: inline-block; display: inline-block;
@@ -317,15 +322,12 @@ a {
} }
.onRight { .onRight {
position: absolute; margin: auto;
right: 0;
top: 0;
max-width: 100vw;
margin-right: 5px;
} }
.onRight>* { .onRight>* {
margin: auto; margin-left: auto;
margin-right: 1em;
margin-bottom: 5px; margin-bottom: 5px;
} }
@@ -829,6 +831,10 @@ a {
@media screen and (max-width: 1200px) { @media screen and (max-width: 1200px) {
#homepage {
flex-direction: column;
}
.mobileV { .mobileV {
flex-direction: column; flex-direction: column;
} }
@@ -883,9 +889,12 @@ a {
} }
.onRight { .onRight {
position: unset; margin: unset;
margin-top: 3rem; margin-top: 3rem;
margin-right: 0; }
.onRight > * {
margin: auto;
} }
.timeline { .timeline {

View File

@@ -2,12 +2,15 @@
<div class="foreground homeground"></div> <div class="foreground homeground"></div>
<div class="foregroundContent homegroundContent"> <div class="foregroundContent homegroundContent">
<div class="relative"> <div class="relative">
<div id="homepage" class="flex">
<div id="HomeContentContainer">
<div class="flex"> <div class="flex">
<div id="HomeContent" data-aos="fade-up"> <div id="HomeContent" data-aos="fade-up">
<h1>Andrew Simonson</h1> <h1>Andrew Simonson</h1>
<h3>Computer Science student at Rochester Institute of Technology</h3> <h3>Computer Science student at Rochester Institute of Technology</h3>
</div> </div>
</div> </div>
</div>
<div class="onRight" data-aos="fade-up"> <div class="onRight" data-aos="fade-up">
<img <img
src="{{ url_for('static', filename='readme-stats-vercel-01-25-2023.svg') }}" src="{{ url_for('static', filename='readme-stats-vercel-01-25-2023.svg') }}"
@@ -44,5 +47,6 @@
</a> </a>
</div> </div>
</div> </div>
</div>
</div> </div>
{% endblock %} {% endblock %}