Revamped project card.

This commit is contained in:
Adrian Victor 2024-04-04 21:40:00 -03:00
commit 23460dc3d7
3 changed files with 16 additions and 13 deletions

BIN
assets/img/haruma.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -116,19 +116,23 @@ main {
animation-fill-mode: forwards; animation-fill-mode: forwards;
} }
.bnwOnHover:hover {
transition-duration: .4s;
filter: grayscale(100%);
}
.menuEntry { .menuEntry {
display: inline-block;
width: 200;
margin-bottom: 10px; margin-bottom: 10px;
margin-top: 10px; margin-top: 10px;
gap: 10px;
}
.menuEntry > img {
background-color: black;
} }
.menuEntry:hover { .menuEntry:hover {
transition-duration: 0.4s; animation: alternate .4s fly;
background-color: #070707; animation-fill-mode: forwards;
background-color: #171717;
gap: 4px;
} }
.menuEntryColor { .menuEntryColor {
@ -140,8 +144,8 @@ main {
} }
.menuEntry:hover > img { .menuEntry:hover > img {
animation: alternate .4s fly; filter: grayscale(100%) invert();
animation-fill-mode: forwards; border-color: gray;
} }

View file

@ -16,12 +16,11 @@
<main class="flex flex-column"> <main class="flex flex-column">
<h1>Home</h1> <h1>Home</h1>
<a class="menuEntryColor" href="https://github.com/adrianvic/haruma"> <a class="menuEntryColor" href="https://github.com/adrianvic/haruma">
<div class="flex flex-row box bnwOnHover menuEntry"> <div class="flex flex-column box menuEntry flyOnHover">
<img class="thumbnail" src="./assets/img/HarumaThumbnail.png" width="500"> <img class="thumbnail" src="./assets/img/haruma.png" width="200">
<div class="flex flex-column"> <div class="flex flex-column">
<h2 class="noMargin">Haruma</h2> <h2 class="noMargin">Haruma</h2>
<p class="lightColor">Project</p> <p class="lightColor noMargin">A Discord bot.</p>
<p class="noMargin">Haruma is a Discord bot to help you with mod, roleplay and getting lyrics from Genius.</p>
</div> </div>
</div> </div>
</a> </a>