X-Git-Url: https://git.siccegge.de//index.cgi?a=blobdiff_plain;f=templates%2Fnametag.svg;h=687008f06ada35934ae743a991d24ad80d515af9;hb=4ae3d9507e2cc92d7e49e2eb1836cdbaaf590f4a;hp=a438244966166df241aeeb531b18731463134857;hpb=06423beaf01c66b2a77ab509658ceaa35c080e36;p=teilnehmertool.git
diff --git a/templates/nametag.svg b/templates/nametag.svg
index a438244..687008f 100644
--- a/templates/nametag.svg
+++ b/templates/nametag.svg
@@ -425,12 +425,15 @@
y="152.73964"
x="189.94026"
style="
- {% if nick|length > 14 %} font-size:45px;
- {% elif nick|length > 10 %} font-size:55px;
+ {% if nick|length > 20 %} font-size:30px;
+ {% elif nick|length > 16 %} font-size:33px;
+ {% elif nick|length > 14 %} font-size:45px;
+ {% elif nick|length > 12 %} font-size:47px;
+ {% elif nick|length > 9 %} font-size:53px;
{% elif nick|length > 8 %} font-size:65px;
{% else %} font-size:80px;
{% endif %}
- width=100%;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Source Sans Pro;-inkscape-font-specification:Source Sans Pro"
+ font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Source Sans Pro;-inkscape-font-specification:Source Sans Pro"
xml:space="preserve"
transform="scale(0.96625396,1.0349246)">{{nick}}