-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
50 lines (43 loc) · 869 Bytes
/
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
<template>
<NuxtLayout>
<NuxtPage>
<slot />
</NuxtPage>
</NuxtLayout>
</template>
<style>
@font-face {
font-family: "DM-Bold";
src: url("./assets/DMSans-Bold.ttf") format("truetype"),
url("./assets/DMSans-Bold.woff") format("woff");
font-display: swap;
}
@font-face {
font-family: "DM-Regular";
src: url("./assets/DMSans-Regular.ttf") format("truetype"),
url("./assets/DMSans-Regular.woff") format("woff") ;
font-display: swap;
}
body {
@apply font-body bg-bg text-white text-base;
}
p {
@apply py-2;
}
h1 {
@apply text-4xl lg:text-6xl font-bold;
}
/* transitions */
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.5s;
}
.fade-enter-from,
.fade-leave-to {
opacity: 0;
}
.fade-enter-active .site-header, .fade-leave-active .site-header {
transition: opacity 0.3s;
transition-delay: .6s;
}
</style>