infima
Version:
A UI framework for content-centric websites.
35 lines (31 loc) • 789 B
CSS
:root {
--ifm-heading-color: inherit;
--ifm-heading-margin-top: 0;
--ifm-heading-margin-bottom: var(--ifm-spacing-vertical);
--ifm-heading-font-family: inherit;
--ifm-heading-font-weight: var(--ifm-font-weight-bold);
--ifm-heading-line-height: 1.25;
--ifm-h1-font-size: 2rem;
--ifm-h2-font-size: 1.5rem;
--ifm-h3-font-size: 1.25rem;
--ifm-h4-font-size: 1rem;
--ifm-h5-font-size: 0.875rem;
--ifm-h6-font-size: 0.85rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--ifm-heading-color);
font-weight: var(--ifm-heading-font-weight);
line-height: var(--ifm-heading-line-height);
margin-bottom: var(--ifm-heading-margin-bottom);
margin-top: var(--ifm-heading-margin-top);
}
@for $size from 1 to 6 {
h$(size) {
font-size: var(--ifm-h$(size)-font-size);
}
}