2024-08-06 11:22:35 +01:00
|
|
|
/* Navbar */
|
|
|
|
.navbar {
|
|
|
|
background-color: var(--navbar-background-color);
|
2024-08-07 01:18:22 +01:00
|
|
|
border-bottom: var(--border-width) var(--border-style) var(--border-color);
|
2024-08-06 11:22:35 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
height: 50px;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar a {
|
|
|
|
color: var(--navbar-text-color);
|
|
|
|
text-decoration: none;
|
2024-08-08 11:13:50 +01:00
|
|
|
padding: 10px 10px 5px 5px;
|
2024-08-06 11:22:35 +01:00
|
|
|
transition: background-color 0.3s ease;
|
2024-08-08 11:13:50 +01:00
|
|
|
border-bottom: 3px var(--border-style) transparent;
|
2024-08-06 11:22:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar a:hover {
|
|
|
|
color: var(--text-color);
|
2024-08-08 11:13:50 +01:00
|
|
|
border-bottom: 3px var(--border-style) var(--hover-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-link-dropdown-content {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
flex-direction: column;
|
|
|
|
right: 20px;
|
|
|
|
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
|
|
|
|
background-color: var(--navbar-background-color);
|
|
|
|
border-radius: 5px;
|
|
|
|
border: var(--border-width) var(--border-style) var(--border-color) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar_link_dropdown:hover .navbar-link-dropdown-content {
|
|
|
|
display: flex;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-link-dropdown-content a {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-link-dropdown-content a:hover {
|
|
|
|
border: none;
|
|
|
|
background-color: var(--navbar-hover);
|
2024-08-06 11:22:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar__left a {
|
|
|
|
text-decoration: none !important;
|
|
|
|
color: var(--text-color) !important;
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar__left {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2024-08-08 11:13:50 +01:00
|
|
|
.navbar__right {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2024-08-06 11:22:35 +01:00
|
|
|
.navbar-links ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-links ul li {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-links ul li a {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2024-08-08 14:26:55 +01:00
|
|
|
|
|
|
|
.navbar-dropdown {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
.navbar-dropdown {
|
|
|
|
display: flex;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-links {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hamburger-dropbtn {
|
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
border-width: 0;
|
|
|
|
background-color: var(--background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hamburger-dropbtn:hover {
|
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
border-width: 0;
|
|
|
|
background-color: var(--navbar-hover);
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-dropdown-content {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Show the dropdown menu on hover */
|
|
|
|
.navbar-dropdown:hover .navbar-dropdown-content {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 80%;
|
|
|
|
right: 1%;
|
|
|
|
flex-direction: column;
|
|
|
|
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
|
|
|
|
background-color: var(--navbar-background-color);
|
|
|
|
border-radius: 5px;
|
|
|
|
border: var(--border-width) var(--border-style) var(--border-color) !important;
|
|
|
|
}
|
|
|
|
.navbar-dropdown-content li {
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 10px 10px 5px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-dropdown-content a {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-dropdown-content li:hover {
|
|
|
|
color: var(--navbar-text-color);
|
|
|
|
padding: 10px 10px 5px 5px;
|
|
|
|
text-decoration: none;
|
|
|
|
transition: background-color 0.3s ease;
|
|
|
|
background-color: var(--navbar-hover);
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-dropdown-content a:hover {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-link-dropdown-content {
|
|
|
|
position: absolute;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 150px;
|
|
|
|
right: 95%;
|
|
|
|
top: 50%;
|
|
|
|
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
|
|
|
|
background-color: var(--navbar-background-color);
|
|
|
|
border-radius: 5px;
|
|
|
|
border: var(--border-width) var(--border-style) var(--border-color) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-link-dropdown-content a:hover {
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
}
|