mirror of
https://github.com/olehomelchenko/olehomelchenko.com.git
synced 2026-02-05 02:54:37 +00:00
feat: custom theme
This commit is contained in:
31
scss/_typography.scss
Normal file
31
scss/_typography.scss
Normal file
@@ -0,0 +1,31 @@
|
||||
// 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);
|
||||
}
|
||||
Reference in New Issue
Block a user