style: add wp-caption styling

This commit is contained in:
Kazhnuz 2018-12-06 19:44:31 +01:00
parent 9138aa58a5
commit 4682c8836f
2 changed files with 20 additions and 0 deletions

View file

@ -181,3 +181,15 @@
margin-right:0.5em; margin-right:0.5em;
} }
} }
.wp-caption {
img {
max-width: 100%;
height: auto;
}
&-text {
font-size: 0.9em;
font-style: italic;
}
}

View file

@ -1471,3 +1471,11 @@ a.list-group-item:hover {
justify-content: space-between; } justify-content: space-between; }
.article-taxonomies .badge:not(:last-child) { .article-taxonomies .badge:not(:last-child) {
margin-right: 0.5em; } margin-right: 0.5em; }
.wp-caption img {
max-width: 100%;
height: auto; }
.wp-caption-text {
font-size: 0.9em;
font-style: italic; }