|
|
@@ -15,7 +15,7 @@
|
|
15
|
15
|
)
|
|
16
|
16
|
|
|
17
|
17
|
ul.posts.f-col(v-if="posts && loaded" :class="{ 'is-grid': grid }")
|
|
18
|
|
- li(v-for="(post, i) in posts" :key="post.slug").post.w-max
|
|
|
18
|
+ li(v-for="(post, i) in posts" :key="post.slug").post
|
|
19
|
19
|
card(:content="post" :type="type" :wide="isWide")
|
|
20
|
20
|
|
|
21
|
21
|
//- Important: Do NOT remove this! Required for intersection observer
|
|
|
@@ -229,31 +229,32 @@ export default {
|
|
229
|
229
|
// prettier-ignore
|
|
230
|
230
|
@import '../sss/variables.sss'
|
|
231
|
231
|
@import '../sss/theme.sss'
|
|
232
|
|
-.page--list
|
|
233
|
|
- article
|
|
234
|
|
- > header
|
|
235
|
|
- padding: 1em
|
|
236
|
|
- > h1
|
|
237
|
|
- margin: 0
|
|
238
|
|
- > .content
|
|
239
|
|
- padding: 0
|
|
240
|
|
- width: 100%
|
|
241
|
|
- > footer
|
|
242
|
|
- padding: $ms-0
|
|
243
|
|
- /* posts not grid list */
|
|
244
|
|
- .posts
|
|
245
|
|
- list-style: none
|
|
246
|
|
- grid-gap: $ms-0
|
|
247
|
|
- &.is-grid
|
|
248
|
|
- flex-direction: row
|
|
249
|
|
- flex-wrap: wrap
|
|
250
|
|
- justify-content: space-between
|
|
251
|
|
- section
|
|
252
|
|
- width: 32.5%
|
|
253
|
|
- ul
|
|
254
|
|
- flex-wrap: wrap
|
|
255
|
|
- img
|
|
256
|
|
- max-width: 100%
|
|
|
232
|
+.page--list article
|
|
|
233
|
+ > header
|
|
|
234
|
+ padding: 1em
|
|
|
235
|
+ > h1
|
|
|
236
|
+ margin: 0
|
|
|
237
|
+ > .content
|
|
|
238
|
+ padding: 0
|
|
|
239
|
+ width: 100%
|
|
|
240
|
+ > footer
|
|
|
241
|
+ padding: $ms-0
|
|
|
242
|
+
|
|
|
243
|
+ /* posts not grid list */
|
|
|
244
|
+ .posts
|
|
|
245
|
+ list-style: none
|
|
|
246
|
+ grid-gap: $ms-0
|
|
|
247
|
+ .post
|
|
|
248
|
+ width: 100%
|
|
|
249
|
+ .posts.is-grid
|
|
|
250
|
+ width: 100%
|
|
|
251
|
+ flex-direction: row
|
|
|
252
|
+ flex-wrap: wrap
|
|
|
253
|
+ justify-content: space-between
|
|
|
254
|
+ .post
|
|
|
255
|
+ width: unset
|
|
|
256
|
+ img
|
|
|
257
|
+ max-width: 100%
|
|
257
|
258
|
|
|
258
|
259
|
@media (min-width: $medium)
|
|
259
|
260
|
.page--list.f-col
|