css: fix figcaption, abandon baseline grid
Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
parent
90fc188eb2
commit
29ed1d8e54
1 changed files with 2 additions and 10 deletions
|
@ -228,24 +228,16 @@ article {
|
||||||
}
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
height: 20*$ls;
|
|
||||||
padding-bottom: 2*$ls;
|
|
||||||
margin: 2*$ls 0 0;
|
margin: 2*$ls 0 0;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
object-fit: contain;
|
|
||||||
}
|
|
||||||
|
|
||||||
img.fill {
|
|
||||||
object-fit: cover;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
figcaption {
|
figcaption {
|
||||||
height: 2*$ls;
|
margin: $ls 0;
|
||||||
line-height: 2*$ls;
|
line-height: $ls;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
color: var(--fadeColor);
|
color: var(--fadeColor);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue