[+] Add header to life
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="Life" v-if="posts.length !== 0">
|
<div id="Life" v-if="posts.length !== 0">
|
||||||
|
<div id="header">
|
||||||
|
<div>欢迎!</div>
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<PostView :p="p" v-for="p in posts" :key="p.id"/>
|
<PostView :p="p" v-for="p in posts" :key="p.id"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -74,6 +80,10 @@ export default class Blog extends Vue
|
|||||||
font-size: 0.8em
|
font-size: 0.8em
|
||||||
width: min(450px, 80vw)
|
width: min(450px, 80vw)
|
||||||
|
|
||||||
|
#header
|
||||||
|
color: $color-text-light
|
||||||
|
margin-bottom: 20px
|
||||||
|
|
||||||
// Phone layout
|
// Phone layout
|
||||||
@media screen and (max-width: 570px)
|
@media screen and (max-width: 570px)
|
||||||
#Life
|
#Life
|
||||||
|
|||||||
Reference in New Issue
Block a user