-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit acf8ebb.
- Loading branch information
1 parent
acf8ebb
commit ae99783
Showing
1 changed file
with
15 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
.wp-block-wporg-site-breadcrumbs { | ||
display: flex; | ||
align-items: center; | ||
|
||
& a { | ||
color: var(--wp--preset--color--charcoal-4); | ||
color: var(--wp--preset--color--charcoal-1); | ||
text-decoration-line: none; | ||
|
||
&:hover { | ||
text-decoration-line: underline; | ||
} | ||
} | ||
|
||
& > span { | ||
display: inline-block; | ||
& > span:not(:first-child) { | ||
|
||
&:not(:last-child) { | ||
/* This ensures that the square separator is reliably centered. */ | ||
display: flex; | ||
align-items: center; | ||
margin-top: 0; | ||
|
||
/* This ensures that the square separator is reliably centered. */ | ||
margin-top: 0; | ||
|
||
&::after { | ||
content: "/"; | ||
display: inline-block; | ||
font-weight: 400; | ||
margin: 0 var(--wp--preset--spacing--10); | ||
color: var(--wp--preset--color--light-grey-1); | ||
} | ||
&::before { | ||
content: "/"; | ||
display: inline-block; | ||
font-weight: 400; | ||
margin: 0 0.5rem; | ||
} | ||
} | ||
|
||
& .is-current-page { | ||
color: var(--wp--preset--color--charcoal-1); | ||
font-weight: 700; | ||
} | ||
} |