fix: ノートのインスタンス情報の文字に縁を付けて見やすくする (#8697)
* ノートのインスタンス情報の背景色が反映されないことがあるのを修正する * ノートのインスタンス情報の文字に縁を付けて見やすくする * Revert "ノートのインスタンス情報の背景色が反映されないことがあるのを修正する" This reverts commit de920dfc537d1f2c68804d0d6930520f2b3cbce7. * ノートのインスタンス情報の文字の影の数を増やしてさらに見やすくする
This commit is contained in:
		
							parent
							
								
									4fc2058745
								
							
						
					
					
						commit
						02f9e5d6f0
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		|  | @ -39,6 +39,19 @@ const bg = { | |||
| 	border-radius: 4px 0 0 4px; | ||||
| 	overflow: hidden; | ||||
| 	color: #fff; | ||||
| 	text-shadow: /* .866 ≈ sin(60deg) */ | ||||
| 		1px 0 1px #000, | ||||
| 		.866px .5px 1px #000, | ||||
| 		.5px .866px 1px #000, | ||||
| 		0 1px 1px #000, | ||||
| 		-.5px .866px 1px #000, | ||||
| 		-.866px .5px 1px #000, | ||||
| 		-1px 0 1px #000, | ||||
| 		-.866px -.5px 1px #000, | ||||
| 		-.5px -.866px 1px #000, | ||||
| 		0 -1px 1px #000, | ||||
| 		.5px -.866px 1px #000, | ||||
| 		.866px -.5px 1px #000; | ||||
| 
 | ||||
| 	> .icon { | ||||
| 		height: 100%; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue