Added buttons to login screen
Adjusted styling
This commit is contained in:
parent
b5de0dbe64
commit
ea6167fcbb
BIN
public/assets/Button_1.png
Normal file
BIN
public/assets/Button_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
BIN
public/assets/Button_2.png
Normal file
BIN
public/assets/Button_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
BIN
public/assets/Button_3.png
Normal file
BIN
public/assets/Button_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
public/assets/Button_4.png
Normal file
BIN
public/assets/Button_4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<Game />
|
||||
<Login />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
@ -1,3 +1,8 @@
|
||||
@font-face {
|
||||
font-family: GentiumPlus;
|
||||
src: url('@/assets/fonts/Gentium_plus.ttf');
|
||||
}
|
||||
|
||||
body {
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
@ -5,6 +10,19 @@ body {
|
||||
background: black;
|
||||
}
|
||||
|
||||
p, a, li {
|
||||
font-family: Arial, sans-serif;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: GentiumPlus, serif;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
@ -3,6 +3,24 @@
|
||||
<img src="/assets/Leaf_BG_standalone.png" id="bg-img" alt="New Quest login background" />
|
||||
<div class="content-wrapper">
|
||||
<h1 class="main-title">NEW QUEST</h1>
|
||||
|
||||
<div class="row-buttons">
|
||||
<a class="button button-1" href="/">
|
||||
LOGIN
|
||||
</a>
|
||||
|
||||
<a class="button button-2" href="/">
|
||||
REGISTER
|
||||
</a>
|
||||
|
||||
<a class="button button-3" href="/">
|
||||
CREDITS
|
||||
</a>
|
||||
|
||||
<a class="button button-4" href="/">
|
||||
EXIT
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -22,7 +40,7 @@ onMounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
<style scoped lang="scss">
|
||||
#bg-img {
|
||||
height: 100vh;
|
||||
position: absolute;
|
||||
@ -38,21 +56,51 @@ onMounted(() => {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
|
||||
.row-buttons {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
position: absolute;
|
||||
bottom: 2.5rem;
|
||||
|
||||
.button {
|
||||
padding: 1.2rem 0;
|
||||
min-width: 8.2rem;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
|
||||
&.button-1 {
|
||||
background-image: url('/assets/Button_1.png');
|
||||
}
|
||||
&.button-2 {
|
||||
background-image: url('/assets/Button_2.png');
|
||||
}
|
||||
&.button-3 {
|
||||
background-image: url('/assets/Button_3.png');
|
||||
}
|
||||
&.button-4 {
|
||||
background-image: url('/assets/Button_4.png');
|
||||
}
|
||||
background-position: center;
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
|
||||
&:hover {
|
||||
filter: brightness(60%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-title {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
margin: auto 0;
|
||||
top: 40%;
|
||||
font-size: 3rem;
|
||||
color: #FFF;
|
||||
text-shadow: -1px -1px 0 gray, 1px -1px 0 gray, -1px 1px 0 gray, 1px 1px 0 gray;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: GentiumPlus;
|
||||
src: url('@/assets/fonts/Gentium_plus.ttf');
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: GentiumPlus, serif;
|
||||
}
|
||||
</style>
|
Loading…
x
Reference in New Issue
Block a user