fix 8ED tokens name formula (#38)
* change resize formula to be character-based * add embossed letters for accent, grave, circumflex, and overdots (à, á, â, ä) for aeiou. --------- Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
@@ -135,15 +135,11 @@ card style:
|
||||
z index: 6
|
||||
###################C######### Name line
|
||||
super type:
|
||||
left:
|
||||
{ if card_style.super_type.content_width > 269 then 50
|
||||
else card_style.super_type.content_width * -0.5 + 184.5 }
|
||||
left: {max(50, 183.5 - 10*length(remove_tags(card.super_type)))}
|
||||
top: 25
|
||||
width:
|
||||
{ if card_style.super_type.content_width > 269 then 275
|
||||
else card_style.super_type.content_width + 6 }
|
||||
width: {min(275, 6+20*length(remove_tags(card.super_type)))}
|
||||
height: 28
|
||||
alignment: bottom center justify-all
|
||||
alignment: bottom center
|
||||
padding bottom: -2
|
||||
padding top: 2
|
||||
z index: 4
|
||||
@@ -153,15 +149,11 @@ card style:
|
||||
alignment: bottom center
|
||||
always symbol: true
|
||||
name:
|
||||
left:
|
||||
{ if card_style.name.content_width > 269 then 50
|
||||
else card_style.name.content_width * -0.5 + 184.5 }
|
||||
left: {max(50, 183.5 - 10*length(card.name))}
|
||||
top: 46
|
||||
width:
|
||||
{ if card_style.name.content_width > 269 then 275
|
||||
else card_style.name.content_width + 6 }
|
||||
width: {min(275, 6+20*length(card.name))}
|
||||
height: 20
|
||||
alignment: bottom center justify-all
|
||||
alignment: bottom center
|
||||
padding bottom: -2
|
||||
padding top: 2
|
||||
z index: 4
|
||||
|
||||
Reference in New Issue
Block a user