diff --git a/lokrez/templates/confismash/characters_corrections.j2 b/lokrez/templates/confismash/characters_corrections.j2 index 9b7ef55..4f5348c 100644 --- a/lokrez/templates/confismash/characters_corrections.j2 +++ b/lokrez/templates/confismash/characters_corrections.j2 @@ -1,6 +1,12 @@ {% set charcorr = { "banjo & kazooie": { "default": (-10, -8) }, - "bayonetta": { "default": (-68, -6) }, + "bayonetta": { + "default": (-68, -6), + "01": (-110,-6), + "03": (-110,-6), + "05": (-110,-6), + "07": (-110,-6), + }, "bowser": { "default": (-30, -20) }, "bowser jr": { "default": (0, 0), @@ -74,7 +80,7 @@ "pit": { "default": (-40, -7) }, "pokemon trainer": { "default": (-15, 5) }, "richter": { "default": (-20, -10) }, - "ridley": { "default": (-25, -27) }, + "ridley": { "default": (-25, -40) }, "rob": { "default": (-25, 6) }, "robin": { "default": (-40, -8) }, "rosalina and luma": { "default": (-30, 0) }, @@ -87,7 +93,7 @@ "snake": { "default": (-48, 0) }, "sonic": { "default": (-20, 4) }, "squirtle": { "default": (-7, 8) }, - "terry": { "default": (-60, -20, 0.66) }, + "terry": { "default": (-60, -7, 0.65) }, "toon link": { "default": (-10, -17) }, "villager": { "default": (-12, -8) }, "wario": { "default": (-18, 5) }, diff --git a/lokrez/templates/confismash/template.svg.j2 b/lokrez/templates/confismash/template.svg.j2 index 795f58e..bc01657 100644 --- a/lokrez/templates/confismash/template.svg.j2 +++ b/lokrez/templates/confismash/template.svg.j2 @@ -1,6 +1,7 @@ {% import "confismash/characters_corrections.j2" as charcorr %} + + + + + + + + + + + + + + @@ -102,11 +147,15 @@ inkscape:collect="always" id="linearGradient2133"> + @@ -211,7 +260,7 @@ {% if "animate" in options %} @@ -230,30 +279,17 @@ stdDeviation="1.3660346" id="feGaussianBlur1946" /> - - - + x="-0.053145992" + width="1.106292" + y="-0.3279406" + height="1.6558812"> + y2="177.16307" + gradientTransform="translate(0.02471547,-0.0254122)" /> - - - + y2="202.83842" + gradientTransform="translate(-30.106015)" /> - - - - - - - - - - - - + + {% if "animate" in options %} + + {% endif %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + transform="translate(0,10.583333)"> + {% if "animate" in options %} {% endif %} + + + Graphic design by Pom + @PomSSB + Generated with lokrez + @lertsenem@mastodon.lertsenem.com + + + d="m 599.50781,160.6582 v 20.89017 l 1.08399,8.60983 10.04528,1.08399 H 826.1543 v -23.85352 c -4.97789,-2.41853 -9.95397,-4.84079 -14.93164,-7.25976 H 599.50781 Z" + sodipodi:nodetypes="ccccccccc" /> + clip-path="url(#clipPath1856)"> {% if players[1].twitterHandle %} + style="fill:#3d4651;fill-opacity:1;stroke-width:0.00676229" /> @{{players[1].twitterHandle|e}} {% endif %} + transform="scale(1.0577675,0.94538734)"> {% if players[1].prefix %} + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:condensed;font-size:16.7637px;font-family:'Myriad Pro';-inkscape-font-specification:'Myriad Pro Bold Semi-Expanded';fill:#5c708b;fill-opacity:1;stroke-width:0.261933"> {{ players[1].prefix|upper|e }} @@ -1897,7 +2244,7 @@ - + d="m 640.14062,-21.997917 c 0,10.85612 10e-6,21.71223991 0,32.568359 53.84375,0 107.68751,0 161.53126,0 8.76039,-3.9627877 17.51948,-7.9284913 26.27929,-11.8925774 0,-7.0683594 0,-14.1367186 0,-21.2050786 -62.60351,0 -125.20703,0 -187.81055,0 10e-6,0.176432 0,0.352865 0,0.529297 z" /> @SmashAtLyon - Graphic design by Pom - @PomSSB - + style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#000000;fill-opacity:1;stroke-width:0.0088206;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter2355);stop-color:#000000;stop-opacity:1" + d="m 683.48072,11.039062 c -11.4899,0.352819 -22.72005,5.667146 -30.26953,14.337891 -7.36145,8.350808 -11.20375,19.69712 -10.37236,30.804326 0.76009,11.116106 6.12939,21.838099 14.6249,29.056388 8.22785,7.083607 19.25818,10.80054 30.09703,10.081673 10.69616,-0.654034 21.07253,-5.546882 28.32686,-13.445976 7.24784,-7.800694 11.3731,-18.415353 11.23177,-29.068286 -0.0819,-10.849731 -4.53759,-21.595815 -12.20512,-29.282019 -7.82691,-7.941355 -18.90011,-12.585105 -30.0601,-12.501848 -0.45791,-0.0072 -0.91563,0.01151 -1.37345,0.01785 z" /> + + clip-path="url(#clipPath1863)"> {% if players[2].twitterHandle %} + id="player3_twitterIcon" + style="fill:#3d4651;fill-opacity:1;stroke-width:0.00676229" /> @{{players[2].twitterHandle}} + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:semi-expanded;font-size:7.54944px;font-family:'Myriad Pro';-inkscape-font-specification:'Myriad Pro Semi-Bold Semi-Expanded';fill:#3d4651;fill-opacity:1;stroke-width:0.264583" + id="tspan2322">@{{players[2].twitterHandle}} {% endif %} + transform="scale(1.0577675,0.94538734)"> {% if players[2].prefix %} {{tournament.startAt.strftime('%d/%m/%Y')}} + x="462.75067" + y="5.9936314" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:semi-expanded;font-size:6.56548px;font-family:'Myriad Pro';-inkscape-font-specification:'Myriad Pro Bold Semi-Expanded';fill:#565758;fill-opacity:1;stroke-width:0.223823">{{tournament.startAt.strftime('%d/%m/%Y')}} + + clip-path="url(#clipPath1879)"> {% if players[3].twitterHandle %} @{{players[3].twitterHandle|e}} + id="tspan2419">@{{players[3].twitterHandle|e}} {%endif%} + transform="scale(1.0577675,0.94538734)"> {% if players[3].prefix %} + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:condensed;font-size:16.7637px;font-family:'Myriad Pro';-inkscape-font-specification:'Myriad Pro Bold Semi-Expanded';fill:#5c708b;fill-opacity:1;stroke-width:0.261933"> {{ players[3].prefix|upper|e }} @@ -2315,6 +2641,11 @@ id="player5" style="opacity:1" transform="matrix(0.94816767,0,0,0.94816767,-280.88635,-71.18137)"> + + clip-path="url(#clipPath1889)"> {% if players[4].twitterHandle %} @{{players[4].twitterHandle|e}} {% endif %} + transform="scale(1.0577675,0.94538734)"> {% if players[4].prefix %} + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:condensed;font-size:16.7637px;font-family:'Myriad Pro';-inkscape-font-specification:'Myriad Pro Bold Semi-Expanded';fill:#5c708b;fill-opacity:1;stroke-width:0.261933"> {{ players[4].prefix|upper|e }} @@ -2430,6 +2761,11 @@ id="player6" style="opacity:1" transform="matrix(0.94816767,0,0,0.94816767,-280.88635,-28.318867)"> + + clip-path="url(#clipPath1899)"> {% if players[5].twitterHandle %} @{{ players[5].twitterHandle }} {% endif %} + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:condensed;font-size:16.7637px;font-family:'Myriad Pro';-inkscape-font-specification:'Myriad Pro Bold Semi-Expanded';fill:#5c708b;fill-opacity:1;stroke-width:0.261933"> {{ players[5].prefix|upper|e }} @@ -2548,6 +2884,11 @@ id="player7" style="opacity:1" transform="matrix(0.91960933,0,0,0.91960933,-257.21425,24.085804)"> + + clip-path="url(#clipPath1910)"> {% if players[6].twitterHandle %} @{{players[6].twitterHandle|e}} {% endif %} + transform="scale(1.0577675,0.94538734)"> {% if players[6].prefix %} {% endif %} + style="fill:#ffffff;fill-opacity:1;stroke-width:0.261933" + id="tspan2591"> {{ players[6].gamerTag|upper|e }} @@ -2665,6 +3006,11 @@ id="player8" style="opacity:1" transform="matrix(0.91960933,0,0,0.91960933,-257.21425,65.889976)"> + + clip-path="url(#clipPath1917)"> {% if players[7].twitterHandle %} @{{players[7].twitterHandle|e}} {% endif %} + + d="m 599.53516,160.6582 1.05664,29.5 11.66244,1.05664 h 213.87271 v -23.80859 c -4.97077,-2.41517 -9.94032,-4.83289 -14.91015,-7.25 H 599.53516 Z" + sodipodi:nodetypes="cccccccc" /> {% if players[0].twitterHandle %} + style="fill:#3d4651;fill-opacity:1;stroke-width:0.00676229" /> @{{players[0].twitterHandle|e}} + style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:semi-expanded;font-size:7.54944px;font-family:'Myriad Pro';-inkscape-font-specification:'Myriad Pro Semi-Bold Semi-Expanded';fill:#3d4651;fill-opacity:1;stroke-width:0.264583" + id="tspan2225">@{{players[0].twitterHandle|e}} {% endif %}