Skip to content

Commit

Permalink
furniture store: improve several design moments
Browse files Browse the repository at this point in the history
  • Loading branch information
khassanboi committed Jan 10, 2024
1 parent bc103ad commit 481ec1f
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 10 deletions.
12 changes: 8 additions & 4 deletions furniture-store/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ section,
main,
footer {
width: 100%;
padding: 3rem 5rem;
padding: 2rem 5rem;
display: flex;
align-items: center;
}
Expand All @@ -54,7 +54,7 @@ footer {
section,
main,
footer {
padding: 3rem;
padding: 1rem 3rem;
}
}

Expand Down Expand Up @@ -363,14 +363,14 @@ ul {
width: 60%;
}
.navbar__icon {
font-size: 3rem;
font-size: 3.5rem;
color: #4b4b4b;
cursor: pointer;
display: none;
}
@media only screen and (max-width: 30em) {
.navbar {
padding: 2rem 4rem;
padding: 2rem 3rem;
}
.navbar__container {
display: flex;
Expand Down Expand Up @@ -790,6 +790,7 @@ ul {
}
.work__description {
width: 100%;
padding: 2rem;
}
}

Expand Down Expand Up @@ -976,4 +977,7 @@ ul {
gap: 5rem;
align-items: start;
}
.footer__top-form {
height: 5rem;
}
}/*# sourceMappingURL=main.css.map */
2 changes: 1 addition & 1 deletion furniture-store/css/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion furniture-store/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,6 @@ <h2 class="footer__bottom-title">WHIMSY FURNITURE CORP.</h2>
</div>
</footer>
<script src="js/singleGallery.js"></script>
<script src="../js/navbar.js"></script>
<script src="js/navbar.js"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions furniture-store/scss/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ section,
main,
footer {
width: 100%;
padding: 3rem 5rem;
padding: 2rem 5rem;
display: flex;
align-items: center;

@media only screen and (max-width: $bp-sm) {
padding: 3rem;
padding: 1rem 3rem;
}
}

Expand Down
4 changes: 4 additions & 0 deletions furniture-store/scss/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,9 @@
gap: 5rem;
align-items: start;
}

&__top-form {
height: 5rem;
}
}
}
4 changes: 2 additions & 2 deletions furniture-store/scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@
}

&__icon {
font-size: 3rem;
font-size: 3.5rem;
color: $color-primary;
cursor: pointer;
display: none;
}

@media only screen and (max-width: $bp-xs) {
padding: 2rem 4rem;
padding: 2rem 3rem;

&__container {
display: flex;
Expand Down
1 change: 1 addition & 0 deletions furniture-store/scss/_sections.scss
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@

&__description {
width: 100%;
padding: 2rem;
}
}
}
Expand Down

0 comments on commit 481ec1f

Please sign in to comment.