Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
@@ -12,7 +12,7 @@
|
|||||||
--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(221, 221, 221);
|
--color-a-primary: rgb(221, 221, 221);
|
||||||
--color-a-visited: rgb(142, 142, 142);
|
--color-a-visited: rgb(221, 221, 221);
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@@ -44,7 +44,7 @@ body {
|
|||||||
height: 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'), auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<style scoped>
|
<style scoped>
|
||||||
img {
|
img {
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
padding: 0;
|
padding: 15px;
|
||||||
max-width: 553px;
|
max-width: 553px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
|||||||
@@ -1,9 +1,18 @@
|
|||||||
<template>
|
<script setup>
|
||||||
<div class="header-main">
|
import NavItem from './NavItem.vue';
|
||||||
<a href="/">Home</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<img :src="'/skonk/divider.png'" style="width: 90%; margin: auto;">
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="header-main">
|
||||||
|
<NavItem text_on_hover icon_before href="/" icon="/skonk/navigation/wish_icon.png">Wishes</NavItem>
|
||||||
|
<NavItem text_on_hover icon_before href="/auth/login" icon="/skonk/navigation/wish_icon.png" class="flex-end">asdfasdflik apsdjfp aspdoijf</NavItem>
|
||||||
|
<NavItem text_on_hover icon_before href="/auth/login" icon="/skonk/navigation/wish_icon.png" class="flex-end">Wishes</NavItem>
|
||||||
|
<NavItem text_on_hover icon_before href="/auth/login" icon="/skonk/navigation/wish_icon.png" class="flex-end">Wishes</NavItem>
|
||||||
|
<NavItem text_on_hover icon_before href="/auth/login" icon="/skonk/navigation/wish_icon.png" class="flex-end">Wishes</NavItem>
|
||||||
|
</div>
|
||||||
|
<img :src="'/skonk/divider.png'" style="width: 90%; height: 3px; margin: auto;">
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
@@ -12,10 +21,11 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: var(--background-color);
|
background-color: var(--background-color);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
margin-left: 15px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
a {
|
|
||||||
font-size: 2vh;
|
|
||||||
margin: 10px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
<script setup>
|
||||||
|
import {ref} from 'vue';
|
||||||
|
|
||||||
|
const props = defineProps({
|
||||||
|
href: {
|
||||||
|
type: String,
|
||||||
|
default: '/',
|
||||||
|
},
|
||||||
|
icon: String,
|
||||||
|
icon_before: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
text_on_hover: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
}
|
||||||
|
});
|
||||||
|
const hover = ref(0);
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="flex-container" @mouseover="hover = true" @mouseleave="hover = false">
|
||||||
|
<img :src="icon" v-if="icon_before && icon != null">
|
||||||
|
<a :href="href">
|
||||||
|
<div :hidden="text_on_hover && !hover">
|
||||||
|
<slot></slot>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
<img :src="icon" v-if="!icon_before && icon != null">
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.flex-container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
font-size: 2.5vh;
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
img {
|
||||||
|
display: inline-block;
|
||||||
|
height: 1.8em;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -55,7 +55,7 @@ function openWish() {
|
|||||||
<div class="large-text-title z-index-normal" :style="'color: hsl(' + wish.color + ', 20%, 50%);'">
|
<div class="large-text-title z-index-normal" :style="'color: hsl(' + wish.color + ', 20%, 50%);'">
|
||||||
Lorem Ipsum
|
Lorem Ipsum
|
||||||
</div>
|
</div>
|
||||||
<div class="z-index-normal" style="text-align: left;">
|
<div class="z-index-normal large-text-normal">
|
||||||
{{ wish.title }}
|
{{ wish.title }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -75,6 +75,10 @@ function openWish() {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
filter: opacity(20%);
|
filter: opacity(20%);
|
||||||
}
|
}
|
||||||
|
.large-text-normal {
|
||||||
|
text-align: left;
|
||||||
|
line-height: normal;
|
||||||
|
}
|
||||||
.z-index-normal {
|
.z-index-normal {
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
@@ -111,16 +115,16 @@ img.cursor{
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-size: 2.3vh;
|
font-size: 2.3vh;
|
||||||
margin-top: 15px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
.large-icon {
|
.large-icon {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
width: 100%;
|
||||||
max-height: 100%;
|
height: 100%;
|
||||||
width: auto;
|
margin-top: auto;
|
||||||
|
margin-bottom: auto;
|
||||||
|
|
||||||
margin: 10px;
|
|
||||||
}
|
}
|
||||||
.large-text {
|
.large-text {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -27,13 +27,12 @@ onMounted(() => {
|
|||||||
<p>
|
<p>
|
||||||
{{ wish.description }}
|
{{ wish.description }}
|
||||||
</p>
|
</p>
|
||||||
<br>
|
|
||||||
<div class="button-container">
|
<div class="button-container">
|
||||||
<SButton @click="emit('closeWish')">
|
<SButton @click="emit('closeWish')">
|
||||||
Promise
|
Promise
|
||||||
</SButton>
|
</SButton>
|
||||||
<SButton @click="emit('closeWish')">
|
<SButton @click="emit('closeWish')">
|
||||||
Back
|
Close
|
||||||
</SButton>
|
</SButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -95,11 +95,9 @@ onMounted(() => {
|
|||||||
.v-enter-active {
|
.v-enter-active {
|
||||||
transition: opacity 0.5s ease;
|
transition: opacity 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.v-enter-from {
|
.v-enter-from {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.desktop-container {
|
.desktop-container {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
|||||||
Reference in New Issue
Block a user