Skip to content

Commit

Permalink
mobile adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-zanetti committed Jul 8, 2020
1 parent 3ae8202 commit b63fd8e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h1>Hi. I'm a web developer based in Washington, D.C.</h1>
</div>

<div class="picture">
<img src="./pictures/skyline-fixed-2.png" class="heading-pic" style="max-width: 75%; max-height: 75%;">
<img src="./pictures/skyline-fixed-2.png" class="heading-pic">
</div>

<div class="skills-wrapper" id="skills-wrapper">
Expand Down
19 changes: 18 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ a {
margin: 150px auto
}

.heading-pic{
max-width: 75%;
max-height: 75%;
}

.skills-wrapper{
display: grid;
grid-template-columns: 30% 70%;
Expand Down Expand Up @@ -240,6 +245,18 @@ a {
font-size: 1.5em;
}


.heading-pic{
height: 100%;
width: 100%;
object-fit: contain;

}

.picture {
display: flex;
justify-content: center;
height: 250px;
margin: 50px auto
}

}

0 comments on commit b63fd8e

Please sign in to comment.