actually use the global font everywhere (#1384)
This commit is contained in:
		
							parent
							
								
									42d6e2f2af
								
							
						
					
					
						commit
						594ca3520c
					
				|  | @ -5,7 +5,6 @@ | ||||||
| body { | body { | ||||||
|   margin: 0; |   margin: 0; | ||||||
|   height: 100vh; |   height: 100vh; | ||||||
|   font: 12px arial,sans-serif; |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| a { | a { | ||||||
|  |  | ||||||
							
								
								
									
										10
									
								
								global.css
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								global.css
									
									
									
									
									
								
							|  | @ -4,18 +4,18 @@ html#stylus #header *:not(#\1transition-suppressor) { | ||||||
|    * Using \1 to simplify js code because \0 is converted to \xFFFD per spec. */ |    * Using \1 to simplify js code because \0 is converted to \xFFFD per spec. */ | ||||||
|   transition: none !important; |   transition: none !important; | ||||||
| } | } | ||||||
| body { | :root { | ||||||
|   font: normal 12px Arial, system-ui, sans-serif; |   --family: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif; | ||||||
|  | } | ||||||
|  | body { | ||||||
|  |   font: normal 12px var(--family); | ||||||
| } | } | ||||||
| 
 |  | ||||||
| body:lang(ja) { | body:lang(ja) { | ||||||
|   font-family: Arial, 'Meiryo UI', 'MS Gothic', system-ui, sans-serif; |   font-family: Arial, 'Meiryo UI', 'MS Gothic', system-ui, sans-serif; | ||||||
| } | } | ||||||
| 
 |  | ||||||
| body:lang(zh-CN) { | body:lang(zh-CN) { | ||||||
|   font-family: Arial, 'Microsoft YaHei UI', 'Microsoft YaHei', system-ui, sans-serif; |   font-family: Arial, 'Microsoft YaHei UI', 'Microsoft YaHei', system-ui, sans-serif; | ||||||
| } | } | ||||||
| 
 |  | ||||||
| body:lang(zh-TW), | body:lang(zh-TW), | ||||||
| body:lang(zh-HK) { | body:lang(zh-HK) { | ||||||
|   font-family: Arial, 'Microsoft JhengHei UI', 'Microsoft JhengHei', system-ui, sans-serif; |   font-family: Arial, 'Microsoft JhengHei UI', 'Microsoft JhengHei', system-ui, sans-serif; | ||||||
|  |  | ||||||
|  | @ -119,8 +119,6 @@ h1 { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .install { | .install { | ||||||
|   font-family: Arial, "DejaVu Sans", Verdana, Geneva, sans-serif; |  | ||||||
|   font-size: 14px; |  | ||||||
|   background-color: hsl(0, 0%, 33%); |   background-color: hsl(0, 0%, 33%); | ||||||
|   color: #eee; |   color: #eee; | ||||||
|   border-radius: 4px; |   border-radius: 4px; | ||||||
|  |  | ||||||
|  | @ -962,7 +962,7 @@ a:hover { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #manage\.newUI\.sort { | #manage\.newUI\.sort { | ||||||
|   font-family: 'sorticon', Arial; |   font-family: 'sorticon', var(--family); | ||||||
|   -webkit-font-smoothing: antialiased; |   -webkit-font-smoothing: antialiased; | ||||||
|   -moz-osx-font-smoothing: grayscale; |   -moz-osx-font-smoothing: grayscale; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -11,8 +11,6 @@ html, body { | ||||||
| 
 | 
 | ||||||
| body { | body { | ||||||
|   width: 252px; |   width: 252px; | ||||||
|   font-size: 12px; |  | ||||||
|   font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; |  | ||||||
|   margin: 0; |   margin: 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user