0.1.0 fix css
This commit is contained in:
@@ -1 +1 @@
|
||||
style="width: 100%;padding-top: 30px;{% if block.bg_image %} background: url({{ MEDIA_URL }}{{ block.bg_image }}); background-size: cover; background-repeat: no-repeat; background-position: top;{% elif block.bg_color %} background: {{ block.bg_color }}{% endif %}"
|
||||
style="width: 100%;padding: 50px 0;{% if block.bg_image %} background: url({{ MEDIA_URL }}{{ block.bg_image }}); background-size: cover; background-repeat: no-repeat; background-position: top;{% elif block.bg_color %} background: {{ block.bg_color }}{% endif %}"
|
||||
|
||||
@@ -1,24 +1,26 @@
|
||||
{% load static %}
|
||||
{% load i18n %}
|
||||
<div {% include "block_settings/blocks_settings.html" %}>
|
||||
<div class="cut-width">
|
||||
<div class="block_service two_cols">
|
||||
{% for service in services %}
|
||||
<div class="service_block_container two_cols">
|
||||
<div class="service_container">
|
||||
{% if service.picture %}
|
||||
<div class="left_part_service">
|
||||
<img class="service_img" src="{{ MEDIA_URL }}{{ service.picture }}">
|
||||
{% if services %}
|
||||
<div {% include "block_settings/blocks_settings.html" %}>
|
||||
<div class="cut-width">
|
||||
<div class="block_service two_cols">
|
||||
{% for service in services %}
|
||||
<div class="service_block_container two_cols">
|
||||
<div class="service_container">
|
||||
{% if service.picture %}
|
||||
<div class="left_part_service">
|
||||
<img class="service_img" src="{{ MEDIA_URL }}{{ service.picture }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="right_part_service two_cols standart_txt {% if not service.picture %}w_100{% endif %}">
|
||||
{{ service.name }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="right_part_service two_cols standart_txt {% if not service.picture %}w_100{% endif %}">
|
||||
{{ service.name }}
|
||||
<div class="clear_both"></div>
|
||||
|
||||
</div>
|
||||
<div class="clear_both"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -3,16 +3,17 @@
|
||||
{% include 'blocks/dynamic/b_sections_buttons.html' %}
|
||||
|
||||
<div class="cut-width">
|
||||
{% if page.description or page.title %}
|
||||
<div style="padding-top: 40px;">
|
||||
<div style="padding-top: 40px;">
|
||||
{% if page.description or page.title %}
|
||||
|
||||
{% if page.description %}
|
||||
<div class="description_page standart_txt">{{ page.description }}</div>
|
||||
{% endif %}
|
||||
{% if page.title %}
|
||||
<div class="title_page standart_txt">{{ page.title }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if page.page_scheme == 'projecting' %}
|
||||
|
||||
Reference in New Issue
Block a user