generated from room302studio/nuxt-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
158 lines (128 loc) · 2.7 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<template>
<div>
<NuxtPage />
</div>
</template>
<script setup>
import { enableToast } from '~/plugins/toast'
const { $toast } = useNuxtApp()
onMounted(() => {
enableToast()
// let hello = $toast.success('Hello World')
// force dismiss hello
// hello.dismiss()
})
</script>
<style>
.active {
background-color: #8054FF;
color: white;
font-weight: 700;
}
/* use Figtree font for everything */
body {
font-family: 'Figtree', sans-serif;
font-size: 24px;
}
/* create a very beautiful subtle animation background gradient that slowly changes over time, reminiscent of ocean waves */
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
/* rotate: 18deg; */
}
100% {
background-position: 0% 50%;
}
}
@keyframes gradient2 {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
rotate: -32deg;
}
100% {
background-position: 0% 50%;
}
}
/* r1 */
/* body {
background: linear-gradient(180deg, #020E18 0%, #006794 100%);
} */
/* r2 */
/* body {
background: linear-gradient(180deg, #020E18 0%, #033862 25%, #0365a9 50%, #0484d1 75%, #006794 100%);
} */
/* figma */
body {
background: linear-gradient(180deg, #020E18 0%, #006794 100%);
}
/* #bg-gradient {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background: linear-gradient(270deg, #00dbde, #fff, #00dbde, #fff);
background-size: 900% 900%;
animation: gradient 30s linear infinite;
mix-blend-mode: multiply;
}
#bg-gradient-2 {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -2;
background: linear-gradient(270deg, #0082de, #fff, #00dbde, #fff5cb);
background-size: 400% 400%;
animation: gradient2 60s linear infinite;
mix-blend-mode: multiply;
} */
/* tachyon color overrides based on figma */
.light-blue {
color: #99CDFF
}
.teal {
color: #5CF3E1;
}
.extra-dark-blue-bg {
background-color: #011129;
}
.extra-dark-blue {
color: #011129;
}
/* give links a background color of #8054FF, remove underline, make text white, and round corners */
/* a {
background-color: #443fe5;
color: white;
text-decoration: none;
border-radius: 4px;
} */
a {
/* color: #8054FF; */
color: white;
}
/* links with an image inside them should not have a background color */
/* a img {
background-color: transparent !important;
} */
/* that doesn't work because we need to set the transparent on the a tag, not the img tag */
/* instead, we'll just set the background color to white */
ul li {
margin-top: 1.25rem;
}
.bg-transparent-white {
background-color: #99CDFF1A;
}
.bg-transparent-black {
background-color: #0000001A;
}
</style>