Stylization added to league top scorers adn table

This commit is contained in:
Lucas Patenaude
2024-04-14 18:39:00 -06:00
parent b6f4b3128c
commit df73daabd2
3 changed files with 26 additions and 7 deletions

View File

@@ -48,4 +48,8 @@
#standings-table tbody tr:hover {
border: 1px solid lightgray;
border-radius: 10px;
#club-name {
text-decoration: underline; /* Add underline effect */
}
}

View File

@@ -3,13 +3,28 @@
/* Add any other styling you need for the top scorers container */
}
#top-scorers-container img {
width: 35px;
margin-right: 20px;
#top-scorers-stats-container tbody tr {
margin-bottom: 10px; /* Adjust the value as needed */
}
#goals-column {
text-align: center;
font-size: 20px;
font-weight: bolder;
}
#top-scorers-logo {
width: 25px;
margin: 0 15px;
}
#player-name-column {
font-size: 14px;
font-weight: bold;
padding-right: 15px;
}
#club-name-column {
padding-right: 15px;
}

View File

@@ -70,11 +70,11 @@
</thead>
<tbody>
{{#each topScorers.scorers}}
<tr>
<tr id="top-scorers-row">
<td id="goals-column">{{goals}}</td>
<td><img src="{{team.team_crest}}" alt="{{table.team_name}} Crest" id="table-logo"></td>
<td>{{player.player_name}}</td>
<td>{{team.team_name}}</td>
<td><img id="top-scorers-logo" src="{{team.team_crest}}" alt="{{table.team_name}} Crest"></td>
<td id="player-name-column">{{player.player_name}}</td>
<td id="club-name-column">{{team.team_name}}</td>
<td>{{games_played}}</td>
</tr>
{{/each}}