Skip to content

Commit

Permalink
tweak style of icon hover
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk committed Jun 27, 2024
1 parent d50eb6c commit 2afeb6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/Main.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@
<div class="flex items-center justify-between mx-4 mt-2 fixed right-0">
<div class="flex">
<a
class="px-1 py-1 mr-1 hover:bg-gray-100"
class="px-1 py-1 mr-1 icon-link"
href="https://github.com/kjk/tools.arslexis.io"
target="_blank"
rel="noreferrer"
>
<GitHub></GitHub>
</a>
<a
class="px-1 py-1 mr-2 hover:bg-gray-100"
class="px-1 py-1 mr-2 icon-link"
href="https://twitter.com/kjk"
target="_blank"
rel="noreferrer"
>
<Twitter></Twitter>
</a>
<a
class="mr-1 hover:bg-gray-100"
class="mr-1"
href="https://blog.kowalczyk.info"
target="_blank"
rel="noreferrer"
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,8 @@ body {
.gradient-bg-3 {
background: linear-gradient(to right, #d1e9ff, #a8d8ff);
}

.icon-link {
@apply hover:ring-blue-700 hover:ring-2 hover:rounded-lg;
/* @apply hover:bg-gray-100; */
}

0 comments on commit 2afeb6e

Please sign in to comment.