Skip to content

Commit

Permalink
fixed ghost and no results tile visited states
Browse files Browse the repository at this point in the history
  • Loading branch information
benbrignell committed Apr 9, 2018
1 parent cbc5c0f commit 6864356
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions _sass/_tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
body.examples .tile a:visited {
color: lighten($black, 30%);
}
.ghost a:visited {
color: $black!important;
}
body.examples .tile a:visited:hover {
color: $black;
}
Expand Down
4 changes: 1 addition & 3 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ var examplesList = new List('search-list', options);
var notFound = document.createElement('div');
notFound.id = 'resultNotFoundTile'
notFound.className = 'tile'
notFound.innerHTML = '<a href="{{site.contribute-url}}" class="full-link">' +
'<h3 class="h2 title" style="margin-top: 0; margin-bottom: 0;">Nothing found</h3>' +
'</a>';
notFound.innerHTML = '<h3 class="h2 title" style="margin-top: 0; margin-bottom: 0;">Nothing found</h3>';

var contribute = document.createElement('div');
contribute.id = 'contributeTile'
Expand Down

0 comments on commit 6864356

Please sign in to comment.