-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathapp.vue
97 lines (85 loc) · 1.76 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
96
97
<script lang="ts" setup>
import { initLocalDb } from './utils/localDb';
onBeforeMount(() => initLocalDb());
</script>
<template>
<NuxtLayout>
<NuxtLoadingIndicator />
<NuxtPage />
<NuxtErrorBoundary />
</NuxtLayout>
</template>
<style>
html {
-webkit-tap-highlight-color: transparent;
}
.swiper-button-prev,
.swiper-button-next {
width: 36px;
height: 36px;
border-radius: 99px;
display: flex;
align-items: center;
justify-content: center;
background-color: #10b981;
}
.swiper-button-prev::after,
.swiper-button-next::after {
color: #fff;
font-weight: bold;
font-size: 16px;
transition: color 0.05s linear;
}
/* Scrollbar */
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: transparent;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color: #888;
}
@media screen and (max-width: 576px) {
::-webkit-scrollbar {
width: 4px;
height: 4px;
background-color: transparent;
}
}
</style>
<style>
@font-face {
font-family: Nunito;
font-weight: 400;
src: url(@/assets/fonts/Nunito-Regular.ttf) format('truetype');
}
@font-face {
font-family: Nunito;
font-weight: 500;
src: url(@/assets/fonts/Nunito-Medium.ttf) format('truetype');
}
@font-face {
font-family: Nunito;
font-weight: 600;
src: url(@/assets/fonts/Nunito-SemiBold.ttf) format('truetype');
}
@font-face {
font-family: Nunito;
font-weight: 700;
src: url(@/assets/fonts/Nunito-Bold.ttf) format('truetype');
}
@font-face {
font-family: Nunito;
font-weight: 800;
src: url(@/assets/fonts/Nunito-ExtraBold.ttf) format('truetype');
}
html {
font-family: Nunito, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
</style>