feat: styles for post figures
This commit is contained in:
parent
2552bc1e9c
commit
629578bdb4
1 changed files with 17 additions and 1 deletions
|
|
@ -122,4 +122,20 @@ main {
|
||||||
padding: .75rem;
|
padding: .75rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
max-width: 100%;
|
||||||
|
background-color: v.$color_hr;
|
||||||
|
border: 1px solid v.$color_tertiary;
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
figure img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
figcaption p {
|
||||||
|
margin: 4px 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue