preload heonian font
This commit is contained in:
		
							parent
							
								
									720aefbffa
								
							
						
					
					
						commit
						473c272fe0
					
				| @ -1,5 +1,8 @@ | |||||||
|     </main> |     </main> | ||||||
|     <script src="main.js"></script> |     <script src="main.js"></script> | ||||||
|  |     <font-preload> | ||||||
|  |          | ||||||
|  |     </font-preload> | ||||||
| </body> | </body> | ||||||
| 
 | 
 | ||||||
| </html> | </html> | ||||||
| @ -165,10 +165,6 @@ main { | |||||||
|     font-family: "heonian"; |     font-family: "heonian"; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| data-swap { |  | ||||||
|     display: none; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .button { | .button { | ||||||
|     text-decoration: underline; |     text-decoration: underline; | ||||||
|     text-align: center; |     text-align: center; | ||||||
| @ -176,3 +172,12 @@ data-swap { | |||||||
|     user-select: none; |     user-select: none; | ||||||
|     -webkit-user-select: none; |     -webkit-user-select: none; | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | font-preload { | ||||||
|  |     font-family: var(--font-heonian); | ||||||
|  |     position: fixed; | ||||||
|  |     top: 0; | ||||||
|  |     left: 0; | ||||||
|  |     pointer-events: none; | ||||||
|  |     opacity: 0; | ||||||
|  | } | ||||||
							
								
								
									
										2
									
								
								todo
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								todo
									
									
									
									
									
								
							| @ -4,5 +4,5 @@ | |||||||
| [ ] generator: word list | [ ] generator: word list | ||||||
|     [ ] js: word lookup |     [ ] js: word lookup | ||||||
| [ ] css: night mode lol | [ ] css: night mode lol | ||||||
| [ ] html: preload heonian font to prevent split second of it looking Strange | [x] html: preload heonian font to prevent split second of it looking Strange | ||||||
| [ ] ???: translation support..? | [ ] ???: translation support..? | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user