Merge pull request 'Fix link colors & add text cursor' (#1) from dev into main

Reviewed-on: https://gitpot.dev/sangelo/explorecraft-testing/pulls/1
This commit is contained in:
Sangelo 2023-06-06 08:57:00 +02:00
commit d61a05c0de
2 changed files with 8 additions and 4 deletions

View file

@ -47,3 +47,7 @@ body {
--switch-color: var(--primary-inverse); --switch-color: var(--primary-inverse);
--switch-checked-background-color: var(--primary); --switch-checked-background-color: var(--primary);
} }
p {
cursor: text;
}

View file

@ -6,7 +6,7 @@
</script> </script>
<div class="header-container"> <div class="header-container">
<a class="link" href="/"> <a class="link contrast" href="/">
<div class="header"> <div class="header">
<img class="logo" src="{logo}" alt="ExploreCraft Logo" /> <img class="logo" src="{logo}" alt="ExploreCraft Logo" />
<div>ExploreCraft</div> <div>ExploreCraft</div>
@ -15,13 +15,13 @@
<nav id="navigation-bar"> <nav id="navigation-bar">
<ul> <ul>
<li aria-current={$page.url.pathname === '/' ? 'page' : undefined}> <li aria-current={$page.url.pathname === '/' ? 'page' : undefined}>
<a href="/">Home</a> <a href="/" class="contrast">Home</a>
</li> </li>
<li aria-current={$page.url.pathname === '/download' ? 'page' : undefined}> <li aria-current={$page.url.pathname === '/download' ? 'page' : undefined}>
<a href="/download">Download</a> <a href="/download" class="contrast">Download</a>
</li> </li>
<li aria-current={$page.url.pathname.startsWith('/gallery') ? 'page' : undefined}> <li aria-current={$page.url.pathname.startsWith('/gallery') ? 'page' : undefined}>
<a href="/gallery">Gallery</a> <a href="/gallery" class="contrast">Gallery</a>
</li> </li>
<li> <li>
<Switcher/> <Switcher/>