-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
123 lines (90 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
<template>
<div id="app" class="page-bg">
<!-- Navbar -->
<Navbar id="navbar" />
<div id="page-container" class="flex flex-col min-h-screen ">
<div id="content-wrap" class="flex-grow">
<!-- Rest of Page -->
<NuxtPage class="transition-container" />
</div>
</div>
<!-- Footer -->
<Footer id="footer" />
</div>
</template>
<style>
/* Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;700&family=Rubik:ital,wght@0,400;0,500;0,800;1,400;1,500;1,800&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap'); */
/* GH FontAwesome Icon Import */
@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
/* KaTeX Import */
@import url("https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css");
#app {
position: relative;
min-height: 100vh;
}
#page-container {
position: relative;
min-height: calc(100vh - 3rem - 2.5rem);
}
#content-wrap {
padding-bottom: 1.5rem;
}
#navbar {
position: sticky;
top: 0;
z-index: 10;
width: 100%;
}
#footer {
position: absolute;
bottom: 0;
width: 100%;
height: 3.7rem; /* Footer height */
}
/* Scrollbars for everything but FireFox */
::-webkit-scrollbar-track:hover {
background: transparent;
}
::-webkit-scrollbar-track {
background: red;
}
/* Scrollbars for FireFox */
.scroller {
width: 100%;
height: 100px;
overflow-y: scroll;
scrollbar-color: rgb(255, 255, 255) transparent;
scrollbar-width: auto;
}
/* ::-webkit-scrollbar {
background: transparent;
} */
/* #app-old { */
/* font-family: Avenir, Helvetica, Arial, sans-serif; */
/* font-family: Rubik, system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; */
/* scrollbar-color: #135aa1; */
/* margin-top: 60px; */
/* } */
</style>
<!-- <template>
<div class="app">
<Html lang="en" />
<Meta property="og:image" content="/cover.jpg" /> -->
<!-- <Meta name="twitter:card" content="summary_large_image" /> -->
<!-- <div id="content-wrap"> -->
<!-- <div class="flex flex-col min-h-screen bg-fixed bg-slate-900"> -->
<!-- Navbar -->
<!-- <Navbar id="navbar" class="fixed w-full top-0 transition duration-150 ease-in-out" /> -->
<!-- Rest of Page -->
<!-- <div class="min-h-screen bg-fixed bg-slate-900"> -->
<!-- <div class="scroller"/> -->
<!-- <NuxtPage class="mt-10 sm:mt-12 md:mt-16 lg:mt-24 transition-container flex-grow" />
<Footer class="bg-slate-900" id="footer" />
</div>
</div>
</template> -->