Skip to content

Commit

Permalink
navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeFence committed Jan 14, 2024
1 parent be00756 commit 9551b09
Show file tree
Hide file tree
Showing 8 changed files with 153 additions and 9 deletions.
8 changes: 6 additions & 2 deletions about.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,19 @@
background-position: top;
}
.navbar{
width: 85%;
width: 100%;
height: 25px;
background-color: 0f0f0f;
background-size: contain;
background-position: top;
margin: auto;
padding: 35px 0;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo{
width: 120px;
width: 100px;
cursor: pointer;
}
.navbar ul li{
Expand Down
2 changes: 1 addition & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<img src="logo.png" class="logo">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="patchos.html">PatchOS</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="#">Other</a></li>
<li><a href="#">Troubleshoot</a></li>
<li><a href="about.html"><u>About</u></a></li>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<img src="logo.png" class="logo">
<ul>
<li><a href="index.html"><u>Home</u></a></li>
<li><a href="patchos.html">PatchOS</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="#">Other</a></li>
<li><a href="#">Troubleshoot</a></li>
<li><a href="about.html">About</a></li>
Expand Down
8 changes: 6 additions & 2 deletions patchos.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,19 @@
cursor: pointer;
}
.navbar{
width: 85%;
width: 100%;
height: 25px;
background-color: 0f0f0f;
background-size: contain;
background-position: top;
margin: auto;
padding: 35px 0;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo{
width: 120px;
width: 100px;
cursor: pointer;
}
.navbar ul li{
Expand Down
2 changes: 1 addition & 1 deletion patchos.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<img src="logo.png" class="logo">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="patchos.html"><u>PatchOS</u></a></li>
<li><a href="projects.html"><u>Projects</u></a></li>
<li><a href="#">Other</a></li>
<li><a href="#">Troubleshoot</a></li>
<li><a href="about.html">About</a></li>
Expand Down
100 changes: 100 additions & 0 deletions projects.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
*{
margin:0;
padding: 0;
font-family: sans-serif;
}
.banner{
width: 100%;
height: 100vh;
background-image: url(bgwallpaper1.bmp);
background-size: cover;
background-position: top;
}
.navbar{
width: 100%;
height: 25px;
background-color: 0f0f0f;
background-size: contain;
background-position: top;
margin: auto;
padding: 35px 0;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo{
width: 100px;
cursor: pointer;
}
.navbar ul li{
list-style: none;
display: inline-block;
margin: 0 20px;
position: relative;
}
.navbar ul li a{
text-decoration: none;
color: #fff;
text-transform: uppercase;
}
.navbar ul li::after{
content: '';
height: 3px;
width: 0;
background: #009688;
position: absolute;
left: 0;
bottom: -5;
transition: 0.5s;
}
.navbar ul li:hover::after{
width: 100%;
}
.content{
width: 100%;
position: absolute;
top: 50%;
transform: translateY(-50%);
text-align: center;
color: #fff;
}
button{
width: 150;
padding: 15px 0;
text-align: center;
margin: 20px 10px;
border-radius: 25px;
font-weight: bold;
border: 2px solid #009688;
background: transparent;
color: #fff;
cursor: pointer;
position: relative;
overflow: hidden;
}
button:hover span{
width: 100%;
}
span{
background: #009688;
height: 100%;
width: 0;
border-radius: 25px;
position: absolute;
left: 0;
bottom: 0;
z-index: -1;
transition: 0.5s;
}
.end{
background-color: 0f0f0f;
background-size: auto;
background-position: center;
}
p{
color: aliceblue;
text-align: center;
}
.os{

}
32 changes: 32 additions & 0 deletions projects.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<html>
<head>
<title>PatchWare</title>
<link href="projects.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="banner">
<div class="navbar">
<img src="logo.png" class="logo">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="projects.html"><u>Projects</u></a></li>
<li><a href="#">Other</a></li>
<li><a href="#">Troubleshoot</a></li>
<li><a href="about.html">About</a></li>
</ul>
</div>
<div class="content">
<h1>Projects</h1>
<div class="os">

</div>
<div class="rfid">

</div>
</div>
</div>
<div class="end">
<p>PatchWare 2024</p>
</div>
</body>
</html>
8 changes: 6 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,19 @@
background-position: top;
}
.navbar{
width: 85%;
width: 100%;
height: 25px;
background-color: 0f0f0f;
background-size: contain;
background-position: top;
margin: auto;
padding: 35px 0;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo{
width: 120px;
width: 100px;
cursor: pointer;
}
.navbar ul li{
Expand Down

0 comments on commit 9551b09

Please sign in to comment.