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