Make pro icon smaller on small user avatars
This commit is contained in:
parent
7504ae84c3
commit
51c6382bfc
@ -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
|
||||||
|
|
||||||
|
@ -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))
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user