Added max rank descriptions to division results

This commit is contained in:
Taylor Courage 2025-03-08 11:40:06 -05:00
parent cf1340afe3
commit 128137fe79
2 changed files with 8 additions and 0 deletions

View File

@ -29,12 +29,15 @@ function refreshDisplay() {
if (currentDivision == "open") {
image = "/assets/trophy_open.png";
html += "<h2><img src=" + image + " class=\"lineImage\" alt=\"" + currentDivision + " division trophy\" style=\"float:left;\">Open<img src=" + image + " class=\"lineImage\" alt=\"" + currentDivision + " division trophy\" style=\"float:right;\"></h2>";
html += "<p class=\"smallerText\">Max Rank: SSL</p>"
} else if (currentDivision == "intermediate") {
image = "/assets/trophy_intermediate.png";
html += "<h2><img src=" + image + " class=\"lineImage\" alt=\"" + currentDivision + " division trophy\" style=\"float:left;\">Intermediate<img src=" + image + " class=\"lineImage\" alt=\"" + currentDivision + " division trophy\" style=\"float:right;\"></h2>";
html += "<p class=\"smallerText\">Max Rank: Champ 3</p>"
} else if (currentDivision == "main") {
image = "/assets/trophy_main.png";
html += "<h2><img src=" + image + " class=\"lineImage\" alt=\"" + currentDivision + " division trophy\" style=\"float:left;\">Main<img src=" + image + " class=\"lineImage\" alt=\"" + currentDivision + " division trophy\" style=\"float:right;\"></h2>";
html += "<p class=\"smallerText\">Max Rank: Plat 3</p>"
}
html += "<p>Top 10 Winners</p>"
html += "<hr class=\"tableLineLightCentre\">";

View File

@ -12,6 +12,11 @@
visibility: hidden;
}
.smallerText {
font-size: 0.75em;
line-height: 0.25em;
}
#body {
background-image: linear-gradient(to right, rgba(0, 0, 255, .8), rgba(255, 165, 0, .8));
padding-top: 2%;