File tree Expand file tree Collapse file tree 1 file changed +21
-7
lines changed
src/components/RelatedBlogs Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change
1
+ @use ' ../../css/breakpoints' as breakpoints ;
2
+
1
3
/* Container for the entire component */
2
4
.relatedBlogsContainer {
3
5
display : flex ;
4
6
flex-direction : column ;
5
7
padding-top : 32px ;
6
8
}
7
9
8
- /* Container for just the cards (excluding header) */
9
10
.blogCardsContainer {
10
- display : grid ;
11
- grid-template-columns : repeat (3 , minmax (0 , 1fr ));
12
- gap : 0.5em ;
13
- width : 100% ;
14
- height : 100%
11
+ display : flex ;
12
+ flex-direction : column ;
13
+ gap : 1em ;
14
+ width : 100% ;
15
15
}
16
16
17
17
/* Container for individual card */
68
68
69
69
/* Container for the bottom half of the card */
70
70
[data-theme = ' light' ] .cardBottom {
71
- background-color : #c0c0c0 ;
71
+ background-color : #f7f7fa ;
72
72
border-left : 1px solid #c7c7c7 ;
73
73
border-right : 1px solid #c7c7c7 ;
74
74
border-bottom : 1px solid #c7c7c7 ;
75
+ border-top : 1px solid #c7c7c7 ;
75
76
}
76
77
77
78
/* Container for the bottom half of the card */
186
187
100% {
187
188
opacity : 0.6 ;
188
189
}
190
+ }
191
+
192
+ @media (min-width : breakpoints .$laptop-breakpoint ) {
193
+
194
+ /* Container for just the cards (excluding header) */
195
+ .blogCardsContainer {
196
+ display : grid ;
197
+ grid-template-columns : repeat (3 , minmax (0 , 1fr ));
198
+ gap : 0.5em ;
199
+ width : 100% ;
200
+ height : 100%
201
+ }
202
+
189
203
}
You can’t perform that action at this time.
0 commit comments