InkSoul/themes/meme_cdn/assets/scss/base/_font-family.scss

65 lines
1.4 KiB
SCSS

@if variable-exists("fontFamilySiteBrand") {
.site-brand {
font-family: $fontFamilySiteBrand;
}
}
@if variable-exists("fontFamilyMenu") {
.menu {
font-family: $fontFamilyMenu;
}
}
@if variable-exists("fontFamilyTitle") {
.list-title, .term-title, .list-year, .list-month, .post-title, .post-subtitle, .related-title, .post-nav, thead, dt {
font-family: $fontFamilyTitle;
}
}
@if variable-exists("fontFamilyHeadings") {
.post-body {
h1, h2, h3, h4, h5, h6 {
font-family: $fontFamilyHeadings;
}
}
.contents-title {
font-family: $fontFamilyHeadings;
}
}
@if variable-exists("fontFamilyCode") {
code, pre, sup, .post-meta, .updated-badge, .post-gitinfo, .minimal-footer, .minimal-footer-about, .busuanzi-site-uv-and-pv, .copy-button {
font-family: $fontFamilyCode;
}
}
@if variable-exists("fontFamilyQuote") {
blockquote {
font-family: $fontFamilyQuote;
}
}
@if variable-exists("fontFamilyTOC") {
.contents {
font-family: $fontFamilyTOC;
}
}
@if variable-exists("fontFamilyCaption") {
.caption {
font-family: $fontFamilyCaption;
}
}
@if variable-exists("fontFamilyFooter") {
.footer {
font-family: $fontFamilyFooter;
}
}
@if variable-exists("fontFamilyBody") {
body {
font-family: $fontFamilyBody;
}
}