-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
64 lines (53 loc) · 956 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<template>
<div class="container mx-auto flex flex-col min-h-screen">
<Navbar />
<main class="flex-grow content">
<NuxtPage class="prose" />
</main>
<FooterSection />
</div>
</template>
<style type="text/css">
body {
@apply bg-gray-200;
}
/*.content Styles */
/* Global */
.content {
@apply px-4 pt-2 leading-relaxed justify-center text-justify text-lg;
}
/* Heading */
.content h1,
h2 {
@apply text-base font-semibold;
}
.content h1 {
@apply text-5xl mb-8;
}
.content h2 {
@apply text-2xl mb-6;
}
/* Links */
.content a {
@apply text-gray-800;
position: relative;
}
.content a:after {
@apply bg-gray-400 -z-1 absolute top-2/3 -bottom-0 right-0.5 -left-0.5;
content: "";
transition: top 200ms cubic-bezier(0, 0.8, 0.13, 1);
}
.content a:hover:after {
@apply top-0;
}
/* Paragraph */
.content p {
@apply mb-4 max-w-3xl;
}
/* screen md */
@screen md {
.content {
@apply px-2;
}
}
</style>