From: Jan Szejko Date: Fri, 30 Sep 2016 14:36:28 +0000 (+0200) Subject: banners for targi kielce X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/95fff121b0ca8d60381775454e3c81db14cbafd8?ds=inline;hp=8812395c50c9a3e5c5bcdb8980f81b6ae7ae6e32 banners for targi kielce --- diff --git a/edumed/static/css/main.css b/edumed/static/css/main.css index 80bdea8..e9c2ac1 100644 --- a/edumed/static/css/main.css +++ b/edumed/static/css/main.css @@ -9,18 +9,13 @@ display: block; margin-bottom: 1em; width: 10em; - float: left; - } - -#main-promobox a:first-of-type { - padding-top: 0; - border-top-right-radius: 0; - border-top-left-radius: 0; -} - -#main-promobox a:last-of-type { - margin-bottom: 0; -} + float: left; } + #main-promobox a:first-of-type { + padding-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; } + #main-promobox a:last-of-type { + margin-bottom: 0; } #main-promobox h1 { background: #16a487; padding: 1em 1.25em; @@ -34,8 +29,7 @@ padding-top: 1.25em; padding-bottom: 1.25em; border-bottom-right-radius: 0; - border-bottom-left-radius: 0; - } + border-bottom-left-radius: 0; } #main-promobox h1:before { content: url(/static/img/icons/announce_white.png); margin-right: 1.2em; @@ -146,6 +140,10 @@ content: url(/static/img/icons/reference_orange.png); } #main-howto p { margin: 0 0 1.875em 1.4em; } + #main-howto .side-banner img { + display: block; + width: 100%; + margin-bottom: 0.2em; } #main-chosen { clear: left; diff --git a/edumed/static/css/main.scss b/edumed/static/css/main.scss index 1818e60..7d95145 100755 --- a/edumed/static/css/main.scss +++ b/edumed/static/css/main.scss @@ -198,6 +198,11 @@ $px: .0625em; p { margin: 0 0 30*$px 1.4em; } + .side-banner img { + display: block; + width: 100%; + margin-bottom: 0.2em; + } } #main-chosen { diff --git a/edumed/static/img/banners/440px_Forum.jpg b/edumed/static/img/banners/440px_Forum.jpg new file mode 100644 index 0000000..b847807 Binary files /dev/null and b/edumed/static/img/banners/440px_Forum.jpg differ diff --git a/edumed/static/img/banners/440px_Salon-1.jpg b/edumed/static/img/banners/440px_Salon-1.jpg new file mode 100644 index 0000000..47ee486 Binary files /dev/null and b/edumed/static/img/banners/440px_Salon-1.jpg differ diff --git a/edumed/templates/home.html b/edumed/templates/home.html index 2c90fbc..30fb831 100755 --- a/edumed/templates/home.html +++ b/edumed/templates/home.html @@ -2,6 +2,7 @@ {% load catalogue_tags %} {% load course_boxes_toc from curriculum_tags %} {% load chunk from chunks %} +{% load static %} {% block full_title %}Edukacja medialna{% endblock %} @@ -10,27 +11,31 @@ {% catalogue_carousel %}
-

Co nowego?

+

Co nowego?

-{% chunk "promobox" %} + {% chunk "promobox" %}
-

Lekcje:

-{% catalogue_levels_main %} +

Lekcje:

+ {% catalogue_levels_main %}
-

Nasze lekcje to:

- +

Zobacz, jak przeprowadzili je inni.

+ + + + + +