generated from nhcarrigan/template
6e8c048e25
Node.js CI / Lint and Test (push) Successful in 57s
### Explanation This creates an interactive product directory to help potential consumers discover our works. ### Issue _No response_ ### Attestations - [x] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/) - [x] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/). - [x] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/). ### Dependencies - [x] I have pinned the dependencies to a specific patch version. ### Style - [x] I have run the linter and resolved any errors. - [x] My pull request uses an appropriate title, matching the conventional commit standards. - [x] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request. ### Tests - [ ] My contribution adds new code, and I have added tests to cover it. - [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes. - [ ] All new and existing tests pass locally with my changes. - [ ] Code coverage remains at or above the configured threshold. ### Documentation _No response_ ### Versioning _No response_ Reviewed-on: #2 Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com> Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
66 lines
1.1 KiB
CSS
66 lines
1.1 KiB
CSS
nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 40px;
|
|
color: var(--foreground);
|
|
background-color: var(--background);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
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(--foreground);
|
|
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(--foreground);
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#logo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: url('https://cdn.nhcarrigan.com/cursors/pointer.cur'), pointer;
|
|
text-decoration: none;
|
|
font-size: 2rem;
|
|
}
|