Skip to content

Commit

Permalink
Replace feed icon with FontAwesome
Browse files Browse the repository at this point in the history
  • Loading branch information
tzizi committed Jul 26, 2018
1 parent 6d62e14 commit e308a1b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,23 @@ dd + dt { margin-top: 1em; }
display: inline !important;
}

.feed-icon {
color: #f26522;
}

.feed-icon span {
height: 14px;
width: 100%;
display: inline !important;
padding: .2em;
}

.feed-icon:hover {
border-bottom: 0;
background-color: #f26522;
color: white;
}


.darkTheme {
background-color: #303030;
Expand Down
2 changes: 1 addition & 1 deletion templates/games.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
{%- if 'repo' in game %} (<a href="{{ game['repo'] }}">repo</a> {%- if 'repoiconname' in game %}<span class="repoicon {{ game['repoiconstyle'] }} fa-{{ game['repoiconname'] }}" title="{{ game['repotitle'] }}"></span>{%- endif %}){%- endif %}

{%- if 'feed' in game %}
<a href="{{ game['feed'] }}"><img src="static/feed-icon-14x14.png"/></a>
<a href="{{ game['feed'] }}" class="feed-icon" title="Feed"><span class="fas fa-rss"></span></a>
{%- endif %}

{{ tags.render_tag('status', game['status'] | title) }}
Expand Down

0 comments on commit e308a1b

Please sign in to comment.