generated from nhcarrigan/template
ad6b0c6f5a
## Summary - Aligns the client with the NHCarrigan style guide (witch palette, Griffy/Kalam fonts, shared stylesheet) - Fixes sanctions page to sort by case number descending - Updates all Hikari image URLs to `cdn.nhcarrigan.com/hikari.png` - Adds Support link to nav (https://support.nhcarrigan.com) - Fixes Chat nav link to point to https://chat.nhcarrigan.com ✨ This issue was created with help from Hikari~ 🌸 Reviewed-on: #21 Co-authored-by: Hikari <hikari@nhcarrigan.com> Co-committed-by: Hikari <hikari@nhcarrigan.com>
67 lines
1.1 KiB
CSS
67 lines
1.1 KiB
CSS
nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 40px;
|
|
color: var(--foreground);
|
|
background-color: var(--background);
|
|
border-bottom: 1px solid var(--border);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
z-index: 100;
|
|
}
|
|
|
|
nav a:not(#logo) {
|
|
text-decoration: none;
|
|
padding: 0 15px;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
nav a:hover:not(#logo) {
|
|
text-decoration: underline;
|
|
color: var(--background);
|
|
background-color: var(--foreground);
|
|
}
|
|
|
|
img {
|
|
height: 30px;
|
|
width: auto;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
hr {
|
|
width: 100%;
|
|
border: none;
|
|
border-top: 1px solid var(--border);
|
|
margin: 0;
|
|
}
|
|
|
|
.dropdown {
|
|
display: none;
|
|
}
|
|
|
|
.dropdown.open {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 40px;
|
|
background-color: var(--background);
|
|
color: var(--foreground);
|
|
border: 1px solid var(--border);
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#logo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-decoration: none;
|
|
font-size: 2rem;
|
|
}
|