Fixed sponsor detections #4
|
@ -28,7 +28,6 @@ svg.propic-border-filter {
|
|||
width:calc(100% - 4mm);
|
||||
border-radius:0.4em;
|
||||
margin:2mm;
|
||||
border:4px solid #546e7a00;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
|
@ -92,3 +91,7 @@ svg.propic-border-filter {
|
|||
.propic-normal {
|
||||
border:4px solid #8e24aa;
|
||||
}
|
||||
|
||||
.propic-base {
|
||||
border:4px solid #546e7a;
|
||||
}
|
|
@ -8,8 +8,8 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
<img alt="Your own profile picture" src="{{imgSrc}}" class="absolute propic {{(('propic-' + order.sponsorship) if not effects else '') if order.sponsorship else 'propic-base'}}"/>
|
||||
<img alt="Your own profile picture" src="{{imgSrc}}" class="propic-filler {{(('propic-' + order.sponsorship) if not effects else '')}}"/>
|
||||
<img alt="Your own profile picture" src="{{imgSrc}}" class="propic-filler {{(('propic-' + order.sponsorship) if not effects else '') if order.sponsorship else 'propic-base'}}"/>
|
||||
{% if flag %}
|
||||
<img alt="A country flag" class="absolute propic-flag" src="/res/flags/{{order.country.lower()}}.svg"/>
|
||||
<img alt="flag" class="absolute propic-flag" src="/res/flags/{{order.country.lower()}}.svg"/>
|
||||
{% endif %}
|
||||
</div>
|
|
@ -17,10 +17,9 @@
|
|||
<div class="grid people" style="padding-bottom:1em;">
|
||||
{% endif %}
|
||||
<div style="margin-bottom: 1em;">
|
||||
<div class="propic-container">
|
||||
<img class="propic propic-{{person.sponsorship}}" src="/res/propic/{{person.ans('propic_fursuiter') or 'default.png'}}" />
|
||||
<img class="propic-flag" src="/res/flags/{{person.country.lower()}}.svg" />
|
||||
</div>
|
||||
{% with order=person, imgSrc='/res/propic/' + (person.ans('propic') or 'default.png'), effects = true, flag = true %}
|
||||
{% include 'blocks/propic.html' %}
|
||||
{% endwith %}
|
||||
<h5>{{person.ans('fursona_name')}}</h5>
|
||||
</div>
|
||||
{% if loop.last %}</div>{% endif %}
|
||||
|
@ -33,10 +32,9 @@
|
|||
<div class="grid people" style="padding-bottom:1em;">
|
||||
{% endif %}
|
||||
<div style="margin-bottom: 1em;">
|
||||
<div class="propic-container">
|
||||
<img class="propic propic-{{person.sponsorship}}" src="/res/propic/{{person.ans('propic_fursuiter') or 'default.png'}}" />
|
||||
<img class="propic-flag" src="/res/flags/{{person.country.lower()}}.svg" />
|
||||
</div>
|
||||
{% with order=person, imgSrc='/res/propic/' + (person.ans('propic') or 'default.png'), effects = true, flag = true %}
|
||||
{% include 'blocks/propic.html' %}
|
||||
{% endwith %}
|
||||
<h5>{{person.ans('fursona_name')}}</h5>
|
||||
</div>
|
||||
{% if loop.last %}</div>{% endif %}
|
||||
|
|
Loading…
Reference in New Issue