From db036d174ce735bb5d9d4b7f8848fd2d4affe797 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 22 Mar 2016 14:49:28 +0100 Subject: [PATCH 1/1] fix banner --- edumed/static/css/base.css | 13 +++++++------ edumed/static/css/base.scss | 1 - edumed/templates/base_super.html | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/edumed/static/css/base.css b/edumed/static/css/base.css index 463057b..2d17d6e 100644 --- a/edumed/static/css/base.css +++ b/edumed/static/css/base.css @@ -16,15 +16,16 @@ body { .clr { clear: both; } -#ads { - display: inline-block; - width: 100%; } - #ads > a { +#banners { + margin: 0 auto; + width: 58.75em; } + #banners > a { display: block; width: 100%; } - #ads img { + #banners img { display: block; - margin: 0 auto; } + margin: 0 auto; + width: 100%; } #header-wrapper { background-image: url(../img/header-bar.png); diff --git a/edumed/static/css/base.scss b/edumed/static/css/base.scss index 0ae9648..b422a2d 100644 --- a/edumed/static/css/base.scss +++ b/edumed/static/css/base.scss @@ -22,7 +22,6 @@ body { } #banners { - display: inline-block; margin: 0 auto; width: 58.75em; diff --git a/edumed/templates/base_super.html b/edumed/templates/base_super.html index 156cff7..b138191 100644 --- a/edumed/templates/base_super.html +++ b/edumed/templates/base_super.html @@ -28,7 +28,7 @@ {% load fnp_annoy %}{% annoy %}
- Wesprzyj działalność Nowoczesnej Polski
-- 2.20.1