-
Notifications
You must be signed in to change notification settings - Fork 3
/
app.vue
101 lines (88 loc) · 2.31 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
<template>
<div class="flex flex-col min-h-screen">
<SiteHeader/>
<NuxtLayout class="grow">
<main class="mx-auto max-w-7xl px-2 sm:px-6 lg:px-8 items-start w-full">
<NuxtPage/>
</main>
</NuxtLayout>
<SiteFooter/>
</div>
</template>
<style>
body {
background-color: #fafafa;
}
/* Transparent Backgrounds */
.transparent-bg {
background: rgba(255, 255, 255, 0.35);
border-radius: 5px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.25);
}
.transparent-bg-dark {
background: rgba(255, 255, 255, 0.85);
border-radius: 5px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.25);
}
.transparent-bg-gray {
background: rgba(255, 255, 255, 0.6);
border-radius: 5px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.25);
}
/* Dark Mode Backgrounds */
.dark-mode .transparent-bg {
background: rgba(0, 0, 0, 0.6);
border-radius: 5px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.25);
}
.dark-mode .transparent-bg-dark {
background: rgba(0, 0, 0, 0.95);
border-radius: 5px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.25);
}
.dark-mode .transparent-bg-gray {
background: rgba(0, 0, 0, 0.8);
border-radius: 5px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.25);
}
/* 1px Borders */
.border-1 {
border-width: 1px;
}
.border-t-1 {
border-top-width: 1px;
}
.border-b-1 {
border-bottom-width: 1px;
}
/* Slug pages heading rule & list icons */
.prose :where(hr):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
border-color: #bdbdbd;
}
.prose :where(ul > li):not(:where([class~="not-prose"], [class~="not-prose"] *))::marker {
color: #000
}
@media screen and (min-width: 640px) {
.nav-border-thin {
border-width: 1px;
}
}
</style>