Skip to content

Commit c1fddae

Browse files
Merge pull request #66 from morrowind-modding/rework-navbar
Update: Make navbar look cleaner
2 parents d12d667 + 4104a37 commit c1fddae

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: quartz/components/LinksHeader.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface Options {
88
export default (() => {
99
function LinksHeader() {
1010
return (
11-
<div>
11+
<div id="links-header-container">
1212
<div id="links-header">
1313
<a href="/guides/">
1414
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-open-check"><path d="M8 3H2v15h7c1.7 0 3 1.3 3 3V7c0-2.2-1.8-4-4-4Z"/><path d="m16 12 2 2 4-4"/><path d="M22 6V3h-6c-2.2 0-4 1.8-4 4v14c0-1.7 1.3-3 3-3h7v-2.3"/></svg>
@@ -31,6 +31,7 @@ export default (() => {
3131
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-shield-alert"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"/><path d="M12 8v4"/><path d="M12 16h.01"/></svg>
3232
Contributing</a>
3333
</div>
34+
<hr></hr>
3435
</div>
3536
)
3637
}

Diff for: quartz/components/styles/linksHeader.scss

+5-6
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,17 @@ header {
1313
height: 1em;
1414
margin: 0 0.3em 0 0;
1515
vertical-align: middle;
16-
color: var(--dark);
1716
}
1817

1918
a {
2019
display: inline-block;
21-
color: var(--dark);
2220
padding: 10px 15px;
23-
background-color: #8f9fa926;
2421
}
25-
26-
a:hover{
27-
background-color: #8f9fa93d;
22+
}
23+
24+
#links-header-container {
25+
hr {
26+
margin: 1rem;
2827
}
2928
}
3029

0 commit comments

Comments
 (0)