File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 5
5
< a href ="{{site.url}}{{site.baseurl}}/{{robot.page}} " class ="robot-link ">
6
6
< figure class ="image is-5by4 " style ="background-image: url({{robot.image}}); ">
7
7
< div class ="overlay ">
8
- < h2 class ="has-text-primary has-text- weight-bold is-size-3 "> {{ robot.year }}</ h2 >
8
+ < h2 class ="has-text-weight-bold is-size-3 "> {{ robot.year }}</ h2 >
9
9
< p class ="has-text-white-ter has-text-weight-normal "> {{ robot.name }}</ p >
10
10
</ div >
11
11
</ figure >
Original file line number Diff line number Diff line change 239
239
// upon hover, make image color
240
240
.robot-link :hover .image {
241
241
filter : grayscale (0% );
242
- color : transparent ;
243
242
}
244
243
245
- & ::after {
246
- h2 {
247
- color : var ( --primary ) !important ; // text is accent color
248
- z-index : 2 ; // text on top
249
- }
250
-
251
- p {
252
- z-index : 2 ; // text on top
253
- }
244
+ h2 {
245
+ color : var ( --primary ) !important ; // text is accent color
246
+ z-index : 2 ; // text on top
247
+ position : relative ;
248
+ }
249
+
250
+ p {
251
+ z-index : 2 ; // text on top
252
+ position : relative ;
254
253
}
255
254
}
256
255
}
You can’t perform that action at this time.
0 commit comments