Skip to content

Commit

Permalink
Merge pull request nostalgic-css#47 from Kartones/add-trophy-icon
Browse files Browse the repository at this point in the history
Adds trophy css icon (same colors as star icon
  • Loading branch information
BcRikko authored Dec 1, 2018
2 parents 8439df1 + f38c679 commit 377e083
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 2 deletions.
36 changes: 36 additions & 0 deletions css/nes.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion css/nes.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/nes.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ <h3 class="title">Others</h3>
<i class="icon close is-large"></i>

<i class="octocat animate"></i>

<i class="icon trophy"></i>
<i class="icon trophy is-medium"></i>
<i class="icon trophy is-large"></i>
</div>
</section>

Expand Down
5 changes: 5 additions & 0 deletions scss/icons/icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

// others
@import "close.scss";
@import "trophy.scss";

.icon {
position: relative;
Expand Down Expand Up @@ -40,6 +41,10 @@
@include pixelize($icon-star, $icon-star-colors, $px);
}

&.trophy::before {
@include pixelize($icon-trophy, $icon-trophy-colors, $px);
}

&.like::before {
@include pixelize($icon-like, $icon-like-colors, $px);
}
Expand Down
Loading

0 comments on commit 377e083

Please sign in to comment.