File tree 2 files changed +12
-12
lines changed
2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 10
10
" icon heading"
11
11
" icon category" ;
12
12
justify-content : flex-start ;
13
- @media screen and (min-width : $screen-md ) {
14
- grid-template-areas :
15
- " icon heading group"
16
- " icon category ." ;
17
- }
18
13
19
14
.topic-icon {
20
15
--background-primary : var (--curriculum-bg-color-topic );
Original file line number Diff line number Diff line change 65
65
> label {
66
66
color : var (--text-inactive );
67
67
cursor : pointer ;
68
+ width : max-content ;
68
69
}
69
70
70
71
& #modules-0 {
146
147
}
147
148
148
149
li .module-list-item {
150
+ --spacing : 1rem ;
151
+ --icon-size : 4rem ;
149
152
display : block ;
150
153
151
154
> a {
178
181
background-color : var (--curriculum-bg-color-list-item-header );
179
182
display : flex ;
180
183
flex-direction : column ;
181
- height : 10rem ;
182
- padding : 1rem ;
184
+ font-weight : var (--font-body-strong-weight );
185
+ height : 10.5rem ;
186
+ height : calc (3 * var (--spacing ) + var (--icon-size ) + 2 lh );
187
+ padding : var (--spacing );
188
+ row-gap : var (--spacing );
183
189
184
190
svg .topic-icon {
185
- height : 4 rem ;
186
- width : 4 rem ;
191
+ height : var ( --icon-size ) ;
192
+ width : var ( --icon-size ) ;
187
193
188
194
circle {
189
195
fill : var (--curriculum-bg-color-list-item-icon );
196
202
197
203
> span {
198
204
color : var (--text-primary );
199
- font-weight : var (--font-body-strong-weight );
200
- margin : auto ;
205
+ margin : 0 auto ;
201
206
text-align : center ;
202
207
}
203
208
}
209
214
font-size : var (--type-smaller-font-size );
210
215
height : 11rem ;
211
216
justify-content : space-between ;
212
- padding : 1 rem 1.5 rem ;
217
+ padding : var ( --spacing ) ;
213
218
214
219
p {
215
220
color : var (--text-secondary );
You can’t perform that action at this time.
0 commit comments