diff --git a/static/style.css b/static/style.css index 8fbd47c..4efe67c 100644 --- a/static/style.css +++ b/static/style.css @@ -438,6 +438,18 @@ transform: scale(1.05); } +/* Player pill links */ +.player-pill-link { + text-decoration: none; + color: inherit; + display: inline-block; +} + +.player-pill-link:hover .player-pill { + transform: scale(1.05); + cursor: pointer; +} + .player-pill .pos { font-weight: bold; font-size: 9px; diff --git a/templates/dashboard.html b/templates/dashboard.html index 29a08ab..6175199 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -125,14 +125,16 @@ {% if starters %}
{% for player in starters %} -
- {{ player.fantasy_positions[0] if player.fantasy_positions else 'FLEX' }} - {{ player.last_name }} - {% if player.injury_status %} - {{ player.injury_status }} - {% endif %} - -
+ +
+ {{ player.fantasy_positions[0] if player.fantasy_positions else 'FLEX' }} + {{ player.last_name }} + {% if player.injury_status %} + {{ player.injury_status }} + {% endif %} + +
+
{% endfor %}
{% endif %} @@ -141,14 +143,16 @@ {% if bench_players %}
{% for player in bench_players %} -
- {{ player.fantasy_positions[0] if player.fantasy_positions else 'FLEX' }} - {{ player.last_name }} - {% if player.injury_status %} - {{ player.injury_status }} - {% endif %} - -
+ +
+ {{ player.fantasy_positions[0] if player.fantasy_positions else 'FLEX' }} + {{ player.last_name }} + {% if player.injury_status %} + {{ player.injury_status }} + {% endif %} + +
+
{% endfor %}
{% endif %}