Skip to content
Open
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
70 changes: 46 additions & 24 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,12 @@ header {

/* Navbar */
.logo img {
padding-top: 0.2rem;
max-height: 5rem;
transition: transform 250ms;
}
.logo img:hover{
transform: scale(1.1);
}
.nav-link{
font-size: 1.1rem;
margin-right: 2.5rem;
font-weight: 500;
position: relative;
}
.nav-item a{
color: rgb(218, 216, 216);
text-decoration: none;
outline: none;
}
.nav-item a:hover{
color: #f3df27;
}
.nav-item a:focus{
color: rgb(255, 238, 7);
padding-top: 5px;
max-height: 90px;
}
.nav-link::after {
position: absolute;
align-items:center;
bottom: 0;
left: 0;
right: 0;
Expand All @@ -64,9 +44,11 @@ header {
height: 3px;
}
.nav-link:hover::after {
width: 100%;

width:100%;
}
.nav-link:hover::after{

transition: all 0.2s;
}
.navbar-toggler{
Expand Down Expand Up @@ -103,6 +85,46 @@ main {
padding: 14px 25px;
text-align: center;
}
.container {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
}
.container .menu-icon {
position: relative;
padding-top: 1.25rem;
color: white;
font-size: 30px;
right: 22px;
top: 5px;
border: 0.3px solid #464646;
border-radius: 7px;
padding-left: 10px;
padding-right: 10px;
margin-right: -15px;
cursor: pointer;
z-index: 1;
}

.menu-container {
height: 0%;
width: 100%;
position: fixed;
top: 0px;
left: 0px;
z-index: 1;
background: rgba(0, 0, 0, 0.8);
overflow: hidden;
transition: 0.6s ease-in-out;
}

.menu-content {
position: relative;
top: 25%;
width: 100%;
text-align: center;
margin-top: 30px;
}



Expand Down