Skip to content
Snippets Groups Projects
Unverified Commit 35bc1836 authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Merge pull request #14 from noesya/Block/image

Block/image
parents 56e5cced a9c1e722
No related branches found
No related tags found
No related merge requests found
// .block-image
// img
// height: auto
// max-width: 100%
// figcaption
// margin-top: map-get($spacers, 3)
// p
// margin-bottom: 0
// @include in-page-without-aside
// @include media-breakpoint-up(md)
// figcaption
// align-items: baseline
// display: flex
// justify-content: space-between
// p
// max-width: 40%
\ No newline at end of file
.block-image
img
display: block
height: auto
max-width: 100%
figcaption
margin-top: $spacing1
p
margin-bottom: 0
margin-top: 0
.credit
p
@extend .small
@include in-page-without-aside
@include media-breakpoint-up(md)
figcaption
align-items: baseline
display: flex
justify-content: space-between
> *
max-width: 40%
......@@ -36,7 +36,7 @@
<p>{{ partial "PrepareHTML" $title }}</p>
{{ end -}}
{{- if partial "PrepareHTML" .credit }}
<p><small>{{ partial "PrepareHTML" .credit }}</small></p>
<div class="credit">{{ partial "PrepareHTML" .credit }}</div>
{{ end -}}
</figcaption>
</figure>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment