fix in librarian
[wolnelektury.git] / apps / sponsors / templates / sponsors / page.html
index 94f6c30..5a3b38e 100644 (file)
@@ -1,15 +1,16 @@
+{% spaceless %}
+<style type="text/css">.sponsors-page a{background-image:url({{ page.sprite.url }});}</style>
 <div class="sponsors-page">
     {% for column in sponsors %}
         <div class="sponsors-column">
             <p class="sponsors-column-name">{{ column.name|default:"&nbsp;" }}</p>
-            <div class='sponsors'>
+            <div class='sponsor-logos'>
                 {% for offset, sponsor in column.sponsors %}
-                    <a href="{{ sponsor.url }}" title="{{ sponsor.description }}" 
-                        style='display:block; background: url({{ page.sprite.url }}) 0px {{ offset }}px no-repeat; width: 120px; height: 120px;'>
-                    </a>
+                    <a href="{{ sponsor.url }}" title="{{ sponsor.description }}" style='background-position: 0px {{ offset }}px;'></a>
                 {% endfor %}
             </div>
         </div>
     {% endfor %}
     <div style="clear: both"></div>
-</div>
\ No newline at end of file
+</div>
+{% endspaceless %}