Skip to content

Commit c9a9952

Browse files
committed
fix for invisilbe sponsor text
1 parent fdc3585 commit c9a9952

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

src/components/Sponsors/HighlightPanel.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,16 @@
2727
.card-content {
2828
width: 100%;
2929
height: 100%;
30-
filter: invert(1);
31-
mix-blend-mode: difference;
3230

3331
display: flex;
3432
justify-content: space-between;
33+
position: relative;
34+
z-index: 1;
3535

3636
h3 {
3737
width: 75%;
38+
color: var(--black);
39+
transition: color 0.2s ease;
3840
}
3941

4042
svg {
@@ -59,14 +61,20 @@
5961
left: 0;
6062
transition: 0.2s ease;
6163
background-color: var(--dark-green);
64+
z-index: 0;
6265
}
6366

6467
.highlight-card:hover .card-underlay {
6568
top: -2%;
6669
}
6770

68-
.highlight-card:hover svg {
71+
.highlight-card:hover .card-content h3 {
72+
color: var(--white);
73+
}
74+
75+
.highlight-card:hover .card-content svg {
6976
top: 50%;
77+
fill: var(--white);
7078
}
7179
}
7280

0 commit comments

Comments
 (0)