-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for yoast breadcrumbs (#855)
* feat: add support for yoast breadcrumb * feat: display the breadcrumbs only on tablet and larger screens * fix: revert font family to inherit * fix: breadcrumb position and color for Newspack Nelson * feat: update themes when highlight menu is enabled * fix: lint * fix: lint * fix: remove border and padding depending on featured image style * feat: update font family to heading * feat: update breadcrumb border style to dotted * fix: sass typo * feat: update Nelson breadcrumb border-top color * feat: don't display breadcrumb if the featured image is behind or beside * feat: reorder sass file * fix: wrong border-color variable for the breadcrumbs using nelson
- Loading branch information
1 parent
8087e9d
commit dfdcf28
Showing
14 changed files
with
145 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.site-breadcrumb { | ||
color: $color__text-light; | ||
|
||
.wrapper { | ||
padding: 0.5em 0; | ||
|
||
> span { | ||
font-family: $font__heading; | ||
font-size: $font__size-xxs; | ||
line-height: $font__line-height-heading; | ||
} | ||
} | ||
|
||
.breadcrumb_last { | ||
color: $color__text-main; | ||
} | ||
|
||
// Hide on homepage and if the Featured Image is Behind or Beside | ||
.home &, | ||
.single-featured-image-behind &, | ||
.single-featured-image-beside & { | ||
display: none; | ||
} | ||
|
||
// Has Highlight Menu | ||
.has-highlight-menu & { | ||
padding-top: 0.25rem; | ||
|
||
.wrapper { | ||
border-top: 1px solid $color__border; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters