ADS System
authorcain-ish <mariusz.machuta@gmail.com>
Tue, 22 Mar 2016 13:29:54 +0000 (14:29 +0100)
committercain-ish <mariusz.machuta@gmail.com>
Tue, 22 Mar 2016 13:29:54 +0000 (14:29 +0100)
edumed/static/css/base.scss
edumed/static/img/ads/960x150_edukacjaMedialna.jpg [deleted file]
edumed/static/img/banners/960x150_edukacjaMedialna.jpg [new file with mode: 0644]
edumed/templates/base_super.html

index 1f6d195..b68b892 100644 (file)
@@ -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/ads/960x150_edukacjaMedialna.jpg
deleted file mode 100644 (file)
index c3a9819..0000000
Binary files a/edumed/static/img/ads/960x150_edukacjaMedialna.jpg and /dev/null differ
diff --git a/edumed/static/img/banners/960x150_edukacjaMedialna.jpg b/edumed/static/img/banners/960x150_edukacjaMedialna.jpg
new file mode 100644 (file)
index 0000000..c3a9819
Binary files /dev/null and b/edumed/static/img/banners/960x150_edukacjaMedialna.jpg differ
index 5705721..156cff7 100644 (file)
@@ -26,7 +26,7 @@
     </head>
     <body id="{% block body-id %}body{% endblock %}">
         {% load fnp_annoy %}{% annoy %}
-        <div id="ads">
+        <div id="banners">
             <a href="https://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/">
                 <img src="{% static 'img/ads/960x150_edukacjaMedialna.jpg' %}"
                      alt="Wesprzyj działalność Nowoczesnej Polski"/>