All Them Grandkids
Posted on
Tagged opie, andy, gomer : A good evening with G and Issy on Thanksgiving
inserted Markdown style
Love them grandchil'ren. Posted with Markdown.
inserted HTML style
and styled that there caption. Shazam!
I guess if i don't style "figure" or "figcaption", there isn't a whole lot of difference in posting and the Markdown style is definitely easier.
Figcaption is styled in base.njk via CSS defined in HEAD.
I gave the figure and caption a little style with the help of ChatGPT.
border: 1px solid #ccc;
padding: 10px;
margin: 20px auto;
(BC took out the max-width below here.)
text-align: center;
background-color: #f9f9f9;
border-radius: 8px;
}
figcaption {
font-size: 0.9em;
color: #555;
margin-top: 10px;
font-style: italic;
}
figure img {
width: 100%;
height: auto;
border-radius: 5px;
display: block;
margin: 0 auto;
}
figure:hover {
background-color: #eaeaea;
transform: scale(1.02); /* Slight zoom effect */
transition: 0.3s ease;
}