Stylization added to league top scorers adn table
This commit is contained in:
@@ -48,4 +48,8 @@
|
|||||||
#standings-table tbody tr:hover {
|
#standings-table tbody tr:hover {
|
||||||
border: 1px solid lightgray;
|
border: 1px solid lightgray;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
|
||||||
|
#club-name {
|
||||||
|
text-decoration: underline; /* Add underline effect */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,13 +3,28 @@
|
|||||||
/* Add any other styling you need for the top scorers container */
|
/* Add any other styling you need for the top scorers container */
|
||||||
}
|
}
|
||||||
|
|
||||||
#top-scorers-container img {
|
#top-scorers-stats-container tbody tr {
|
||||||
width: 35px;
|
margin-bottom: 10px; /* Adjust the value as needed */
|
||||||
margin-right: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#goals-column {
|
#goals-column {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: bold;
|
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;
|
||||||
}
|
}
|
||||||
@@ -70,11 +70,11 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{{#each topScorers.scorers}}
|
{{#each topScorers.scorers}}
|
||||||
<tr>
|
<tr id="top-scorers-row">
|
||||||
<td id="goals-column">{{goals}}</td>
|
<td id="goals-column">{{goals}}</td>
|
||||||
<td><img src="{{team.team_crest}}" alt="{{table.team_name}} Crest" id="table-logo"></td>
|
<td><img id="top-scorers-logo" src="{{team.team_crest}}" alt="{{table.team_name}} Crest"></td>
|
||||||
<td>{{player.player_name}}</td>
|
<td id="player-name-column">{{player.player_name}}</td>
|
||||||
<td>{{team.team_name}}</td>
|
<td id="club-name-column">{{team.team_name}}</td>
|
||||||
<td>{{games_played}}</td>
|
<td>{{games_played}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|||||||
Reference in New Issue
Block a user