Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 33 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,41 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project #1</title>
<title>DProject #1</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1></h1>
<nav class="navbar">
<div class="navbar__container">
<a href="/" id="navbar__logo">NEXT</a>
<div class="navbar__toggle" id="mobile-menu">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
<ul class="navbar__menu">
<li class="navbar__item">
<a href="/" class="navbar__links">
Home
</a>
</li>
<li class="navbar__item">
<a href="/tech.html" class="navbar__links">
Tech
</a>
</li>
<li class="navbar__item">
<a href="/" class="navbar__links">
Products
</a>
</li>
<li class="navbar__btn">
<a href="/" class="button">
Sign Up
</a>
</li>
</ul>
</div>
</nav>
</body>
</html>
107 changes: 104 additions & 3 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,104 @@
h1 {
color: black;
}
*{
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Kumbh Sans', sans-serif;
}

.navbar {
background: #131313;
height: 80px;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.2rem;
position: sticky;
top: 0;
z-index: 999;

}

.navbar__container {
display: flex;
justify-content: space-between;
height: 80px;
z-index: 1;
width: 100%;
max-width: 1300px;
margin: 0 auto;
padding: 0 50px;

}

#navbar__logo {
background-color: rgb(186, 117, 56);
background-image: linear-gradient(to top, #ff0814 0%, rgba(87, 87, 25, 0.067) 100%);
background-size: 100%;
-webkit-background-clip: text;
-moz-background-clip: text;
-webkit-text-fill-color: transparent;
-moz-text-fill-color: transparent;
display: flex;
align-items: center;
cursor: pointer;
text-decoration: none;
font-size: 2rem;
}

.fa-gem {
margin-right: 0.5rem;
}

.navbar__menu {
display: flex;
align-items: center;
list-style: none;
text-align: center;
}

.navbar__item {
height: 80px;
}

.navbar__links {
color: azure;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
padding: 0 1rem;
height: 100%;
}

.navbar__btn {
display: flex;
justify-content: center;
align-items: center;
padding: 0 1rem;
width: 100%;
}

.button {
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
padding: 10px 20px;
height: 100%;
width: 100%;
border: none;
outline: none;
border-radius: 4px;
background: #ff0814;
color: beige;
}

.button:hover {
background: #4837ff;
transition: all 0.3s ease;
}

.navbar__links:hover {
color: #131313;
transition: all 0.3s ease;
}