|
1 | 1 | <template> |
2 | 2 | <div id="base-list-layout"> |
3 | | - <div class="ui-post" v-for="page in pages"> |
4 | | - <div class="ui-post-title"> |
5 | | - <NavLink :link="page.path">{{ page.title }}</NavLink> |
6 | | - </div> |
7 | | - <div class="ui-post-summary"> |
8 | | - {{ page.frontmatter.summary || page.summary }} |
9 | | - <!-- <Content :page-key="page.key" slot-key="intro"/>--> |
10 | | - </div> |
11 | | - <div class="ui-post-author" v-if="page.frontmatter.author"> |
12 | | - <NavigationIcon/> |
13 | | - <span>{{ page.frontmatter.author }} in {{ page.frontmatter.location }}</span> |
14 | | - </div> |
15 | | - <div class="ui-post-date" v-if="page.frontmatter.date"> |
16 | | - <ClockIcon/> |
17 | | - <span>{{ new Date(page.frontmatter.date.trim()).toDateString() }}</span> |
| 3 | + <div class="ui-posts"> |
| 4 | + <div class="ui-post" v-for="page in pages"> |
| 5 | + <div class="ui-post-title"> |
| 6 | + <NavLink :link="page.path">{{ page.title }}</NavLink> |
| 7 | + </div> |
| 8 | + <div class="ui-post-summary"> |
| 9 | + {{ page.frontmatter.summary || page.summary }} |
| 10 | + <!-- <Content :page-key="page.key" slot-key="intro"/>--> |
| 11 | + </div> |
| 12 | + <div class="ui-post-author" v-if="page.frontmatter.author"> |
| 13 | + <NavigationIcon/> |
| 14 | + <span>{{ page.frontmatter.author }} in {{ page.frontmatter.location }}</span> |
| 15 | + </div> |
| 16 | + <div class="ui-post-date" v-if="page.frontmatter.date"> |
| 17 | + <ClockIcon/> |
| 18 | + <span>{{ new Date(page.frontmatter.date.trim()).toDateString() }}</span> |
| 19 | + </div> |
18 | 20 | </div> |
19 | 21 | </div> |
20 | 22 |
|
|
44 | 46 | padding-bottom 80px |
45 | 47 | |
46 | 48 | .ui-post |
47 | | - margin-bottom 50px |
48 | | - |
| 49 | + padding-bottom 25px |
| 50 | + margin-bottom 25px |
| 51 | + border-bottom 1px solid #f1f1f1 |
| 52 | + &:last-child |
| 53 | + border-bottom 0px |
| 54 | + margin-bottom 0px |
| 55 | + |
49 | 56 | p |
50 | 57 | margin 0 |
51 | 58 | |
52 | 59 | .ui-post-title |
53 | | - font-weight bold |
54 | | - font-size 24px |
| 60 | + font-family PT Serif, Serif |
| 61 | + font-size 28px |
55 | 62 | border-bottom 0 |
56 | 63 | |
57 | 64 | a |
58 | 65 | cursor pointer |
59 | 66 | color #000 |
60 | 67 | transition all .2s |
| 68 | + font-weight bold |
61 | 69 | text-decoration none |
62 | 70 | |
63 | 71 | &:hover |
64 | 72 | text-decoration underline |
65 | 73 | |
66 | 74 | .ui-post-summary |
67 | 75 | font-size 14px |
68 | | - margin-bottom 10px |
| 76 | + margin-bottom 15px |
69 | 77 | color rgba(0, 0, 0, 0.54) |
| 78 | + font-weight 200 |
70 | 79 | |
71 | 80 | .ui-post-author |
72 | 81 | display flex |
|
75 | 84 | line-height 12px |
76 | 85 | color rgba(0, 0, 0, 0.84) |
77 | 86 | margin-bottom 3px |
| 87 | + font-weight 400 |
78 | 88 | |
79 | 89 | svg |
80 | 90 | margin-right 5px |
|
86 | 96 | align-items center |
87 | 97 | font-size 12px |
88 | 98 | color rgba(0, 0, 0, 0.54) |
89 | | - |
| 99 | + font-weight 200 |
| 100 | + |
90 | 101 | svg |
91 | 102 | margin-right 5px |
92 | 103 | width 14px |
|
0 commit comments