From af98f70dfd556239487aef68b4db392f6a7810fa Mon Sep 17 00:00:00 2001 From: cain-ish Date: Tue, 22 Mar 2016 14:26:56 +0100 Subject: [PATCH] ADS system --- lib/librarian | 2 +- .../img/{ads => banners}/960x150_wolneLektury.jpg | Bin src/wolnelektury/static/scss/main/header.scss | 3 ++- src/wolnelektury/templates/superbase.html | 14 +++++++------- 4 files changed, 10 insertions(+), 9 deletions(-) rename src/wolnelektury/static/img/{ads => banners}/960x150_wolneLektury.jpg (100%) diff --git a/lib/librarian b/lib/librarian index 50851315e..7dfc6d9f0 160000 --- a/lib/librarian +++ b/lib/librarian @@ -1 +1 @@ -Subproject commit 50851315ec74af3cad225137935de36904c4c29b +Subproject commit 7dfc6d9f0ffa6fa6f66fafca857398ce821d8c0f diff --git a/src/wolnelektury/static/img/ads/960x150_wolneLektury.jpg b/src/wolnelektury/static/img/banners/960x150_wolneLektury.jpg similarity index 100% rename from src/wolnelektury/static/img/ads/960x150_wolneLektury.jpg rename to src/wolnelektury/static/img/banners/960x150_wolneLektury.jpg diff --git a/src/wolnelektury/static/scss/main/header.scss b/src/wolnelektury/static/scss/main/header.scss index ee7da24b0..251df9f87 100755 --- a/src/wolnelektury/static/scss/main/header.scss +++ b/src/wolnelektury/static/scss/main/header.scss @@ -1,7 +1,7 @@ $header_bg: #191919; $small_logo: .9; -#ads { +#banners { display: inline-block; width: 100%; @@ -13,6 +13,7 @@ $small_logo: .9; img { display: block; margin: 0 auto; + width: 100% } } diff --git a/src/wolnelektury/templates/superbase.html b/src/wolnelektury/templates/superbase.html index 9a9786408..139fc1624 100644 --- a/src/wolnelektury/templates/superbase.html +++ b/src/wolnelektury/templates/superbase.html @@ -39,13 +39,6 @@ {{ current_offer.endif }} {% endif %} -
- - Wesprzyj działalność Nowoczesnej Polski - -
-
@@ -103,6 +96,7 @@ {{ user_username.if }}
  • {% trans "Logout" %}
  • {{ user_username.else }} @@ -141,6 +135,12 @@
    +
    + + Wesprzyj działalność Nowoczesnej Polski + +
    {% block body %} {% endblock %}
    -- 2.20.1