hugo-theme-bootstrap5-blog/source/scss/main.scss
Alan Orth 450aa912f0
All checks were successful
continuous-integration/drone/push Build is passing
Revert "Use Roboto for body text"
This reverts commit bd97c3eb3b.

It turns out that this is actually an issue with the native font
stack in Bootstrap v5. Roboto is still in the font stack, but they
added `system-ui` to the beginning of the list and there is some
issue or inconsistency with the system-ui behavior on Linux.

See: https://github.com/twbs/bootstrap/issues/32447
2020-12-12 18:33:43 +02:00

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;
}