fix light theme

This commit is contained in:
Adrien Beudin 2016-05-27 10:04:19 +02:00
parent b3fbc74900
commit b5085247df
2 changed files with 7 additions and 1 deletions

View File

@ -27,12 +27,16 @@ a {
text-decoration: none; text-decoration: none;
} }
.panorama,
.bordered-picture,
.image { .image {
position: relative; position: relative;
width: 100%; width: 100%;
height: auto; height: auto;
} }
.panorama img,
.bordered-picture img,
.image img { .image img {
width: 100%; width: 100%;
height: auto; height: auto;
@ -68,6 +72,8 @@ h3 {
text-transform: uppercase; text-transform: uppercase;
} }
.bordered-picture img,
.panorama img,
.pictures-group img { .pictures-group img {
margin: 15px 0; margin: 15px 0;
display: block; display: block;

View File

@ -1,5 +1,5 @@
{% set image = Image(section.image) %} {% set image = Image(section.image) %}
{{ image.copy() }} {{ image.copy() }}
<section class="image"> <section class="panorama">
<img src="{{ image.generate_thumbnail("x800") }}"> <img src="{{ image.generate_thumbnail("x800") }}">
</section> </section>