fix bordered picture
This commit is contained in:
parent
5a6e11ec80
commit
0805c8183b
@ -62,8 +62,8 @@ main {
|
||||
}
|
||||
|
||||
.bordered-picture .caption__overlay {
|
||||
margin-left: 11.5%;
|
||||
margin-right: 11.5%;
|
||||
margin-left: 11.5% !important;
|
||||
margin-right: 11.5% !important;
|
||||
}
|
||||
|
||||
.caption .card-panel {
|
||||
@ -71,4 +71,11 @@ main {
|
||||
padding: 1px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
.bordered-picture img {
|
||||
height: 77%;
|
||||
width: 77%;
|
||||
margin-left: 11.5%;
|
||||
margin-right: 11.5%;
|
||||
}
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
{% set image = Image(section.image) %}
|
||||
{% set caption = section.text %}
|
||||
{{ image.copy()}}
|
||||
<div class="bordered-picture baguette caption">
|
||||
{% set image = Image(section.image) %}
|
||||
{% set caption = section.text %}
|
||||
{{ image.copy()}}
|
||||
<a href="{{ image }} {% if caption %}data-caption="{{ caption }}"{% endif %}>
|
||||
<a href="{{ image }}" {% if caption %}data-caption="{{ caption }}"{% endif %}>
|
||||
<img class="responsive-img" src="{{ image.generate_thumbnail("x2000") }}">
|
||||
{% if caption %}
|
||||
<div class="caption__overlay card-panel center">
|
||||
|
Loading…
x
Reference in New Issue
Block a user