File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 66{% if logo_place == "download" %}
77{% comment %}cache for 1 day{% endcomment %}
88{% cache 86400 CACHED_DOWNLOAD_SPONSORS_LIST %}
9- < h2 class ="widget-title "> Sponsors</ h2 >
10- < p > Visionary sponsors help to host Python downloads.</ p >
9+ < h2 class ="widget-title " style ="text-align: center; "> Sponsors</ h2 >
10+ < p style ="text-align: center; "> Visionary sponsors help to host Python downloads.</ p >
11+ < div style ="display: grid; grid-gap: 2em; grid-template-columns: repeat(auto-fit, minmax(150px, 0fr)); align-items: center; justify-content: center; margin-top: 1.5em; ">
1112 {% for sponsorship in sponsorships %}
12- {% thumbnail sponsorship.sponsor.web_logo "x200" format="PNG" quality=100 as im %}
13- < img src ="{{ im.url }} " alt ="{{ sponsorship.sponsor.name }} logo " style ="max-height:200px;max-width:200px;height:auto;width:auto; ">
13+ {% thumbnail sponsorship.sponsor.web_logo "x150" format="PNG" quality=100 as im %}
14+ < div style ="text-align: center; ">
15+ < a href ="{{ sponsorship.sponsor.landing_page_url }} " rel ="sponsored noopener " target ="_blank " style ="border-bottom: 0; ">
16+ < img src ="{{ im.url }} " alt ="{{ sponsorship.sponsor.name }} logo " style ="max-height:150px;max-width:150px;height:auto;width:auto; ">
17+ </ a >
18+ < p style ="margin-top: 0.5em; margin-bottom: 0; font-size: 0.875em; color: #4d4d4d; "> {{ sponsorship.sponsor.name }}</ p >
19+ </ div >
1420 {% endthumbnail %}
1521 {% endfor %}
22+ </ div >
1623{% endcache CACHED_DOWNLOAD_SPONSORS_LIST %}
1724
1825{% elif logo_place == "jobs" %}
You can’t perform that action at this time.
0 commit comments