Skip to content

Commit

Permalink
Revert "Revert "Fix/325 responsive breadcrumb (#437)" (#438)"
Browse files Browse the repository at this point in the history
This reverts commit ae99783.
  • Loading branch information
adamwoodnz committed Sep 7, 2023
1 parent 465fda5 commit b52c5eb
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions mu-plugins/blocks/site-breadcrumbs/postcss/style.pcss
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-1);
color: var(--wp--preset--color--charcoal-4);
text-decoration-line: none;

&:hover {
text-decoration-line: underline;
}
}

& > span:not(:first-child) {
& > span {
display: inline-block;

/* This ensures that the square separator is reliably centered. */
display: flex;
align-items: center;
margin-top: 0;
&:not(:last-child) {

&::before {
content: "/";
display: inline-block;
font-weight: 400;
margin: 0 0.5rem;
/* 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);
}
}
}

& .is-current-page {
font-weight: 700;
color: var(--wp--preset--color--charcoal-1);
}
}

0 comments on commit b52c5eb

Please sign in to comment.