Commit 1b35f967 authored by Mat's avatar Mat

légende image

parent 2ce8dfb7
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
<p>Créée le {{ image.createdAt.format('d/m/Y') }}, <p>Créée le {{ image.createdAt.format('d/m/Y') }},
par {{ image.getOwner().firstname }} {{ image.getOwner().lastname }}</p> par {{ image.getOwner().firstname }} {{ image.getOwner().lastname }}</p>
<div class="cadre"> <figure class="cadre">
<img src="{{ image.path }}" alt="{{ image.name }}" title="{{ image.name }}" class="image" /> <img src="{{ image.path }}" alt="{{ image.name }}" title="{{ image.name }}" class="image" />
</div> <figcaption>{{ image.legend }}</figcaption>
<p class="legend">{{ image.legend }}</p> </figure>
{% endblock %} {% endblock %}
...@@ -151,14 +151,23 @@ aside h3 { ...@@ -151,14 +151,23 @@ aside h3 {
text-transform: uppercase; text-transform: uppercase;
font-size: 25pt; font-size: 25pt;
} }
div.cadre { figure.cadre {
box-shadow: 0 0 20px -6px black; box-shadow: 0 0 20px -6px black;
margin: 2em; margin: 2em;
width: 464px; width: 464px;
background-color: white;
} }
div.cadre img { figure.cadre img {
margin: 2em; margin: 2em;
} }
figure.cadre figcaption {
text-align: center;
font-style: italic;
padding-bottom: 0.5em;
margin-top: -0.5em;
color: grey;
font-size: 10pt;
}
.breadcrumb { .breadcrumb {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment