forked from noxious/client
cleaned css, added Mars' styling for login
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
<template>
|
||||
<audio ref="bgm" id="bgm" src="/assets/music/bgm.mp3" loop autoplay></audio>
|
||||
<img src="/assets/Leaf_BG_standalone.png" class="bg-img" alt="login bg" />
|
||||
<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>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@ -21,10 +24,36 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.bg-img {
|
||||
#bg-img {
|
||||
height: 100vh;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
z-index: -1;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
top: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
|
||||
.content-wrapper {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.main-title {
|
||||
text-align: center;
|
||||
margin: auto 0;
|
||||
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>
|
Reference in New Issue
Block a user