add hope, add styling for figcaption to do photo credits
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user