-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
95 lines (81 loc) · 1.24 KB
/
app.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<template>
<NuxtPage />
<Blur />
<NuxtParticles
id="tsparticles"
url="/particles.json"
v-if="SNOW"
></NuxtParticles>
</template>
<script lang="ts" setup>
const SNOW = new Date().getMonth() === 11;
onMounted(() => {
document.documentElement.style.filter = "blur(0px)";
});
</script>
<style lang="scss">
@import url("~/assets/fonts/inriaserif.scss");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-weight: 300;
-ms-overflow-style: none;
scrollbar-width: none;
}
b {
font-weight: 700;
}
i {
font-style: italic;
}
html,
body,
#__nuxt {
width: 100%;
height: 100%;
font-family: "Inria Serif", sans-serif;
overflow-x: hidden;
background: #e8dfd7;
cursor: url("~/assets/cursor.png"), auto;
}
a, .pointer {
cursor: url("~/assets/cursor_pointer.png"), auto;
}
p,
b,
span,
h1,
h2,
h3,
h4,
h5,
h6,
label,
input,
textarea,
select,
button,
li {
cursor: url("~/assets/cursor_text.png") 0 15, auto;
}
html {
filter: blur(10px);
transition: filter 0.5s ease-in-out;
}
::-webkit-scrollbar {
width: 0px;
}
.page-enter-active,
.page-leave-active {
transition: all 0.2s ease-in-out;
}
.page-enter-from {
filter: blur(5px);
opacity: 0;
}
.page-leave-to {
filter: blur(5px);
opacity: 0;
}
</style>