Skip to content

Commit

Permalink
Merge branch 'main' into inclusive-designGH-34
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander authored Jul 28, 2023
2 parents 65998b5 + 0344715 commit fc326c7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/static/css/_card.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
.card a:active {
background-color: inherit;
box-shadow: none;
color: var(--fl-linkColor, var(--color-blue-600));
outline: 0.2rem solid transparent;
}

Expand All @@ -100,9 +101,10 @@
top: 0;
}

.card:hover {
.card:hover,
.card:has(a:hover) {
box-shadow: 0 0 0 0.0625rem var(--fl-linkColor, var(--card-border-hover)) inset;
color: var(--fl-linkColor);
color: var(--fl-linkColor, var(--color-black));
}

.card:hover .header {
Expand All @@ -121,6 +123,7 @@
box-shadow:
0 0 0 0.0625rem var(--fl-linkColor, var(--color-green-100)) inset,
0 0 0 0.125rem var(--fl-linkColor, transparent) inset;
color: var(--fl-linkColor, var(--color-black));
}

.card:has(a:active) .header,
Expand All @@ -133,7 +136,7 @@
0 0 0 0.125rem var(--fl-linkColor, var(--card-focus-border)) inset,
0 0 0 0.125rem var(--fl-bgColor, transparent),
0 0 0 0.25rem var(--fl-linkColor, transparent);
color: var(--fl-linkColor);
color: var(--fl-linkColor, var(--color-black));
}

.card:focus-within .header {
Expand Down

0 comments on commit fc326c7

Please sign in to comment.