@@ -11,8 +11,8 @@
|
|||||||
:root {
|
:root {
|
||||||
--background-color: rgba(10,10,10,1);
|
--background-color: rgba(10,10,10,1);
|
||||||
--color-primary: rgb(250, 250, 250);
|
--color-primary: rgb(250, 250, 250);
|
||||||
--color-a-primary: rgb(142, 234, 252);
|
--color-a-primary: rgb(221, 221, 221);
|
||||||
--color-a-visited: rgb(252, 142, 250);
|
--color-a-visited: rgb(142, 142, 142);
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
body {
|
body {
|
||||||
background-color: var(--background-color);
|
background-color: var(--background-color);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
font-family: Perpetua Regular;
|
font-family: Perpetua Regular;
|
||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
cursor: url('/skonk/cursor.png');
|
cursor: url('/skonk/cursor.png');
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Footer from "./components/Footer.vue";
|
import Footer from "./components/BottomFleur.vue/index.js";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<footer>
|
|
||||||
<img :src="'skonk/board/bottom/Quest_Board_bottom_fleur0005.png'" style="width: 100%;">
|
<img :src="'skonk/board/bottom/Quest_Board_bottom_fleur0005.png'" style="width: 100%;">
|
||||||
</footer>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -9,14 +7,10 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
footer {
|
img {
|
||||||
position: fixed;
|
z-index: 100;
|
||||||
width: 100%;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: 300;
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: var(--background-color);
|
background: var(--background-color);
|
||||||
background: linear-gradient(0deg, var(--background-color) 0%, var(--background-color) 80%, rgba(255, 255, 255, 0) 100%);
|
background: linear-gradient(0deg, var(--background-color) 0%, var(--background-color) 80%, rgba(255, 255, 255, 0) 100%);
|
||||||
padding: 10px;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
<template>
|
||||||
|
<div class="header-main">
|
||||||
|
<a href="/">Home</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<img :src="'/skonk/divider.png'" style="width: 90%; margin: auto;">
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.header-main {
|
||||||
|
height: auto;
|
||||||
|
width: 100%;
|
||||||
|
background-color: var(--background-color);
|
||||||
|
padding: 10px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
font-size: 2vh;
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -13,14 +13,13 @@
|
|||||||
84% {background-image: url(/skonk/board/top/Quest_Board_top_fleur0005.png);}
|
84% {background-image: url(/skonk/board/top/Quest_Board_top_fleur0005.png);}
|
||||||
100% {background-image: url(/skonk/board/top/Quest_Board_top_fleur0006.png);}
|
100% {background-image: url(/skonk/board/top/Quest_Board_top_fleur0006.png);}
|
||||||
}
|
}
|
||||||
.animate {
|
div {
|
||||||
animation-duration: 600ms;
|
|
||||||
mask-repeat: no-repeat;
|
|
||||||
animation-name: fleur;
|
|
||||||
height: 100px;
|
|
||||||
}
|
|
||||||
.image {
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
background: var(--background-color);
|
||||||
|
z-index: 100;
|
||||||
|
background: linear-gradient(180deg, var(--background-color) 0%, var(--background-color) 80%, rgba(255, 255, 255, 0) 100%);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -86,7 +86,10 @@ img.cursor{
|
|||||||
.opposite-corner {
|
.opposite-corner {
|
||||||
rotate: 180deg;
|
rotate: 180deg;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
bottom: 10px;
|
bottom: 0px;
|
||||||
|
}
|
||||||
|
.large-container:hover {
|
||||||
|
scale: 1.01;
|
||||||
}
|
}
|
||||||
.cursor {
|
.cursor {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -4,7 +4,8 @@ import {ref, onMounted} from 'vue';
|
|||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import TopFleur from '../components/TopFleur.vue';
|
import TopFleur from '../components/TopFleur.vue';
|
||||||
import WishPanel from '../components/WishPanel.vue';
|
import WishPanel from '../components/WishPanel.vue';
|
||||||
import Footer from '../components/Footer.vue';
|
import BottomFleur from '../components/BottomFleur.vue';
|
||||||
|
import Header from '../components/Header.vue';
|
||||||
|
|
||||||
let interval;
|
let interval;
|
||||||
|
|
||||||
@@ -32,11 +33,44 @@ onMounted(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<body>
|
<body>
|
||||||
|
<Header></Header>
|
||||||
<TopFleur/>
|
<TopFleur/>
|
||||||
<template v-for="(wish, i) in wishes">
|
<div class="wrapper">
|
||||||
<Wish :wish="wish" :selected="selected==i" :index="i" @selectedWish="selectedWish" v-if="selected == i || selected == -1"/>
|
<Transition>
|
||||||
<WishPanel :wish="wish" v-if="selected == i" @closeWish="selected = -1"></WishPanel>
|
<div v-if="selected==-1">
|
||||||
</template>
|
<template v-for="(wish, i) in wishes">
|
||||||
<Footer/>
|
<Wish :wish="wish" :selected="false" :index="i" @selectedWish="selectedWish"/>
|
||||||
|
</template>
|
||||||
|
</div>
|
||||||
|
</Transition>
|
||||||
|
<Transition>
|
||||||
|
<div v-if="selected!=-1">
|
||||||
|
<Wish :wish="wishes[selected]" selected :index="selected" @selectedWish="selectedWish"/>
|
||||||
|
<WishPanel :wish="wishes[selected]" @closeWish="selected = -1"></WishPanel>
|
||||||
|
</div>
|
||||||
|
</Transition>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="push"></div>
|
||||||
|
<BottomFleur/>
|
||||||
</body>
|
</body>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.wrapper {
|
||||||
|
min-height: 100%;
|
||||||
|
margin-bottom: -50px;
|
||||||
|
}
|
||||||
|
.push{
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
.v-enter-active,
|
||||||
|
.v-leave-active {
|
||||||
|
transition: opacity 0.5s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-enter-from,
|
||||||
|
.v-leave-to {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user