Skip to content
Snippets Groups Projects
Commit 0964d3b5 authored by jan.bednarik's avatar jan.bednarik
Browse files

senat campaign: Update program page

parent d9b5555b
No related branches found
No related tags found
No related merge requests found
...@@ -1110,16 +1110,21 @@ article img { ...@@ -1110,16 +1110,21 @@ article img {
/* ARTICLE CONTENT */ /* ALT PRIORITIES */
.priority-alt {
margin-bottom: 3rem;
}
.priority-alt__icon { .priority-alt__icon {
max-width: 8rem; width: 5rem;
margin-right: 1.6rem; margin-right: 1.6rem;
flex-shrink: 0;
} }
.priority-alt__content { .priority-alt__content {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 2rem; margin-bottom: 1rem;
} }
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
<div class="col-12 col-lg-8 col-xl-7 mb-4 mb-lg-0"> <div class="col-12 col-lg-8 col-xl-7 mb-4 mb-lg-0">
{% for item in page.content %} {% for item in page.content %}
<div class="priority-alt mb-4 richtext"> <div class="priority-alt richtext">
<div class="priority-alt__content"> <div class="priority-alt__content">
<div class="priority-alt__icon"> <div class="priority-alt__icon">
{% image item.value.image fill-160x160 as img %} {% image item.value.image fill-160x160 as img %}
<img data-src="{{ img.url }}" class="lazyload img-fluid" alt="{{ img.alt }}"> <img data-src="{{ img.url }}" class="lazyload img-fluid" alt="{{ img.alt }}">
</div> </div>
<h3 class="lead page-subheading">{{ item.value.title }}</h3> <h3>{{ item.value.title }}</h3>
</div> </div>
{{ item.value.body|richtext }} {{ item.value.body|richtext }}
</div><!-- /priority-alt --> </div><!-- /priority-alt -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment