1
0
forked from nat/webbed-site

add style for new image captioning

This commit is contained in:
gnat 2024-07-27 15:26:24 -07:00
parent 4badb94386
commit fda5e83a47

View File

@ -227,7 +227,7 @@ section {
.ignore-section {
background: var(--bg);
box-shadow: none;
margin: none;
margin: 0;
padding: 5px 10px;
}
@ -365,6 +365,30 @@ image-container {
height: auto;
}
figure {
display: flex;
flex-direction: column;
justify-content: flex-start;
max-width: 125%;
background: var(--bg);
margin: 0;
margin-bottom: 15px;
> img {
height: auto;
padding: 10px;
padding-bottom: 0;
}
> figcaption {
display: flex;
justify-content: center;
text-align: center;
padding: 5px;
margin: 0;
}
}
flex-column {
width: 100%;
display: flex;