@use "../abstracts/" as *;
@if meta.variable-exists(font-family-bold) {
font-family: $font-family-bold;
font-weight: $font-weight-body;
font-family: $font-family-body;
font-weight: $font-weight-bold;
@if meta.variable-exists(font-family-italic) {
font-family: $font-family-italic;
font-family: $font-family-body;
background-color: $selection-background-color;
// represents side-comments and small print (copyright, legal text, ...)
font-size: $font-size-small;
transform: translateY(0.25ex);
transform: translateY(-0.25ex);
background-color: $color-neutral-700;
color: $color-neutral-000;
font-size: $font-size-200;
// https://jeffbridgforth.com/having-figure-match-width-of-contained-image/
// Don't factor in the figcaption in determining the intrinsic inline-size
// of the parent – or, in other words: size a parent element based on the
// size of a child element, but choose which child element
inline-size: fit-content; // [1]
contain: inline-size; // [2]
font-size: $font-size-200;
@if meta.variable-exists(font-family-italic) {
font-family: $font-family-italic;
font-family: $font-family-body;
// horizontal line: represents a thematic break between paragraph-level elements:
// for example, a change of scene in a story, or a shift of topic within a section.
// https://css-tricks.com/examples/hrs/ simple styles for hr
background: $color-neutral-200;