Skip to content

Commit

Permalink
made about page margins and padding responsive to screen size
Browse files Browse the repository at this point in the history
  • Loading branch information
aasmal97 committed Jun 7, 2023
1 parent 0843789 commit 404b602
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/aboutPage/_aboutPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $namespace: "about-pg";
align-items: center;
justify-content: center;
width: 100%;
aspect-ratio: 16/7.5;
aspect-ratio: 16/8.5;

.#{$namespace}-img-banner-img {
position: absolute;
Expand Down Expand Up @@ -52,9 +52,11 @@ $namespace: "about-pg";
justify-content: center;
box-sizing: border-box;
font-size: 1.5rem;
margin: 4em;
padding: 4em;
width: calc(100% - 4em * 2);
// margin: 4em;
// padding: 4em;
margin: 10%;
padding: 10%;
width: calc(100% - 10% * 2);
border: 1px solid $gray;
p {
text-align: center;
Expand All @@ -70,7 +72,7 @@ $namespace: "about-pg";
display: flex;
justify-content: space-between;
margin-bottom: 3.5rem;
padding: 0 4em;
padding: 0 10%;
}
.#{$namespace}-img-presentation-container {
text-decoration: none;
Expand Down

0 comments on commit 404b602

Please sign in to comment.