Skip to content

Commit

Permalink
Create navigation.css
Browse files Browse the repository at this point in the history
  • Loading branch information
p0xx authored Nov 28, 2023
1 parent b69afe9 commit 8eaeec2
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions othercss/navigation.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
.nav {
height: 69px;
position: sticky;
top: 0;
z-index: 9999;
box-shadow: 0px 0px 10px #000;
background-color: #1c1c1c;
font-size: 14px;
}

.nav-content {
margin-left:2em;
display: flex;
justify-content: left;
height: 100%;
align-items: center;
gap: 15px;
}

.nav-content a {
color:white;
border-radius: 8px;
padding: 12px;
transition: 0.2s;
}

.nav-content a:hover {
opacity: calc(0.7);
}

.login {
color:white;
position: absolute;
right: 2em;
}

.login a:hover {
opacity: calc(0.7);
}

/* .nav-home {
left: 15px; position: absolute;
}
*/

0 comments on commit 8eaeec2

Please sign in to comment.