💄 style: set style for figure & figure captions
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user