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 {
|
||||
height: 20*$ls;
|
||||
padding-bottom: 2*$ls;
|
||||
margin: 2*$ls 0 0;
|
||||
|
||||
img {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: block;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
img.fill {
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
height: 2*$ls;
|
||||
line-height: 2*$ls;
|
||||
margin: $ls 0;
|
||||
line-height: $ls;
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
color: var(--fadeColor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue