File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 3
3
< div class ="column has-text-centered m-2 is-one-third-widescreen is-one-third-desktop is-one-fifth-fullhd is-one-third-tablet is-two-fifths-mobile is-three-quarters-touch "
4
4
id ="robot-card ">
5
5
< a href ="{{site.url}}{{site.baseurl}}/{{robot.page}} " class ="robot-link ">
6
- < figure class ="image is-5by4 " style ="background-image: url({{robot.image}}); ">
7
- </ figure >
8
6
< div class ="overlay ">
7
+ < figure class ="image is-5by4 " style ="background-image: url({{robot.image}}); "> </ figure >
8
+ </ div >
9
+ < div class ="text ">
9
10
< h2 class ="has-text-weight-bold is-size-3 "> {{ robot.year }}</ h2 >
10
11
< p class ="has-text-white-ter has-text-weight-normal "> {{ robot.name }}</ p >
11
12
</ div >
Original file line number Diff line number Diff line change 6
6
:root {
7
7
--primary : #9172f8 ;
8
8
--black : #121212 ;
9
- --white : #ffffff ;
9
+ --white : #f5f5f5 ;
10
10
--seahawk-II : #fe5e20 ;
11
11
--seahawk : #79bde8 ;
12
12
--hydrozoa : #3961e2 ;
241
241
.robot-link :hover .overlay {
242
242
opacity : 0 ;
243
243
}
244
-
245
- h2 , p {
244
+ h2 {
246
245
color : var (--primary ) !important ;
246
+ }
247
+ h2 , p {
247
248
z-index : 2 ;
248
249
position : relative ;
249
250
transition : opacity 0.5s ease ;
You can’t perform that action at this time.
0 commit comments