added a cool animation, to be improved

This commit is contained in:
Midou36O 2022-04-22 19:01:43 +00:00
commit f356541fe5
Signed by untrusted user: midou
GPG Key ID: 08063D5407090BC2
2 changed files with 91 additions and 85 deletions

View File

@ -32,22 +32,27 @@ a.visited {
} }
.button { .button {
background-color: #3db686; background-color: #00755e; /* Green */
border: none; border: none;
color: white; color: white;
padding: 1% 1%; padding: 16px 32px;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
display: inline-block; display: inline-block;
font-size: 16px; font-size: 16px;
margin: 4px 2px; margin: 4px 2px;
border-radius: 16px;
transition-duration: 0.4s; transition-duration: 0.4s;
cursor: pointer; cursor: pointer;
} }
.button:hover { .button:hover {
background-color: #101010; background-color: #00d4aa;
color: #3db686; color: black;
border: #3db686; transform: translateY(-0.25em);
}
.button:active {
background-color: #4beacb;
} }
.ResponsiveImage { .ResponsiveImage {

View File

@ -1,4 +1,3 @@
<script lang="ts"> <script lang="ts">
import css from "../assets/animation.css"; import css from "../assets/animation.css";
import ProjectSegfaultLogo from "../assets/images/projectsegfault1.png"; import ProjectSegfaultLogo from "../assets/images/projectsegfault1.png";
@ -16,9 +15,7 @@
<a href="/minecraft" class="button">Minecraft</a> <a href="/minecraft" class="button">Minecraft</a>
<a href="/contact" class="button">Contact</a> <a href="/contact" class="button">Contact</a>
</section>
<a href="/faq" class="button">FAQ</a>
</section>
</header> </header>
@ -33,15 +30,16 @@
} }
#ProjectSegfaultLogoHeader { #ProjectSegfaultLogoHeader {
/*Here goes anything to do with the header logo*/ /*Here goes anything to do with the header logo*/
border-radius: 5px; border-radius: 16px;
width: 32px; width: 32px;
vertical-align: middle; vertical-align: middle;
display: inline-block; display: inline-block;
} }
.center { .center {
text-align: center; text-align: center;
} }
<<<<<<< HEAD
.button { .button {
background-color: #00755e; /* Green */ background-color: #00755e; /* Green */
border: none; border: none;
@ -75,3 +73,6 @@
animation: text-flicker-in-glow 900ms both; animation: text-flicker-in-glow 900ms both;
} }
</style> </style>
=======
</style>
>>>>>>> 6b6ede9b9439d9c99cdadfc28641f5c33151e600