Add shadow to template meltdownlyon2020

Add a backdrop shadow behind the player rank for better readability.
master
Lertsenem 2020-09-02 09:12:01 +02:00
parent 292a5cf413
commit 0a219ca856
1 changed files with 36 additions and 3 deletions

View File

@ -37,6 +37,33 @@
d="m 422.17129,58.530468 -1.83138,6.174763 261.99284,-9.85683 z"
style="fill:#ff3402;fill-opacity:0.424731;fill-rule:evenodd;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</clipPath>
<radialGradient
inkscape:collect="always"
xlink:href="#lineargradient_nbr_bg"
id="gradient_nbr_bg"
cx="60.621529"
cy="147.42906"
fx="60.621529"
fy="147.42906"
r="7.0438771"
gradientTransform="matrix(1,0,0,1.6180339,3.9583332e-7,-133.4495)"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="lineargradient_nbr_bg"
inkscape:collect="always">
<stop
id="stop5412"
offset="0"
style="stop-color:#111111;stop-opacity:1" />
<stop
style="stop-color:#111111;stop-opacity:0.97843558"
offset="0.36674467"
id="stop5475" />
<stop
id="stop5414"
offset="1"
style="stop-color:#111111;stop-opacity:0.03007471" />
</linearGradient>
<linearGradient
gradientTransform="translate(0,37.041668)"
gradientUnits="userSpaceOnUse"
@ -4564,9 +4591,7 @@
</g>
</g>
</g>
<g
clip-path="url(#player{{loop.index}}_msk)"
>
<g clip-path="url(#player{{loop.index}}_msk)">
<image
id="player{{loop.index}}_char1"
xlink:href="{{dir_res_ssbu}}/{{p.get_mains()[0][0]|e}}/chara_3_{{p.get_mains()[0][0]|e}}_{{p.get_mains()[0][1]}}.png"
@ -4583,6 +4608,13 @@
</g>
<g
id="player{{loop.index}}_nbr">
<rect
style="display:inline;opacity:1;fill:url(#gradient_nbr_bg);fill-opacity:1;stroke:none;stroke-width:0.321781;stroke-linejoin:round;stroke-opacity:1"
id="player{{loop.index}}_nbr_bg"
width="14.087754"
height="22.794464"
x="53.577652"
y="93.698494" />
<text
transform="matrix(0.9289507,0,0.0219321,1.0764834,0,0)"
id="text2995"
@ -4623,6 +4655,7 @@
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:condensed;font-size:20.4611px;font-family:Impact;-inkscape-font-specification:'Impact Condensed';fill:#93e700;fill-opacity:1;stroke-width:0.264583px"
>
{{p.prefix|upper|e}}
<tspan xml:space="preserve"></tspan>
</tspan>
{% endif %}
<tspan