Push fonts branch to latest main commit #5

Merged
sangelo merged 28 commits from main into fonts 2023-06-10 11:46:47 +00:00
Showing only changes of commit 084805fa61 - Show all commits

View file

@ -15,6 +15,9 @@
<li>
<a href="/" class="contrast {$page.url.pathname === '/' ? 'current-page' : undefined}">Home</a>
</li>
<li>
<a href="/modlist" class="contrast {$page.url.pathname === '/modlist' ? 'current-page' : undefined}">Modlist</a>
</li>
<li>
<a href="/downloads" class="contrast {$page.url.pathname === '/downloads' ? 'current-page' : undefined}">Download</a>
</li>
@ -29,6 +32,7 @@
</div>
<hr class="separator" />
<style>
.header {
display: flex;
@ -106,19 +110,45 @@
font-weight: 600;
}
.navigation-bar a.current-page::after {
content: "";
display: block;
width: 20px;
height: 4px;
background-color: #000;
border-radius: 2px;
margin-top: 4px;
margin-left: auto;
margin-right: auto;
}
[data-theme="dark"] .navigation-bar a.current-page {
font-weight: 500;
}
.navigation-bar a:hover {
font-style: italic;
font-weight: 300;
[data-theme="dark"] .navigation-bar a.current-page::after {
content: "";
display: block;
width: 20px;
height: 4px;
background-color: #fff;
border-radius: 2px;
margin-top: 4px;
margin-left: auto;
margin-right: auto;
}
[data-theme="dark"] .navigation-bar a:hover {
/* .navigation-bar a:hover {
font-style: italic;
font-weight: 300;
} */
/* [data-theme="dark"] .navigation-bar a:hover {
font-style: italic;
font-weight: 200;
}
} */
.link {
text-decoration: none;