fix colors

This commit is contained in:
Daniel Bulant 2022-11-19 16:58:10 +01:00
parent 34acfec281
commit 041c4e32ce

View file

@ -38,9 +38,9 @@
<main class:dark={$darkmode}>
<Hero {appTypeHover}>
<h1 class="font-bold">I'm a young developer making <u on:mouseenter={() => appTypeHover = "websites"} on:mouseleave={() => appTypeHover == "websites" && (appTypeHover = null)}>websites</u>,
<u on:mouseenter={() => appTypeHover = "applications"} on:mouseleave={() => appTypeHover == "applications" && (appTypeHover = null)}>applications</u> and
<u on:mouseenter={() => appTypeHover = "bots"} on:mouseleave={() => appTypeHover == "bots" && (appTypeHover = null)}>discord bots</u>.</h1>
<h1 class="font-bold">I'm making <b on:mouseenter={() => appTypeHover = "websites"} on:mouseleave={() => appTypeHover == "websites" && (appTypeHover = null)}>websites</b>,
<b on:mouseenter={() => appTypeHover = "applications"} on:mouseleave={() => appTypeHover == "applications" && (appTypeHover = null)}>applications</b> and
<b on:mouseenter={() => appTypeHover = "bots"} on:mouseleave={() => appTypeHover == "bots" && (appTypeHover = null)}>discord bots</b>.</h1>
<!-- <h3>To be used later</h3> -->
<Button href="#projects">Check out my work</Button>
</Hero>
@ -333,6 +333,9 @@
transition: transform .3s, color .2s;
}
.also li:hover {
color: black;
}
.dark .also li:hover {
color: white;
}
.also li:active {