forked from ProjectSegfault/website
added a cool animation, to be improved
This commit is contained in:
commit
f356541fe5
@ -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 {
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user