-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
103 lines (98 loc) · 1.72 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
<script setup>
useHead({
title: 'Nuxt 3 Bulma Blog Template',
link: [
{
rel: 'stylesheet',
href: 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'
},
{
rel: 'stylesheet',
href: 'https://cdnjs.cloudflare.com/ajax/libs/overlayscrollbars/1.9.1/css/OverlayScrollbars.min.css'
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css?family=Open+Sans'
},
{
rel: 'stylesheet',
href: 'https://unpkg.com/bulma@0.9.3/css/bulma.min.css'
}
]
})
</script>
<template>
<TheNavbar />
<div>
<NuxtPage />
</div>
</template>
<style>
html,
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
font-size: 14px;
background: #f0f2f4;
}
a {
color: #3e8ed0;
transition: color 0.3s ease;
}
a:hover {
color: #2d628f;
}
.navbar.is-white {
background: #f0f2f4;
}
.navbar-brand .brand-text {
font-size: 1.11rem;
font-weight: bold;
}
.articles {
margin: 5rem 0;
margin-top: -200px;
}
.articles .content p {
line-height: 1.9;
margin: 15px 0;
}
.author-image {
position: absolute;
top: -30px;
left: 50%;
width: 60px;
height: 60px;
margin-left: -30px;
border: 3px solid #ccc;
border-radius: 50%;
}
.media-center {
display: block;
margin-bottom: 1rem;
}
.article,
.promo-block {
margin-top: 6rem;
}
div.column.is-8:first-child {
padding-top: 0;
margin-top: 0;
}
.article-title {
font-size: 2rem;
font-weight: lighter;
line-height: 2;
}
.article-subtitle {
color: #909aa0;
margin-bottom: 3rem;
}
.article-body {
line-height: 1.4;
margin: 0 6rem;
}
.promo-block .container {
margin: 1rem 5rem;
}
</style>