forked from deepStateMirrors/tabi
💄 style: set style for figure & figure captions
This commit is contained in:
parent
2c4b64481c
commit
1496f0cf73
2 changed files with 9 additions and 6 deletions
|
@ -6,6 +6,13 @@ figure {
|
|||
height: auto;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
font-family: var(--serif-font);
|
||||
font-size: 0.72rem;
|
||||
color: var(--text-color-2);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
figure img {
|
||||
max-height: 500px;
|
||||
}
|
||||
|
@ -17,12 +24,6 @@ img {
|
|||
height: auto;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 600px) {
|
||||
figure {
|
||||
padding: 0 40px;
|
||||
}
|
||||
}
|
||||
|
||||
figure h4 {
|
||||
font-size: 1rem;
|
||||
margin: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue