Fixing widths
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 14 May 2013 11:44:57 +0000 (13:44 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 3 Jun 2013 08:03:13 +0000 (10:03 +0200)
apps/funding/static/funding/funding.scss
apps/funding/templates/funding/tags/funding.html
apps/wolnelektury_core/templates/superbase.html

index cf4f8c3..50fb864 100755 (executable)
@@ -1,8 +1,7 @@
 .funding {
     background: orange;
     margin: auto;
-    padding: 5px;
-    width: 97.5em;
+    padding: 5px 0;
     a.call {
         height: 1.2em;
         width: 9em;
@@ -42,7 +41,7 @@
         box-shadow: .1em .1em .1em #888;
     }
     .with-button .progress {
-        width: 73em;
+        width: 78em;
     }
     
     .funding-title {
     
 }
 
+.funding-top-header {
+    @extend: .funding;
+    width: 97.5em;
+}
+
 
 .wlfund {
     width: 100%;
index ec6f297..751f59f 100755 (executable)
@@ -2,7 +2,7 @@
 {% load time_tags %}
 {% if offer %}
 {% spaceless %}
-<div class="funding" style="">
+<div class="funding {{ add_class }}" style="">
     {% if link and is_current %}
         <div style="float:left; padding-right: .6em;">
             <a class="call honking" href="{% url 'funding_current' offer.slug %}">
index 80d73c7..58fddff 100644 (file)
@@ -35,7 +35,7 @@
         {% include "annoy.html" %}
 
         {% block bodycontent %}
-        {% funding link=1 %}
+        {% funding link=1 add_class="funding-top-header" %}
                <div id="header-bg"></div>
 
         <div id="header">