hugo-theme-bootstrap5-blog/source/scss/main.scss

27 lines
496 B
SCSS

/* don't style links in headers */
h1, h2, h3, h4, h5, h6 {
a, a:hover, a:focus {
color: inherit;
text-decoration: none;
}
}
/* use larger height for featured blocks */
.h-300 { height: 300px; }
@media (min-width: 768px) {
.h-md-300 { height: 300px; }
}
/* make sure article images don't escape their parent */
article img {
max-width: 100%;
height: auto;
margin: 13px auto;
}
/* italicize and mute figure captions */
figcaption {
font-style: italic;
color: #727272;
}