Skip to content

Commit

Permalink
Modify champion_tag css.
Browse files Browse the repository at this point in the history
  • Loading branch information
SRJ9 committed Nov 11, 2016
1 parent 0444c25 commit 71958c9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions driver27/static/driver27/css/style.css

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

2 changes: 1 addition & 1 deletion driver27/static/driver27/css/style.css.map

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

3 changes: 2 additions & 1 deletion driver27/static/driver27/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ tr:not(.points){
background-color: #E34A3E;
}

.champion_points{
.champion_points, .champion_tag{
font-size:1.3em;
font-weight: bolder;
}

select[name='scoring']{
Expand Down
2 changes: 1 addition & 1 deletion driver27/templatetags/champion_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
@register.filter
def champion_filter(season_id):
season = Season.objects.get(pk=season_id)
return '♚' if season.has_champion() else ''
return '<span class="champion_tag">&#9818;</span>' if season.has_champion() else ''

0 comments on commit 71958c9

Please sign in to comment.