-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
294 lines (254 loc) · 5.69 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
<template>
<div id="app">
<Head>
<Title>호토라즈</Title>
<Meta name="description" content="호토라즈" />
<link rel="stylesheet" href="https://cdn.hugeicons.com/font/hgi-stroke-rounded.css">
<meta property="og:title" content="호토라즈의 홈페이지" />
<meta property="og:description" content="호토라즈의 홈페이지" />
<meta property="og:image" content="/logo.png" />
</Head>
<NuxtLayout>
<div id="top-menu">
<div class="logo-menu">
<div class="logo-item">
<a href="https://www.hotoras.kr">
<img src="/logo.png">
</a>
</div>
</div>
<div class="mid-menu">
<div class="menu-item">
<a href="https://blog.hotoras.kr" title="호토라즈의 블로그">
<i class="hgi-stroke hgi-pencil"></i>
<span class="fullname"> 블로그</span>
</a>
</div>
<div class="menu-item">
<a href="https://www.hotoras.kr" title="홈페이지">
<i class="hgi-stroke hgi-doc-01"></i>
<span class="fullname"> 홈페이지</span>
</a>
</div>
<div class="menu-item">
<a href="https://archive.hotoras.kr" title="홈페이지 아카이브입니당!">
<i class="hgi-stroke hgi-archive-02"></i>
<span class="fullname"> 아카이브</span>
</a>
</div>
<div class="menu-item">
<a href="https://nekoplanet.xyz/@ras" title="연합우주: @[email protected]">
<i class="hgi-stroke hgi-bubble-chat-user"></i>
<span class="fullname"> 고양이별</span>
</a>
</div>
<div class="menu-item">
<a href="https://github.com/HotoRas" title="GitHub로 바로가기">
<i class="hgi-stroke hgi-github"></i>
<span class="fullname"> 깃허브</span>
</a>
</div>
</div>
</div>
<NuxtPage />
</NuxtLayout>
</div>
</template>
<script>
export default {
mounted() {
}
}
</script>
<style>
/*basic settings*/
@import url('https://fastly.jsdelivr.net/npm/galmuri@latest/dist/galmuri.css');
@font-face {
font-family: 'Pretendard';
src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Pretendard';
src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Bold.woff') format('woff');
font-weight: 700;
font-style: normal;
}
:root {
--accent: rgb(249, 165, 183);
--accent-light: #ffddcc;
--fg: #262629;
--border: #d7d7de;
--border-dark: #48484c;
--bg: #f8f8fb;
}
div {
box-sizing: border-box;
}
a {
color: var(--accent);
text-decoration: none;
}
body {
font-family: 'Pretendard';
background-color: var(--bg);
color: var(--fg);
overscroll-behavior-x: none;
font-size: 14px;
line-height: 1.6;
}
.post-content>h1,
.post-content>h2 {
border-bottom: 1px solid var(--border);
padding-bottom: 0.2rem;
}
img {
width: 100%;
border-radius: 10px;
}
/*navbar*/
.menu_toolbar {
display: none;
}
#top-menu {
box-sizing: border-box;
width: 100vw;
height: 3em;
display: flex;
background: var(--accent);
position: fixed;
z-index: 9999999;
top: 0;
left: 0;
padding: 0 1em;
color: #fff;
align-items: center;
justify-content: space-between;
overflow: hidden;
box-shadow: 5px 5px 5px #00000011;
}
#top-menu img {
height: 3em;
width: 3em;
}
.mid-menu {
height: 3em;
display: flex;
}
.logo-item {
height: 3em;
}
.logo-item:hover {
opacity: 0.6;
}
.menu-item {
height: 3em;
padding: 0.25em 1em;
}
.menu-item>a {
color: #fff;
display: flex;
gap: 5px;
align-items: center;
height: 2.5em;
}
.menu-item i {
font-size: 1.5em;
}
.menu-item .fullname {
display: none;
}
.menu-item:hover {
background: #ffddcc;
}
.menu-item:hover .fullname {
display: inline;
}
#container {
width: calc(100vw - 20px);
max-width: 800px;
margin: 100px auto 100px auto;
display: flex;
flex-direction: column;
gap: 20px;
}
.box-cont {
width: 100%;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
background-color: white;
overflow: hidden;
display: flex;
flex-direction: column;
gap: 10px;
padding: 10px;
font-size: 16px;
}
.box-cont-grid {
width: 100%;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
background-color: white;
overflow: hidden;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
padding: 10px;
font-size: 16px;
}
.box-cont-grid img {
width: 100% !important;
max-width: unset !important;
aspect-ratio: 1 / 1 !important;
object-fit: cover;
object-position: center;
}
/*categorylist*/
.category-list {
border-radius: 10px;
background-color: var(--accent);
padding: 0 4px;
font-size: 16px;
}
.category-list a {
color: #fff !important;
}
/*postlist*/
a.post-list {
color: inherit !important;
width: 100%;
display: flex;
}
.post-list img {
max-width: 200px;
width: 40vw;
height: 100%;
object-fit: cover;
object-position: center;
border-radius: 10px;
}
.post-list .box-cont {
flex-direction: row !important;
justify-content: space-between;
}
/*post*/
#post-header {
display: flex;
flex-direction: column;
align-items: center;
}
.post-content table,
.post-content th,
.post-content td {
border: 1px solid var(--border-dark);
border-collapse: collapse;
padding: 1px 5px;
}
.post-content td.app-semititle {
border-bottom: 1px solid var(--accent);
}
.post-content th {
border-bottom: 2px solid var(--accent);
}
</style>