From: cain-ish <mariusz.machuta@gmail.com> Date: Mon, 21 Mar 2016 12:07:47 +0000 (+0100) Subject: ADS System X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/25d7117c43f275233643bc2c7d478fc69e552d02?ds=sidebyside ADS System --- diff --git a/edumed/static/css/base.scss b/edumed/static/css/base.scss index 567c0fb..1f6d195 100644 --- a/edumed/static/css/base.scss +++ b/edumed/static/css/base.scss @@ -20,6 +20,21 @@ body { .clr { clear: both; } + +#ads { + display: inline-block; + width: 100%; + + > a { + display: block; + width: 100%; + } + + img { + display: block; + margin: 0 auto; + } +} #header-wrapper { background-image: url(../img/header-bar.png); background-repeat: repeat-x; diff --git a/edumed/templates/base_super.html b/edumed/templates/base_super.html index 3a7e794..5705721 100644 --- a/edumed/templates/base_super.html +++ b/edumed/templates/base_super.html @@ -26,6 +26,12 @@ </head> <body id="{% block body-id %}body{% endblock %}"> {% load fnp_annoy %}{% annoy %} + <div id="ads"> + <a href="https://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/"> + <img src="{% static 'img/ads/960x150_edukacjaMedialna.jpg' %}" + alt="Wesprzyj dziaÅalnoÅÄ Nowoczesnej Polski"/> + </a> + </div> <div id="header-wrapper"> <header class="main {% block header_class %}{% endblock %}" style="position:relative;"> <!--img