Skip to content

Commit

Permalink
Revert "Fix/325 responsive breadcrumb (#437)" (#438)
Browse files Browse the repository at this point in the history
This reverts commit acf8ebb.
  • Loading branch information
adamwoodnz authored Sep 4, 2023
1 parent acf8ebb commit ae99783
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-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;
}
}

0 comments on commit ae99783

Please sign in to comment.