|
|
@@ -3,7 +3,7 @@
|
|
3
|
3
|
header
|
|
4
|
4
|
router-link(v-if="!hideType" :to="`/${type}`")
|
|
5
|
5
|
p.t-up {{type}}
|
|
6
|
|
- article.card--info(:class="{ 'wide': wide }")
|
|
|
6
|
+ section.card--info(:class="{ 'wide': wide }")
|
|
7
|
7
|
router-link(:to="`/${type}/${content.slug}`")
|
|
8
|
8
|
//- set image to thumbnail setting
|
|
9
|
9
|
featured-image(:post="content")
|
|
|
@@ -25,11 +25,11 @@ export default {
|
|
25
|
25
|
@import '../sss/variables.sss'
|
|
26
|
26
|
@import '../sss/theme.sss'
|
|
27
|
27
|
.card
|
|
28
|
|
- /* padding: $ms--3 */
|
|
|
28
|
+ padding: $ms-0
|
|
29
|
29
|
overflow: hidden
|
|
30
|
30
|
text-overflow: clip
|
|
31
|
31
|
&--info
|
|
32
|
|
- padding: $ms--3
|
|
|
32
|
+ /* padding: $ms--3 */
|
|
33
|
33
|
justify-content: center
|
|
34
|
34
|
header
|
|
35
|
35
|
a
|
|
|
@@ -37,12 +37,14 @@ export default {
|
|
37
|
37
|
img
|
|
38
|
38
|
width: 100%
|
|
39
|
39
|
height: auto
|
|
40
|
|
- h1, h2, h3, p
|
|
|
40
|
+ /* padding: $ms-0 */
|
|
|
41
|
+ h1, h2, h3
|
|
41
|
42
|
padding: $ms--3
|
|
42
|
43
|
margin: 0
|
|
43
|
44
|
h1
|
|
44
|
45
|
font-size: $ms-1
|
|
45
|
46
|
color: $cia_black
|
|
|
47
|
+
|
|
46
|
48
|
|
|
47
|
49
|
/* for widths larger than 768px */
|
|
48
|
50
|
@media (min-width: $medium)
|
|
|
@@ -53,11 +55,12 @@ export default {
|
|
53
|
55
|
width: 100%
|
|
54
|
56
|
.wide
|
|
55
|
57
|
display: flex
|
|
56
|
|
- /* specific condition for wide card, need to sort out paragraph fit*/
|
|
|
58
|
+ /* padding: $ms-0 0 */
|
|
|
59
|
+ grid-gap: $ms-0
|
|
57
|
60
|
/* img */
|
|
58
|
61
|
/* width: 100% */
|
|
59
|
62
|
/* padding: 0 $ms-0 0 0 */
|
|
60
|
|
- /* padding: $ms-0 0 */
|
|
|
63
|
+ /* specific condition for wide card, need to sort out paragraph fit*/
|
|
61
|
64
|
w-max
|
|
62
|
65
|
|
|
63
|
66
|
</style>
|