Skip to content

Commit

Permalink
Work on navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
laistdomiciano committed Jul 31, 2024
1 parent 9727eca commit fdb4593
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 60 deletions.
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@
</head>
<body>
<!-- Navbar Section -->
<nav class="navbar">
<nav class="hero-cta">
<ul>
<li><a href="#about">About</a></li>
<li><a href="https://www.linkedin.com/in/lais-trevizan-domiciano/" target="_blank">LinkedIn</a></li>
<li><a href="https://github.com/laistdomiciano" target="_blank">GitHub</a></li>
<li><a href="/assets/CV.pdf" download>Download CV</a></li>
<li><a href="mailto:[email protected]">Get in Touch</a></li>
<li><a class="cta-btn cta-btn--hero" href="#about">About</a></li>
<li><a class="cta-btn cta-btn--hero" href="https://www.linkedin.com/in/lais-trevizan-domiciano/" target="_blank">LinkedIn</a></li>
<li><a class="cta-btn cta-btn--hero" href="https://github.com/laistdomiciano" target="_blank">GitHub</a></li>
<li><a class="cta-btn cta-btn--hero" href="/assets/CV.pdf" download>Download CV</a></li>
<li><a class="cta-btn cta-btn--hero" href="mailto:[email protected]">Get in Touch</a></li>
</ul>
</nav>

Expand Down
56 changes: 2 additions & 54 deletions style/sections/_navbar.scss
Original file line number Diff line number Diff line change
@@ -1,55 +1,3 @@
// _navbar.scss

#navbar {
display: flex;
align-items: center;
background: $white-color;
font-weight: 400;
color: $dark-blue-text;
padding: 1rem 5.6rem;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 10;

ul {
list-style: none;
display: flex;
margin: 0;
padding: 0;

li {
margin-right: 2rem;

&:last-child {
margin-right: 0;
}

a {
text-decoration: none;
font-size: 2.4rem;
color: $dark-blue-text;
transition: color 0.3s, border 0.3s;
padding: 0.5rem 1.5rem;
border: 2px solid transparent;
border-radius: 5px;

&:hover,
&:focus {
color: $primary-color;
border: 2px solid $primary-color;
}

@include respond(phone) {
font-size: 2rem;
}
}
}
}

@include respond(tab-port) {
justify-content: center;
padding: 1rem $default-font-size;
}
.navbar{
background-color: f3f3f3
}

0 comments on commit fdb4593

Please sign in to comment.