From: Guillaume Pellerin Date: Fri, 11 Sep 2015 15:42:33 +0000 (+0200) Subject: fix body padding, update product style X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=de458fa94d97aac0e53cd35702d4972ebea038c6;p=diggersdigest.git fix body padding, update product style --- diff --git a/diggersdigest/static/css/dig2.css b/diggersdigest/static/css/dig2.css index 2746b68..4001045 100644 --- a/diggersdigest/static/css/dig2.css +++ b/diggersdigest/static/css/dig2.css @@ -9,7 +9,7 @@ } body { -/* padding-top: 300px; */ + padding-top: 182px; } hr { @@ -28,4 +28,5 @@ hr { .navbar-default { background: white; + margin-bottom: 30px; } diff --git a/diggersdigest/templates/shop/product.html b/diggersdigest/templates/shop/product.html index a4c94ed..479448c 100644 --- a/diggersdigest/templates/shop/product.html +++ b/diggersdigest/templates/shop/product.html @@ -59,8 +59,9 @@ $(function () { {% block main %} -
+
+
{% if images %} {% spaceless %}
    @@ -87,7 +88,9 @@ $(function () { {% endspaceless %} {% endif %} +
+
  • {{ product.record.artist }}
  • {{ product.record.title }}
  • @@ -133,7 +136,9 @@ $(function () { {% endif %} -
    +
+
+
{% editable product.content %} {{ product.content|richtext_filters|safe }}