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>
|
</div>
|
||||||
|
|
||||||
<!-- Infoblocks -->
|
<!-- Infoblocks -->
|
||||||
<div class="row">
|
<div class="row infoblocks">
|
||||||
{% for block in page.trans_body %}
|
{% for block in page.trans_body %}
|
||||||
{% if block.block_type == 'info' %}
|
{% if block.block_type == 'info' %}
|
||||||
<article class="col-md-4">
|
<article class="col-md-4">
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Infoblocks -->
|
<!-- Infoblocks -->
|
||||||
<div class="row">
|
<div class="row infoblocks">
|
||||||
{% for block in page.trans_body %}
|
{% for block in page.trans_body %}
|
||||||
{% if block.block_type == 'info' %}
|
{% if block.block_type == 'info' %}
|
||||||
<article class="col-md-4">
|
<article class="col-md-4">
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<section id="three" class="wrapper align-center">
|
<section id="three" class="wrapper align-center">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row infoblocks">
|
||||||
{% for block in page.trans_infos %}
|
{% for block in page.trans_infos %}
|
||||||
<article class="col-md-4">
|
<article class="col-md-4">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
|
|
|
@ -27,6 +27,10 @@ section {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.infoblocks article:nth-child(4) {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
// Responsive image/video classes
|
// Responsive image/video classes
|
||||||
.rich-text img {
|
.rich-text img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
|
@ -8576,6 +8576,9 @@ section h1 {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.article-body {
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
.article-body h2 {
|
.article-body h2 {
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
}
|
}
|
||||||
|
@ -8593,6 +8596,10 @@ section h1 {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.infoblocks article:nth-child(4) {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
.rich-text img {
|
.rich-text img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
Loading…
Reference in a new issue