Files
olehomelchenko.com/scss/_typography.scss
2026-01-10 05:15:42 +02:00

32 lines
594 B
SCSS

// Body text
body {
font-family: $font-family-sans-serif;
font-optical-sizing: auto;
}
// Headings
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
font-family: $headings-font-family;
font-optical-sizing: auto;
color: var(--color-text);
}
// Code blocks
code, pre, kbd, samp {
font-family: $font-family-monospace;
}
// Quarto-specific code blocks
.sourceCode {
font-family: $font-family-monospace;
}
// Inline code
p code, li code {
font-family: $font-family-monospace;
background-color: rgba(45, 42, 38, 0.05);
padding: 0.2em 0.4em;
color: var(--color-text);
}