Skip to content

Commit

Permalink
style update 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerban committed Dec 12, 2023
1 parent 837c59a commit 05610f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/_includes/slides/start.njk
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@
{% for key,value in packs %}
<a href="#{{key}}">
<div class="font-semi-bold hover:outline outline-2 outline-offset-4 bg-cover bg-center bg-blue-300 outline-yellow-500 shadow-blue-900 aspect-square
{% if loop.index < packs|length %}
{% if loop.index <= packs|length %}
hover:bg-[url({{ '../images/art/art'+key+'.png' | url }})]
hover:text-transparent
{% else %}
hover:bg-[url({{'../images/theme.jpg' | url }})]
hover:text-yellow-500
{% endif %}
Expand Down
4 changes: 4 additions & 0 deletions src/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,10 @@ video {
background-image: url(../images/theme.jpg);
}

.hover\:bg-\[url\(\.\.\/images\/art\/art13\.png\)\]:hover {
background-image: url(../images/art/art13.png);
}

.hover\:text-blue-200:hover {
--tw-text-opacity: 1;
color: rgb(191 219 254 / var(--tw-text-opacity));
Expand Down

0 comments on commit 05610f3

Please sign in to comment.