Skip to content

Commit

Permalink
Merge pull request #10 from ElizabethBil/page-header
Browse files Browse the repository at this point in the history
Add laptop styles
  • Loading branch information
ElizabethBil authored Oct 2, 2023
2 parents bc1f418 + cbd8ca2 commit b0923cb
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 4 deletions.
62 changes: 62 additions & 0 deletions src/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,69 @@
}
/* Laptop Styles */
@media screen and (min-width: 1280px) {
.header-button {
display: none;
}
.header-container {
max-width: 1280px;
padding: 2px 100px;
}
.header-navigation {
display: flex;
justify-content: center;
align-items: center;
gap: 60px;
}
.header-nav-logo {
width: 44px;
height: 39px;
}
.header-nav-list {
display: flex;
align-items: flex-start;
gap: 25px;
}
.header-nav-link {
color: #fcf9f9;
font-size: 14px;
line-height: 1.29;
text-transform: uppercase;
}
.header-nav-link:hover,
.header-nav-link:focus {
color: #ecd979;
}
.header-address {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
margin-left: auto;
}
.header-address-link {
color: #fcf9f9;
font-size: 14px;
line-height: 1.43;
text-transform: uppercase;
font-style: normal;
letter-spacing: 0.04em;
padding: 14px 28px;
border-radius: 15px;
border: 1px solid rgba(252, 249, 249, 0.1);
}
.header-address-link:hover,
.header-address-link:focus {
border: 1px solid var(--yellow, #ecd979);
}
.header-socials-list {
margin-left: 20px;
}
}
/* Big Laptop Styles */
@media screen and (min-width: 1440px) {
.header-container {
max-width: 1440px;
padding-top: 0px;
padding-bottom: 0px;
}
}
8 changes: 4 additions & 4 deletions src/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
</a>
<ul class="header-nav-list">
<li class="header-nav-list-item">
<a href="#" class="header-nav-link">ABOUT US</a>
<a href="#" class="header-nav-link">about us</a>
</li>
<li class="header-nav-list-item">
<a href="#" class="header-nav-link">OUR COLLECTION</a>
<a href="#" class="header-nav-link">our collection</a>
</li>
<li class="header-nav-list-item">
<a href="#" class="header-nav-link">CUSTOMER ORDER</a>
<a href="#" class="header-nav-link">customer order</a>
</li>
<li class="header-nav-list-item">
<a href="#" class="header-nav-link">TESTIMONIALS</a>
<a href="#" class="header-nav-link">testimonials</a>
</li>
</ul>
</nav>
Expand Down

0 comments on commit b0923cb

Please sign in to comment.