Adjust badge font sizes

Allow more free text to fit on the badge.
Shrink size of name and company.
This commit is contained in:
Joel Addison 2020-01-07 16:37:51 +10:00
parent fe6447acae
commit f89c4f9b2d
2 changed files with 12 additions and 12 deletions

View file

@ -121,17 +121,17 @@
<rect y="339.46" width="297.64" height="37.27" fill="#faa61a"/> <rect y="339.46" width="297.64" height="37.27" fill="#faa61a"/>
</g> </g>
<g id="Layer_2" data-name="Layer 2"> <g id="Layer_2" data-name="Layer 2">
<text transform="translate(148 138.19)" font-size="20" fill="#231f20" font-family="Montserrat-Light, Montserrat" font-weight="300" text-anchor="middle"> <text transform="translate(148 138.19)" font-size="18" fill="#231f20" font-family="Montserrat-Light, Montserrat" font-weight="300" text-anchor="middle">
<tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.name }}</tspan> <tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.name }}</tspan>
</text> </text>
<text transform="translate(148 171.07)" font-size="16" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle"> <text transform="translate(148 171.07)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
<tspan letter-spacing="0em">{% if ticket_type == "Student" or ticket_type == "Hobbyist" or "Only" in ticket_type %}{% else %}{{ user.attendee.attendeeprofilebase.attendeeprofile.company }}{% endif %}</tspan> <tspan letter-spacing="0em">{% if ticket_type == "Student" or ticket_type == "Hobbyist" or "Only" in ticket_type %}{% else %}{{ user.attendee.attendeeprofilebase.attendeeprofile.company }}{% endif %}</tspan>
</text> </text>
<text transform="translate(148 205)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle"> <text transform="translate(148 205)" font-size="10" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
<tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1|truncatechars:35 }}</tspan> <tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1|truncatechars:45 }}</tspan>
</text> </text>
<text transform="translate(148 230)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle"> <text transform="translate(148 230)" font-size="10" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
<tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2|truncatechars:35 }}</tspan> <tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2|truncatechars:45 }}</tspan>
</text> </text>
<text transform="translate(148 362.4)" font-size="16" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle"> <text transform="translate(148 362.4)" font-size="16" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
<tspan letter-spacing="0em">{{ ticket_type|upper }}</tspan> <tspan letter-spacing="0em">{{ ticket_type|upper }}</tspan>

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View file

@ -88,17 +88,17 @@
<path d="M131.56,302.8a24.8,24.8,0,1,0,8.91-8.91" fill="none" stroke="#faa61a" stroke-miterlimit="10" stroke-width="0.96"/> <path d="M131.56,302.8a24.8,24.8,0,1,0,8.91-8.91" fill="none" stroke="#faa61a" stroke-miterlimit="10" stroke-width="0.96"/>
</g> </g>
<g id="Layer_2" data-name="Layer 2"> <g id="Layer_2" data-name="Layer 2">
<text transform="translate(148 138.19)" font-size="20" fill="#231f20" font-family="Montserrat-Light, Montserrat" font-weight="300" text-anchor="middle"> <text transform="translate(148 138.19)" font-size="18" fill="#231f20" font-family="Montserrat-Light, Montserrat" font-weight="300" text-anchor="middle">
<tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.name }}</tspan> <tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.name }}</tspan>
</text> </text>
<text transform="translate(148 171.07)" font-size="16" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle"> <text transform="translate(148 171.07)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
<tspan letter-spacing="0em">{% if ticket_type == "Student" or ticket_type == "Hobbyist" or "Only" in ticket_type %}{% else %}{{ user.attendee.attendeeprofilebase.attendeeprofile.company }}{% endif %}</tspan> <tspan letter-spacing="0em">{% if ticket_type == "Student" or ticket_type == "Hobbyist" or "Only" in ticket_type %}{% else %}{{ user.attendee.attendeeprofilebase.attendeeprofile.company }}{% endif %}</tspan>
</text> </text>
<text transform="translate(148 205)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle"> <text transform="translate(148 205)" font-size="10" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
<tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1|truncatechars:35 }}</tspan> <tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_1|truncatechars:45 }}</tspan>
</text> </text>
<text transform="translate(148 230)" font-size="14" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle"> <text transform="translate(148 230)" font-size="10" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
<tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2|truncatechars:35 }}</tspan> <tspan letter-spacing="0em">{{ user.attendee.attendeeprofilebase.attendeeprofile.free_text_2|truncatechars:45 }}</tspan>
</text> </text>
<text transform="translate(148 362.4)" font-size="16" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle"> <text transform="translate(148 362.4)" font-size="16" fill="#231f20" font-family="SourceSansPro-Regular, Source Sans Pro" text-anchor="middle">
<tspan letter-spacing="0em">{{ ticket_type|upper }}</tspan> <tspan letter-spacing="0em">{{ ticket_type|upper }}</tspan>

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB