Skip to content

Commit

Permalink
docs(search): improved header highlighting + fixed padding
Browse files Browse the repository at this point in the history
  • Loading branch information
redox committed Mar 7, 2016
1 parent be259f4 commit d632119
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/css/_docsearch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,13 @@ $dropdown-min-width-large: 600px;

// Highlight
.algolia-docsearch-suggestion--highlight {
padding: 0;
color: #40ADDC;
padding: 0 2px;
background: rgba(#40ADDC,.1);

// Highlight the background in header
.algolia-docsearch-suggestion--category-header & {
color: inherit;
background: $color-highlight-header-background;
background: rgba(#40ADDC,.2);
}
}

Expand Down

0 comments on commit d632119

Please sign in to comment.