| 1 |
/** |
| 2 |
* Breadcrumbs for parent pages meant for the article header |
| 3 |
*/ |
| 4 |
ul.bd-breadcrumbs { |
| 5 |
list-style: none; |
| 6 |
padding-left: 0; |
| 7 |
display: flex; |
| 8 |
flex-wrap: wrap; |
| 9 |
|
| 10 |
// Font size slightly smaller to avoid cluttering up space too much |
| 11 |
font-size: 0.8rem; |
| 12 |
|
| 13 |
li.breadcrumb-item { |
| 14 |
display: flex; |
| 15 |
align-items: center; |
| 16 |
white-space: nowrap; |
| 17 |
overflow-x: hidden; |
| 18 |
|
| 19 |
a, |
| 20 |
.ellipsis { |
| 21 |
overflow-x: hidden; |
| 22 |
text-overflow: ellipsis; |
| 23 |
|
| 24 |
// Need to add margin, otherwise the overflow: hidden rule on the parent |
| 25 |
// will hide the focus ring |
| 26 |
margin: $focus-ring-width; |
| 27 |
} |
| 28 |
|
| 29 |
// Style should look like heavier in-page links |
| 30 |
// keeping visited in the default link colour |
| 31 |
font-weight: bold; |
| 32 |
|
| 33 |
a { |
| 34 |
@include link-style-text; |
| 35 |
} |
| 36 |
|
| 37 |
// Items that aren't the home have a caret to the left |
| 38 |
&:not(.breadcrumb-home)::before { |
| 39 |
font: var(--fa-font-solid); |
| 40 |
font-size: 0.8rem; |
| 41 |
content: var(--pst-breadcrumb-divider); |
| 42 |
color: var(--pst-color-text-muted); |
| 43 |
padding: 0 0.5rem; |
| 44 |
} |
| 45 |
} |
| 46 |
} |