mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Add some margins to image figures
This commit is contained in:
parent
522e322cf5
commit
aa9576e91d
1 changed files with 8 additions and 2 deletions
|
@ -501,13 +501,19 @@ ins,
|
||||||
* figure captions shouldn't look like regular paragraphs; there should
|
* figure captions shouldn't look like regular paragraphs; there should
|
||||||
* be some extra space.
|
* be some extra space.
|
||||||
* This does not hold true for figures in somewhat distinct sections; the
|
* This does not hold true for figures in somewhat distinct sections; the
|
||||||
* section should instead get the spacing. A section that constitutes a
|
* parent section should instead get the spacing. A section that
|
||||||
* separate schema.org object would qualify. */
|
* constitutes a separate schema.org object would qualify. */
|
||||||
figure,
|
figure,
|
||||||
section[itemprop="mentions"] {
|
section[itemprop="mentions"] {
|
||||||
margin: 1.5em 0;
|
margin: 1.5em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* image captions, on the other hand, should look more separate from
|
||||||
|
* surrounding paragraphs. */
|
||||||
|
figure[itemtype="https://schema.org/ImageObject"] {
|
||||||
|
margin: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
section[itemprop="mentions"] > figure {
|
section[itemprop="mentions"] > figure {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue