/* Variables */ :root { --navbar-height: 40px; --navbar-bg: #fafafa; --navbar-bg-highlight: #f2f2f2; --navbar-bg-active-top: #f2f2f2; --navbar-bg-active-highlight: #e6e6e6; --navbar-border: #d4d4d4; --navbar-link: #777; --navbar-link-hover: #333; --navbar-link-active: #555; --navbar-active: #08c; --navbar-active-bg: transparent; --navbar-brand-color: var(--navbar-link); } /* Navbar Base */ .navbar { display: flex; align-items: center; justify-content: space-between; min-height: var(--navbar-height); margin-bottom: 1.25rem; padding: 0 1.25rem; background-color: var(--navbar-bg); background-image: linear-gradient(to bottom, white, var(--navbar-bg-highlight)); border: 1px solid var(--navbar-border); border-radius: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); } .navbar .nav-group { display: flex; align-items: center; } .navbar .nav-menu { display: flex; align-items: center; li { display: inline-flex; margin-right: 1rem; } li.active { background-image: linear-gradient(to bottom, var(--navbar-bg-active-top), var(--navbar-bg-active-highlight)); color: var(--navbar-link-active); } } .navbar .brand { display: block; font-size: 20px; font-weight: 200; color: var(--navbar-brand-color); margin-right: 1.25rem; text-shadow: 0 1px 0 white; &:hover, &:focus { text-decoration: none; } }