mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-11-04 22:28:40 +08:00 
			
		
		
		
	Update font-family for better
rendering quality on Win10.
This commit is contained in:
		@ -57,3 +57,8 @@
 | 
			
		||||
  display: block;
 | 
			
		||||
  margin: 0 auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* font-family setting for Win10 */
 | 
			
		||||
body {
 | 
			
		||||
  --md-code-font-family: var(--md-code-font, _), SFMono-Regular, Consolas, Menlo, Noto Sans SC, monospace;
 | 
			
		||||
}
 | 
			
		||||
@ -17,7 +17,9 @@ theme:
 | 
			
		||||
  custom_dir: docs/overrides
 | 
			
		||||
  language: zh
 | 
			
		||||
  features:
 | 
			
		||||
    - announce.dismiss
 | 
			
		||||
    # - announce.dismiss
 | 
			
		||||
    - content.action.edit
 | 
			
		||||
    # - content.action.view
 | 
			
		||||
    - content.code.annotate
 | 
			
		||||
    - content.code.copy
 | 
			
		||||
    - content.tabs.link
 | 
			
		||||
@ -51,13 +53,14 @@ theme:
 | 
			
		||||
        icon: material/weather-night
 | 
			
		||||
        name: Switch to light mode
 | 
			
		||||
  font:
 | 
			
		||||
    text: Roboto
 | 
			
		||||
    code: Roboto Mono
 | 
			
		||||
    text: Noto Sans SC
 | 
			
		||||
    code: Fira Code
 | 
			
		||||
  favicon: assets/images/favicon.png
 | 
			
		||||
  logo: assets/images/logo.png
 | 
			
		||||
  icon:
 | 
			
		||||
    logo: logo
 | 
			
		||||
    repo: fontawesome/brands/github
 | 
			
		||||
    edit: material/file-edit-outline
 | 
			
		||||
 | 
			
		||||
extra:
 | 
			
		||||
  social:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user