Add rankings to the statistics table.
www.footballdb.com/stats/teamstat - Dec 2023 by keyboardcowboy
Details
Authorkeyboardcowboy
LicenseNo License
Categoryfootballdb.com
Created
Updated
Size660 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name www.footballdb.com/stats/teamstat - Dec 2023
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Add rankings to the statistics table.
@author KeyboardCowboy
==/UserStyle== */
@-moz-document url-prefix("https://www.footballdb.com/stats/teamstat.html") {
/* Add ranking numbers to the statistics table. */
table.statistics tbody {
counter-reset: ranking 0;
}
table.statistics tbody tr td:first-child {
counter-increment: ranking 1;
}
table.statistics tbody tr td:first-child span:first-child:before {
content: counter(ranking) ". "
}
}