I prefer rounded corners.

Signed-off-by: Odyssey346 <odyssey346@disroot.org>
This commit is contained in:
Odyssey346 2022-04-21 15:37:01 +02:00
parent b03e25b001
commit 6b6ede9b94
2 changed files with 88 additions and 111 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 ProjectSegfaultLogo from "../assets/images/projectsegfault1.png"; import ProjectSegfaultLogo from "../assets/images/projectsegfault1.png";
</script> </script>
@ -16,8 +15,6 @@
<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>
<a href="/faq" class="button">FAQ</a>
</section> </section>
</header> </header>
@ -31,7 +28,7 @@
} }
#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;
@ -40,29 +37,4 @@
text-align: center; text-align: center;
} }
.button {
background-color: #00755e; /* Green */
border: none;
color: white;
padding: 16px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
border-radius: 10px;
transition-duration: 0.4s;
cursor: pointer;
}
.button:hover {
background-color: #00d4aa;
color: black;
border-radius: 2px;
transform: translateY(-0.25em);
box-shadow: 0 0.5em 0.5em -0.4em #00755e;
}
.button:active {
background-color: #4beacb;
box-shadow: 0 0.51em 0.51em 0.4em #00b591;
}
</style> </style>