Skip to content

Commit

Permalink
Merge pull request #13 from ElizabethBil/section-about-us
Browse files Browse the repository at this point in the history
commit
  • Loading branch information
ElizabethBil authored Oct 2, 2023
2 parents 64bff8f + 68cc288 commit 121f1d4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
21 changes: 16 additions & 5 deletions src/css/about.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,20 @@
@media screen and (min-width: 768px) {
.section-about-us{
background-image: url(../img/about/ornamet-about-tablet.png);
background-position-x: right;
background-position-y: bottom;

}
}

@media screen and (min-width: 1280px) {
.section-about-us {
background-image: url(../img/about/ornament-desctop1280.png);
}
}
@media screen and (min-width: 1440px) {
.section-about-us {
background-image: url(../img/about/ornament-descktop1440.png);
}
}
.about-us-title{
color: var(--white, rgb(252, 249, 249));
font-size: 32px;
Expand Down Expand Up @@ -62,6 +71,11 @@
max-width: 436px;
}
}
@media screen and (min-width: 1440px) {
.about-us-text {
max-width: 481px;
}
}

@media screen and (min-width: 1280px) {
.about-container {
Expand All @@ -75,6 +89,3 @@
}
}

@media screen and (min-width: 1440px) {

}
Binary file added src/img/about/ornament-descktop1440.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/about/ornament-desctop1280.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/partials/about.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section class="section-about-us section">
<section class="section-about-us section" id="about-us">
<div class="container about-container">
<div class="wrap-container">
<h2 class="about-us-title">About Us</h2>
Expand Down

0 comments on commit 121f1d4

Please sign in to comment.