@@ -19,11 +19,16 @@ module.exports = (theme) => ({
19
19
background : 'none' ,
20
20
} ,
21
21
22
+ '[class~="kg-gallery-card"]' : {
23
+ background : 'none' ,
24
+ } ,
25
+
22
26
'[class~="kg-card"] a' : {
23
27
color : theme ( 'colors.gray.900' ) ,
24
28
}
25
29
} ,
26
30
{
31
+ // #region default-card
27
32
'[class~="kg-card"]' : {
28
33
padding : `${ theme ( 'spacing.6' ) } ` ,
29
34
borderRadius : theme ( 'borderRadius.lg' ) ,
@@ -40,15 +45,52 @@ module.exports = (theme) => ({
40
45
'[class~="kg-card"] img' : {
41
46
margin : '0' ,
42
47
} ,
48
+ // #endregion
43
49
50
+ // #region image
44
51
'[class~="kg-image-card"]' : {
45
52
textAlign : 'center' ,
46
53
} ,
47
54
48
55
'[class~="kg-image-card"] [class~="kg-image"]' : {
49
56
margin : '0 auto' ,
50
57
} ,
58
+ // #endregion
59
+
60
+ // #region gallery
61
+ '[class~="kg-gallery-card"]' : {
62
+ padding : '0' ,
63
+ } ,
64
+
65
+ '[class~="kg-gallery-card"] figcaption' : {
66
+ padding : theme ( 'spacing.3' ) ,
67
+ textAlign : 'center' ,
68
+ fontSize : theme ( 'fontSize.sm' ) ,
69
+ color : theme ( 'colors.' )
70
+ } ,
71
+
72
+ '[class~="kg-card"] [class~="kg-gallery-container"] [class~="kg-gallery-row"]' : {
73
+ display : 'flex' ,
74
+ flexWrap : 'nowrap' ,
75
+ marginBottom : theme ( 'spacing.4' ) ,
76
+ } ,
51
77
78
+ '[class~="kg-card"] [class~="kg-gallery-container"] [class~="kg-gallery-row"] [class~="kg-gallery-image"]' : {
79
+ borderRadius : theme ( 'borderRadius.lg' ) ,
80
+ overflow : 'hidden' ,
81
+ marginLeft : theme ( 'spacing.2' ) ,
82
+ marginRight : theme ( 'spacing.2' ) ,
83
+ } ,
84
+
85
+ '[class~="kg-card"] [class~="kg-gallery-container"] [class~="kg-gallery-row"] [class~="kg-gallery-image"] img' : {
86
+ objectPosition : "center" ,
87
+ objectFit : "cover" ,
88
+ height : "100%" ,
89
+ width : "100%" ,
90
+ } ,
91
+ // #endregion
92
+
93
+ // #region embed-card
52
94
'[class~="kg-card"] [class~="kg-embed-card"]' : {
53
95
position : 'relative' ,
54
96
overflow : 'hidden' ,
@@ -65,7 +107,9 @@ module.exports = (theme) => ({
65
107
right : '0' ,
66
108
bottom : '0' ,
67
109
} ,
110
+ // #endregion
68
111
112
+ // #region bookmark
69
113
'[class~="kg-card"] [class~="kg-bookmark-container"]' : {
70
114
display : 'flex' ,
71
115
alignItems : 'center' ,
@@ -116,6 +160,7 @@ module.exports = (theme) => ({
116
160
width : '100%' ,
117
161
borderRadius : theme ( 'borderRadius.lg' ) ,
118
162
}
163
+ // #endregion
119
164
}
120
165
]
121
166
} ,
@@ -147,6 +192,11 @@ module.exports = (theme) => ({
147
192
margin : '0 auto' ,
148
193
} ,
149
194
195
+ '[class~="kg-gallery-card"]' : {
196
+ padding : '0' ,
197
+ background : 'transparent'
198
+ } ,
199
+
150
200
'[class~="kg-card"] [class~="kg-embed-card"]' : {
151
201
position : 'relative' ,
152
202
overflow : 'hidden' ,
@@ -231,6 +281,10 @@ module.exports = (theme) => ({
231
281
background : 'none' ,
232
282
} ,
233
283
284
+ '[class~="kg-gallery-card"]' : {
285
+ background : 'none' ,
286
+ } ,
287
+
234
288
'[class~="kg-card"] a' : {
235
289
color : theme ( 'colors.gray.100' ) ,
236
290
textDecoration : 'none' ,
0 commit comments