-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomponent.breadcrumbs.css
More file actions
43 lines (37 loc) · 869 Bytes
/
Copy pathcomponent.breadcrumbs.css
File metadata and controls
43 lines (37 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* BREADCRUMBS */
.breadcrumbs {
ol {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--xs2);
margin: 0;
padding: 0;
list-style: none;
font-size: var(--text-sm);
}
li {
display: flex;
align-items: center;
gap: var(--xs2);
}
/* separator between crumbs; the / "" alt text keeps it out of the
accessibility tree in browsers that support the syntax */
li + li::before {
content: var(--breadcrumbs-separator);
content: var(--breadcrumbs-separator) / "";
color: var(--breadcrumbs-separator-color);
}
a {
color: var(--breadcrumbs-color);
text-decoration: none;
transition: color var(--transition);
&:hover {
color: var(--link-color);
}
}
[aria-current="page"] {
color: var(--breadcrumbs-color-current);
font-weight: var(--semi-bold);
}
}