add hope, add styling for figcaption to do photo credits

This commit is contained in:
2026-05-05 14:09:32 -07:00
parent db1d6d9563
commit bab32fc113
5 changed files with 82 additions and 6 deletions

View File

@ -29,16 +29,34 @@
}
}
.topic img {
.topic figure,
.topic > img {
grid-area: img;
}
.topic img {
border-radius: 1rem;
}
.topic figcaption {
text-align: center;
margin-top: .25rem;
}
@media (max-width: 950px) {
.topic img {
border-radius: 1rem 1rem 0 0;
.topic figure,
.topic > img {
border-bottom: .25rem solid var(--color-accent);
}
.topic > img {
border-radius: 1rem 1rem 0 0;
}
.topic figcaption {
text-align: right;
margin-bottom: 1rem;
}
}
.topic h1,