From 1bbcf6254ccbfeeaa1aae9ec63d3582ef13ca5a6 Mon Sep 17 00:00:00 2001 From: cain-ish Date: Tue, 22 Mar 2016 14:29:54 +0100 Subject: [PATCH 1/1] ADS System --- edumed/static/css/base.scss | 6 ++++-- .../{ads => banners}/960x150_edukacjaMedialna.jpg | Bin edumed/templates/base_super.html | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) rename edumed/static/img/{ads => banners}/960x150_edukacjaMedialna.jpg (100%) diff --git a/edumed/static/css/base.scss b/edumed/static/css/base.scss index 1f6d195..b68b892 100644 --- a/edumed/static/css/base.scss +++ b/edumed/static/css/base.scss @@ -21,9 +21,10 @@ body { clear: both; } -#ads { +#banners { display: inline-block; - width: 100%; + margin: 0 auto 1.4375em; + width: 58.75em; > a { display: block; @@ -33,6 +34,7 @@ body { img { display: block; margin: 0 auto; + width: 100%; } } #header-wrapper { diff --git a/edumed/static/img/ads/960x150_edukacjaMedialna.jpg b/edumed/static/img/banners/960x150_edukacjaMedialna.jpg similarity index 100% rename from edumed/static/img/ads/960x150_edukacjaMedialna.jpg rename to edumed/static/img/banners/960x150_edukacjaMedialna.jpg diff --git a/edumed/templates/base_super.html b/edumed/templates/base_super.html index 5705721..156cff7 100644 --- a/edumed/templates/base_super.html +++ b/edumed/templates/base_super.html @@ -26,7 +26,7 @@ {% load fnp_annoy %}{% annoy %} -
+