feat: add custom img shortcode (#71)

This commit is contained in:
Robert Kaussow 2021-02-20 21:39:31 +01:00 committed by GitHub
parent d9daf73afb
commit 1cf78cea4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 222 additions and 2 deletions

View file

@ -54,6 +54,31 @@
img {
max-width: 100%;
border-radius: $border-radius;
}
&__figure {
padding: $padding-4;
margin: $padding-16 0;
background-color: $gray-300;
display: table;
border-top-left-radius: $border-radius;
border-top-right-radius: $border-radius;
figcaption {
display: table-caption;
caption-side: bottom;
background-color: $gray-300;
padding: 0 $padding-4 $padding-4;
text-align: center;
border-bottom-left-radius: $border-radius;
border-bottom-right-radius: $border-radius;
}
img {
max-width: 100%;
height: auto;
}
}
blockquote {