68 lines
1.2 KiB
CSS
68 lines
1.2 KiB
CSS
/* Navbar */
|
|
.navbar {
|
|
background-color: var(--navbar-background-color);
|
|
border-bottom: var(--border-width) var(--border-style) var(--border-color);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
position: sticky;
|
|
top: 0;
|
|
height: 50px;
|
|
width: 100%;
|
|
z-index: 999;
|
|
}
|
|
|
|
.navbar a {
|
|
color: var(--navbar-text-color);
|
|
padding: 10px;
|
|
margin: 5px;
|
|
text-decoration: none;
|
|
transition: background-color 0.3s ease;
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.navbar a:hover {
|
|
padding: 10px;
|
|
background-color: var(--navbar-hover);
|
|
border-radius: var(--radius);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.navbar__left a {
|
|
text-decoration: none !important;
|
|
color: var(--text-color) !important;
|
|
font-size: 22px;
|
|
}
|
|
|
|
.navbar__left {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
.navbar_link_dropdown:hover .navbar-link-dropdown-content {
|
|
display: flex;
|
|
}
|