Skip to content

Commit

Permalink
fix(css): apply fontFamilyTitle to strong tag
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Oct 27, 2024
1 parent 25b77e7 commit 0c5e7f1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/scss/base/_font-family.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}

@if variable-exists("fontFamilyTitle") {
.list-title, .term-title, .list-year, .list-month, .post-title, .post-subtitle, .related-title, .post-nav, thead, dt {
.list-title, .term-title, .list-year, .list-month, .post-title, .post-subtitle, .related-title, .post-nav, thead, dt, strong {
font-family: $fontFamilyTitle;
}
}
Expand Down
2 changes: 1 addition & 1 deletion config-examples/en/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ uglyURLs = false
fontFamilySiteBrand = ""
# Menu bar
fontFamilyMenu = ""
# Post title, post subtitle, list title, year and month title of the list, related posts title, previous/next post title, header of table, term/name in a definition list
# Post title, post subtitle, list title, year and month title of the list, related posts title, previous/next post title, header of table, term/name in a definition list, <strong>
fontFamilyTitle = "'Comfortaa', sans-serif"
# Headings, toc title
fontFamilyHeadings = "'Comfortaa', sans-serif"
Expand Down
2 changes: 1 addition & 1 deletion config-examples/zh-cn/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ uglyURLs = false
fontFamilySiteBrand = ""
# 菜单栏
fontFamilyMenu = ""
# 文章标题、文章副标题、列表标题、列表的年份和月份标题、相关文章标题、文章上下篇标题、表格的表头、定义列表中的术语
# 文章标题、文章副标题、列表标题、列表的年份和月份标题、相关文章标题、文章上下篇标题、表格的表头、定义列表中的术语、<strong>
fontFamilyTitle = "'Noto Serif SC', 'EB Garamond', serif"
# 分节标题、目录标题
fontFamilyHeadings = "'Noto Serif SC', 'EB Garamond', serif"
Expand Down
2 changes: 1 addition & 1 deletion config-examples/zh-tw/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ uglyURLs = false
fontFamilySiteBrand = ""
# 選單欄
fontFamilyMenu = ""
# 文章標題、文章副標題、列表標題、列表的年份和月份標題、相關文章標題、文章上下篇標題、表格的表頭、定義列表中的術語
# 文章標題、文章副標題、列表標題、列表的年份和月份標題、相關文章標題、文章上下篇標題、表格的表頭、定義列表中的術語、<strong>
fontFamilyTitle = "'Noto Serif SC', 'EB Garamond', serif"
# 分節標題、目錄標題
fontFamilyHeadings = "'Noto Serif SC', 'EB Garamond', serif"
Expand Down

0 comments on commit 0c5e7f1

Please sign in to comment.