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
|
//- a.ajax(href=company.Link())= company.Name.English
|
||||||
|
|
||||||
component FriendEntry(friend *arn.User, listItems map[*arn.User]*arn.AnimeListItem)
|
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
|
UsersTabs
|
||||||
|
|
||||||
table.osu-ranking-list
|
table.ranking-list
|
||||||
thead
|
thead
|
||||||
tr.mountable
|
tr.mountable
|
||||||
th #
|
th #
|
||||||
th Player
|
th Player
|
||||||
th Name
|
th Name
|
||||||
th.osu-ranking-pp Performance
|
th.ranking-pp Performance
|
||||||
th.osu-ranking-accuracy Accuracy
|
th.ranking-accuracy Accuracy
|
||||||
tbody
|
tbody
|
||||||
for index, user := range users
|
for index, user := range users
|
||||||
tr.osu-ranking.mountable
|
tr.ranking.mountable
|
||||||
td= toString(index + 1) + "."
|
td= toString(index + 1) + "."
|
||||||
td
|
td
|
||||||
Avatar(user)
|
Avatar(user)
|
||||||
td
|
td
|
||||||
a.ajax(href=user.Link())= user.Nick
|
a.ajax(href=user.Link())= user.Nick
|
||||||
td.osu-ranking-pp= toString(int(user.Accounts.Osu.PP + 0.5)) + " pp"
|
td.ranking-score= toString(int(user.Accounts.Osu.PP + 0.5)) + " pp"
|
||||||
td.osu-ranking-accuracy= fmt.Sprintf("%.1f", user.Accounts.Osu.Accuracy) + "%"
|
td.ranking-accuracy= fmt.Sprintf("%.1f", user.Accounts.Osu.Accuracy) + "%"
|
||||||
|
|
@ -1,12 +1,16 @@
|
|||||||
.osu-ranking-list
|
.ranking-list
|
||||||
max-width 400px
|
max-width 400px
|
||||||
|
|
||||||
.osu-ranking
|
.user-image
|
||||||
|
width calc(avatar-size / 2)
|
||||||
|
height calc(avatar-size / 2)
|
||||||
|
|
||||||
|
.ranking
|
||||||
width 100%
|
width 100%
|
||||||
|
|
||||||
td
|
td
|
||||||
vertical-align middle
|
vertical-align middle
|
||||||
|
|
||||||
.osu-ranking-pp,
|
.ranking-score,
|
||||||
.osu-ranking-accuracy
|
.ranking-accuracy
|
||||||
text-align right
|
text-align right
|
@ -3,20 +3,20 @@ component OverwatchRankingList(users []*arn.User)
|
|||||||
|
|
||||||
UsersTabs
|
UsersTabs
|
||||||
|
|
||||||
table.osu-ranking-list
|
table.ranking-list
|
||||||
thead
|
thead
|
||||||
tr.mountable
|
tr.mountable
|
||||||
th #
|
th #
|
||||||
th Player
|
th Player
|
||||||
th Name
|
th Name
|
||||||
th.osu-ranking-pp Skill Rating
|
th.ranking-pp Skill Rating
|
||||||
tbody
|
tbody
|
||||||
for index, user := range users
|
for index, user := range users
|
||||||
tr.osu-ranking.mountable
|
tr.ranking.mountable
|
||||||
td= toString(index + 1) + "."
|
td= toString(index + 1) + "."
|
||||||
td
|
td
|
||||||
Avatar(user)
|
Avatar(user)
|
||||||
td
|
td
|
||||||
a.ajax(href=user.Link())= user.Nick
|
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
|
html
|
||||||
font-size 90%
|
font-size 90%
|
||||||
|
|
||||||
> 1400px
|
// > 1400px
|
||||||
html
|
// html
|
||||||
font-size 100%
|
// font-size 100%
|
||||||
|
|
||||||
body
|
body
|
||||||
tab-size 4
|
tab-size 4
|
||||||
|
Loading…
Reference in New Issue
Block a user