There was an error while loading. Please reload this page.
1 parent fdc3585 commit c9a9952Copy full SHA for c9a9952
1 file changed
src/components/Sponsors/HighlightPanel.css
@@ -27,14 +27,16 @@
27
.card-content {
28
width: 100%;
29
height: 100%;
30
- filter: invert(1);
31
- mix-blend-mode: difference;
32
33
display: flex;
34
justify-content: space-between;
+ position: relative;
+ z-index: 1;
35
36
h3 {
37
width: 75%;
38
+ color: var(--black);
39
+ transition: color 0.2s ease;
40
}
41
42
svg {
@@ -59,14 +61,20 @@
59
61
left: 0;
60
62
transition: 0.2s ease;
63
background-color: var(--dark-green);
64
+ z-index: 0;
65
66
67
.highlight-card:hover .card-underlay {
68
top: -2%;
69
70
- .highlight-card:hover svg {
71
+ .highlight-card:hover .card-content h3 {
72
+ color: var(--white);
73
+ }
74
+
75
+ .highlight-card:hover .card-content svg {
76
top: 50%;
77
+ fill: var(--white);
78
79
80
0 commit comments