Make pro icon smaller on small user avatars

This commit is contained in:
Eduard Urbach 2018-07-08 14:01:54 +09:00
parent 7504ae84c3
commit 51c6382bfc
3 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,9 @@
width calc(avatar-size / 2) width calc(avatar-size / 2)
height calc(avatar-size / 2) height calc(avatar-size / 2)
.user-pro-icon
font-size calc(user-pro-icon-size / 2)
.ranking-user-nick .ranking-user-nick
margin-left 0.8rem margin-left 0.8rem

View File

@ -35,5 +35,5 @@
position absolute position absolute
bottom -2px bottom -2px
right -2px right -2px
font-size 1.1rem font-size user-pro-icon-size
filter drop-shadow(0 0 3px hsla(link-color-h, link-color-s, link-color-l, 0.35)) filter drop-shadow(0 0 3px hsla(link-color-h, link-color-s, link-color-l, 0.35))

View File

@ -145,6 +145,8 @@ const character-image-small-height = 56px
const grid-cell-margin = 0.5rem const grid-cell-margin = 0.5rem
const user-pro-icon-size = 1.1rem
// Timings // Timings
fade-speed = 150ms fade-speed = 150ms
transition-speed = 150ms transition-speed = 150ms