diff --git a/assets/css/style.css b/assets/css/style.css index 72c1dc9..2ad95c5 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -247,7 +247,7 @@ body { } .driver { - display: flex; + /* display: flex; */ align-items: flex-start; opacity: 0; position: relative; @@ -257,15 +257,17 @@ body { } .driver__image { - width: 150px; - height: 100px; - border-radius: 50%; - background-size: 85px; + /* width: 400px; */ + height: 200px; + /* border-radius: 50%; */ + background-size: 40%; background-repeat: no-repeat; background-position: center; border: 3px solid white; /* box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.12); */ - margin-right: 1.5rem; + /* margin-right: 1.5rem; + */ + margin: auto; } .driver__content { @@ -276,6 +278,7 @@ body { font-weight: 700; font-size: 1.6rem; margin: 0.5rem 0; + text-align: center; } .driver__table { @@ -336,4 +339,19 @@ body { .a-no-link{ text-decoration: none; color: initial; +} + +.driver__table > tbody> tr > td:has(small){ + text-align: right; +} +.driver__table > tbody> tr > td:has(small)::after{ + content: ":"; +} + +.center{ + text-align: center; +} + +.bold{ + font-weight: bold; } \ No newline at end of file diff --git a/assets/js/leaderboard.js b/assets/js/leaderboard.js index 76af733..ea5736a 100644 --- a/assets/js/leaderboard.js +++ b/assets/js/leaderboard.js @@ -67,7 +67,7 @@ tableRow.forEach(tableRow => {
Belt | +Belt | ${ninjaBelt} | |
Score | ${this.dataset.score} | ||
Latest Update | -${this.dataset.remark} | +Last Updated On | +${timeSince(this.dataset.Timestamp)} | +
${this.dataset.remark} |