Move the figure styles to root.css

This commit is contained in:
Eryn Wells 2022-09-25 08:34:54 -07:00
parent f1c56b0eb6
commit 5b1f9e7d08
2 changed files with 37 additions and 36 deletions

View file

@ -51,42 +51,6 @@ blockquote {
margin-inline-start: 2rem;
}
figcaption h4 {
margin-bottom: 0;
}
figure {
border-radius: 0.5rem;
display: inline-block;
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
}
figure a,
figure a:hover {
border: 0;
}
figure img {
border-radius: 0.5rem;
height: auto;
max-width: 100%;
margin-bottom: -3px;
}
figure + p {
margin-top: 1rem;
}
figure .youtube {
line-height: 1;
overflow: hidden;
width: var(--body-width);
}
figure.bordered {
padding: 0.5rem;
border: 2px solid #eee;