Skip to content

Commit

Permalink
fix(style): make breadcrumb link color different from text
Browse files Browse the repository at this point in the history
  • Loading branch information
mancristiana committed Mar 1, 2022
1 parent f9d2875 commit 2ea4283
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1054,10 +1054,14 @@ ul {
margin: 0 4px;
}

.breadcrumbs li a:visited {
.breadcrumbs li a {
color: $link_color;
}

.breadcrumbs li a:hover {
text-decoration: underline;
}

/***** Search field *****/
.search {
position: relative;
Expand Down Expand Up @@ -4572,10 +4576,6 @@ ul {
}
}

.search-result-breadcrumbs li, .search-result-breadcrumbs li a, .search-result-breadcrumbs li a:visited {
color: inherit;
}

/* By default use bold instead of italic to highlight */
.search-results-description em {
font-style: normal;
Expand Down
6 changes: 5 additions & 1 deletion styles/_breadcrumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@
content: ">";
margin: 0 4px;
}
a:visited {
a {
color: $link_color;

&:hover {
text-decoration: underline;
}
}
}
}
4 changes: 0 additions & 4 deletions styles/_search_results.scss
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,6 @@
li {
@include desktop { display: table-cell; }
}

li, li a, li a:visited {
color: inherit;
}
}
}

Expand Down

0 comments on commit 2ea4283

Please sign in to comment.