Commit
This commit is contained in:
parent
5fb34cb11b
commit
ad6613d898
3 changed files with 35 additions and 5 deletions
|
|
@ -130,19 +130,30 @@ main {
|
||||||
.menuEntryHelper {
|
.menuEntryHelper {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
|
background-color: black;
|
||||||
border: 2px solid white;
|
border: 2px solid white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menuEntryImage {
|
.menuEntryIlustration {
|
||||||
background-color: black;
|
background-color: black;
|
||||||
|
margin: auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menuEntryImage {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.menuEntrySVG {
|
||||||
|
width: 70%;
|
||||||
|
}
|
||||||
|
|
||||||
.menuEntry:hover {
|
.menuEntry:hover {
|
||||||
animation: alternate .4s fly;
|
animation: alternate .4s fly;
|
||||||
animation-fill-mode: forwards;
|
animation-fill-mode: forwards;
|
||||||
background-color: #171717;
|
background-color: #171717;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
|
filter: invert();
|
||||||
}
|
}
|
||||||
|
|
||||||
.menuEntryColor {
|
.menuEntryColor {
|
||||||
|
|
@ -154,11 +165,10 @@ main {
|
||||||
}
|
}
|
||||||
|
|
||||||
.menuEntry:hover img {
|
.menuEntry:hover img {
|
||||||
filter: grayscale(100%) invert();
|
filter: grayscale(100%);
|
||||||
border-color: gray;
|
border-color: gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Keyframes */
|
/* Keyframes */
|
||||||
@keyframes fly {
|
@keyframes fly {
|
||||||
0% {
|
0% {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 1.1 KiB |
16
index.html
16
index.html
|
|
@ -19,7 +19,21 @@
|
||||||
<a class="menuEntryColor" href="https://github.com/adrianvic/haruma">
|
<a class="menuEntryColor" href="https://github.com/adrianvic/haruma">
|
||||||
<div class="flex flex-column box menuEntry flyOnHover">
|
<div class="flex flex-column box menuEntry flyOnHover">
|
||||||
<div class="menuEntryHelper">
|
<div class="menuEntryHelper">
|
||||||
<img class="menuEntryImage" src="./assets/img/haruma.png">
|
<img class="menuEntryIlustration menuEntryImage" src="./assets/img/haruma.png">
|
||||||
|
</div>
|
||||||
|
<div class="flex flex-column">
|
||||||
|
<h2 class="noMargin">Haruma</h2>
|
||||||
|
<p class="lightColor noMargin">A Discord bot (and vampire).</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="projectsShowcase" class="flex flex-row">
|
||||||
|
<a class="menuEntryColor" href="https://github.com/adrianvic/haruma">
|
||||||
|
<div class="flex flex-column box menuEntry flyOnHover">
|
||||||
|
<div class="menuEntryHelper">
|
||||||
|
<img class="menuEntryIlustration menuEntrySVG" src="./assets/svg/malware.svg">
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-column">
|
<div class="flex flex-column">
|
||||||
<h2 class="noMargin">Haruma</h2>
|
<h2 class="noMargin">Haruma</h2>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue