Skip to content

Commit

Permalink
Homepage Mobile Responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
zmercury committed Jun 21, 2023
1 parent 1f51721 commit bb1e2ea
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ <h2 class="infoheading">Ram Kumar Nepal</h3>
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</span>
</div>
</div>
</div>
</div>
</div>

Expand Down
24 changes: 24 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,30 @@ body {
font-size: .9em !important;
}


@media only screen and (max-width: 600px) {
.principalInfoSection {
height: fit-content;
}

.principalInnerContainer {
flex-direction: column;
}

.principalInnerContainer > div {
width: 100%;
margin-bottom: 4em;
}

.principalInnerContainer > div:nth-child(1) {
margin-top: 4em;
}
}





.mapSection {
width: 100%;

Expand Down

0 comments on commit bb1e2ea

Please sign in to comment.