From: Jan Szejko Date: Tue, 22 Mar 2016 13:49:28 +0000 (+0100) Subject: fix banner X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/db036d174ce735bb5d9d4b7f8848fd2d4affe797?hp=e308ec385a4969eb4a95beac68bd52a141f6db5a fix banner --- 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