diff --git a/pages/users/editors.pixy b/pages/users/editors.pixy index 428d18d4..5020000f 100644 --- a/pages/users/editors.pixy +++ b/pages/users/editors.pixy @@ -14,7 +14,7 @@ component EditorRankingList(users []*arn.User, idToScore map[string]int, url str td= toString(index + 1) + "." td.ranking-user Avatar(user) - a(href=user.Link())= user.Nick + a.ranking-user-nick(href=user.Link())= user.Nick td.ranking-score= idToScore[user.ID] .footer.mountable diff --git a/pages/users/osu.pixy b/pages/users/osu.pixy index e2710e28..9075d67a 100644 --- a/pages/users/osu.pixy +++ b/pages/users/osu.pixy @@ -15,7 +15,7 @@ component OsuRankingList(users []*arn.User, url string) td= toString(index + 1) + "." td.ranking-user Avatar(user) - a(href=user.Link())= user.Nick + a.ranking-user-nick(href=user.Link())= user.Nick td.ranking-score= toString(int(user.Accounts.Osu.PP + 0.5)) + " pp" td.ranking-accuracy= fmt.Sprintf("%.1f", user.Accounts.Osu.Accuracy) + "%" \ No newline at end of file diff --git a/pages/users/overwatch.pixy b/pages/users/overwatch.pixy index ab257885..175273b9 100644 --- a/pages/users/overwatch.pixy +++ b/pages/users/overwatch.pixy @@ -15,7 +15,7 @@ component OverwatchRankingList(users []*arn.User, url string) td= toString(index + 1) + "." td.ranking-user Avatar(user) - a(href=user.Link())= user.Nick + a.ranking-user-nick(href=user.Link())= user.Nick td.ranking-tier= strings.Title(user.Accounts.Overwatch.Tier) td.ranking-score= strconv.Itoa(user.Accounts.Overwatch.SkillRating) + " SR" \ No newline at end of file diff --git a/pages/users/ranking.scarlet b/pages/users/ranking.scarlet index 6afcd907..781817d1 100644 --- a/pages/users/ranking.scarlet +++ b/pages/users/ranking.scarlet @@ -14,7 +14,9 @@ .user-image width calc(avatar-size / 2) height calc(avatar-size / 2) - margin-right 1rem + +.ranking-user-nick + margin-left 0.8rem .ranking-score, .ranking-accuracy