File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 22
22
border-left-color : $color-green-shade ;
23
23
}
24
24
25
+ & :focus-within > * {
26
+ color : $color-white ;
27
+ }
28
+
29
+
25
30
// User Queries
26
31
@media screen and (prefers-reduced-motion : reduce) {
27
32
transition : none ;
28
33
}
29
34
}
30
35
31
36
// Color the author link when the title link is focused
37
+ .c-card-resource__title :focus ,
32
38
.c-card-resource__title :focus ~ .c-card-resource__meta ,
33
39
.c-card-resource__title :focus ~ .c-card-resource__description {
34
40
color : $color-white ;
Original file line number Diff line number Diff line change 17
17
background-color : $color-white ;
18
18
}
19
19
20
- & :focus-within {
20
+ & :focus-within ,
21
+ & :focus-within * {
21
22
color : $color-white ;
22
23
}
23
24
53
54
54
55
55
56
// Color the author link when the title link is focused
57
+ .c-featured__title :focus ,
56
58
.c-featured__title :focus ~ .c-featured__meta ,
57
59
.c-featured__title :focus ~ .c-featured__description {
58
60
color : $color-white ;
You can’t perform that action at this time.
0 commit comments