Experimenting with new font size
This commit is contained in:
parent
66f0cd8fe5
commit
74c169021e
@ -238,4 +238,4 @@ component AnimeInformation(anime *arn.Anime)
|
||||
//- a.ajax(href=company.Link())= company.Name.English
|
||||
|
||||
component FriendEntry(friend *arn.User, listItems map[*arn.User]*arn.AnimeListItem)
|
||||
CustomAvatar(friend, listItems[friend].Link(friend.Nick), friend.Nick + " => " + listItems[friend].Status + " | " + toString(listItems[friend].Episodes) + " eps | " + fmt.Sprintf("%.1f", listItems[friend].Rating.Overall) + " rating")
|
||||
CustomAvatar(friend, friend.Link(), friend.Nick + " => " + listItems[friend].Status + " | " + toString(listItems[friend].Episodes) + " eps | " + fmt.Sprintf("%.1f", listItems[friend].Rating.Overall) + " rating")
|
||||
|
@ -3,22 +3,22 @@ component OsuRankingList(users []*arn.User)
|
||||
|
||||
UsersTabs
|
||||
|
||||
table.osu-ranking-list
|
||||
table.ranking-list
|
||||
thead
|
||||
tr.mountable
|
||||
th #
|
||||
th Player
|
||||
th Name
|
||||
th.osu-ranking-pp Performance
|
||||
th.osu-ranking-accuracy Accuracy
|
||||
th.ranking-pp Performance
|
||||
th.ranking-accuracy Accuracy
|
||||
tbody
|
||||
for index, user := range users
|
||||
tr.osu-ranking.mountable
|
||||
tr.ranking.mountable
|
||||
td= toString(index + 1) + "."
|
||||
td
|
||||
Avatar(user)
|
||||
td
|
||||
a.ajax(href=user.Link())= user.Nick
|
||||
td.osu-ranking-pp= toString(int(user.Accounts.Osu.PP + 0.5)) + " pp"
|
||||
td.osu-ranking-accuracy= fmt.Sprintf("%.1f", user.Accounts.Osu.Accuracy) + "%"
|
||||
td.ranking-score= toString(int(user.Accounts.Osu.PP + 0.5)) + " pp"
|
||||
td.ranking-accuracy= fmt.Sprintf("%.1f", user.Accounts.Osu.Accuracy) + "%"
|
||||
|
@ -1,12 +1,16 @@
|
||||
.osu-ranking-list
|
||||
.ranking-list
|
||||
max-width 400px
|
||||
|
||||
.osu-ranking
|
||||
.user-image
|
||||
width calc(avatar-size / 2)
|
||||
height calc(avatar-size / 2)
|
||||
|
||||
.ranking
|
||||
width 100%
|
||||
|
||||
td
|
||||
vertical-align middle
|
||||
|
||||
.osu-ranking-pp,
|
||||
.osu-ranking-accuracy
|
||||
.ranking-score,
|
||||
.ranking-accuracy
|
||||
text-align right
|
@ -3,20 +3,20 @@ component OverwatchRankingList(users []*arn.User)
|
||||
|
||||
UsersTabs
|
||||
|
||||
table.osu-ranking-list
|
||||
table.ranking-list
|
||||
thead
|
||||
tr.mountable
|
||||
th #
|
||||
th Player
|
||||
th Name
|
||||
th.osu-ranking-pp Skill Rating
|
||||
th.ranking-pp Skill Rating
|
||||
tbody
|
||||
for index, user := range users
|
||||
tr.osu-ranking.mountable
|
||||
tr.ranking.mountable
|
||||
td= toString(index + 1) + "."
|
||||
td
|
||||
Avatar(user)
|
||||
td
|
||||
a.ajax(href=user.Link())= user.Nick
|
||||
td.osu-ranking-pp= strconv.Itoa(user.Accounts.Overwatch.SkillRating) + " SR"
|
||||
td.ranking-score= strconv.Itoa(user.Accounts.Overwatch.SkillRating) + " SR"
|
||||
|
@ -7,9 +7,9 @@ html
|
||||
html
|
||||
font-size 90%
|
||||
|
||||
> 1400px
|
||||
html
|
||||
font-size 100%
|
||||
// > 1400px
|
||||
// html
|
||||
// font-size 100%
|
||||
|
||||
body
|
||||
tab-size 4
|
||||
|
Loading…
Reference in New Issue
Block a user