Improved infobox columns
This commit is contained in:
parent
f289f729bb
commit
a1fccd095a
5 changed files with 15 additions and 4 deletions
|
@ -28,7 +28,7 @@
|
|||
</div>
|
||||
|
||||
<!-- Infoblocks -->
|
||||
<div class="row">
|
||||
<div class="row infoblocks">
|
||||
{% for block in page.trans_body %}
|
||||
{% if block.block_type == 'info' %}
|
||||
<article class="col-md-4">
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
</div>
|
||||
|
||||
<!-- Infoblocks -->
|
||||
<div class="row">
|
||||
<div class="row infoblocks">
|
||||
{% for block in page.trans_body %}
|
||||
{% if block.block_type == 'info' %}
|
||||
<article class="col-md-4">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<section id="three" class="wrapper align-center">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="row infoblocks">
|
||||
{% for block in page.trans_infos %}
|
||||
<article class="col-md-4">
|
||||
<div class="image">
|
||||
|
@ -19,4 +19,4 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
|
|
|
@ -27,6 +27,10 @@ section {
|
|||
clear: both;
|
||||
}
|
||||
|
||||
.infoblocks article:nth-child(4) {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
// Responsive image/video classes
|
||||
.rich-text img {
|
||||
max-width: 100%;
|
||||
|
|
|
@ -8576,6 +8576,9 @@ section h1 {
|
|||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.article-body {
|
||||
line-height: 1.5;
|
||||
}
|
||||
.article-body h2 {
|
||||
font-size: 35px;
|
||||
}
|
||||
|
@ -8593,6 +8596,10 @@ section h1 {
|
|||
clear: both;
|
||||
}
|
||||
|
||||
.infoblocks article:nth-child(4) {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.rich-text img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
|
|
Loading…
Reference in a new issue