Add style to flush
This commit is contained in:
		
							parent
							
								
									027c22f013
								
							
						
					
					
						commit
						d9f5570b51
					
				
					 1 changed files with 65 additions and 41 deletions
				
			
		|  | @ -1,7 +1,28 @@ | ||||||
| doctype html | doctype html | ||||||
| 
 | 
 | ||||||
| html | html | ||||||
| 	#msg | 
 | ||||||
|  | 	head | ||||||
|  | 		meta(charset='utf-8') | ||||||
|  | 		meta(name='application-name' content='Misskey') | ||||||
|  | 		title Misskey Repair Tool | ||||||
|  | 		style. | ||||||
|  | 			* { | ||||||
|  | 				font-family: BIZ UDGothic, Roboto, HelveticaNeue, Arial, sans-serif; | ||||||
|  | 				font-size: 16px; | ||||||
|  | 				color: #dfddcc; | ||||||
|  | 			} | ||||||
|  | 
 | ||||||
|  | 			body, | ||||||
|  | 			html { | ||||||
|  | 				background-color: #222; | ||||||
|  | 				justify-content: center; | ||||||
|  | 				margin: auto; | ||||||
|  | 				width: 80%; | ||||||
|  | 				padding: 10px; | ||||||
|  | 				text-align: center; | ||||||
|  | 			} | ||||||
|  | 
 | ||||||
| 		script. | 		script. | ||||||
| 			const msg = document.getElementById('msg'); | 			const msg = document.getElementById('msg'); | ||||||
| 			const successText = `\nSuccess Flush! <a href="/">Back to Misskey</a>\n成功しました。<a href="/">Misskeyを開き直してください。</a>`; | 			const successText = `\nSuccess Flush! <a href="/">Back to Misskey</a>\n成功しました。<a href="/">Misskeyを開き直してください。</a>`; | ||||||
|  | @ -45,3 +66,6 @@ html | ||||||
| 			function message(text) { | 			function message(text) { | ||||||
| 				msg.insertAdjacentHTML('beforeend', `<p>[${(new Date()).toString()}] ${text.replace(/\n/g,'<br>')}</p>`) | 				msg.insertAdjacentHTML('beforeend', `<p>[${(new Date()).toString()}] ${text.replace(/\n/g,'<br>')}</p>`) | ||||||
| 			} | 			} | ||||||
|  | 
 | ||||||
|  | 	body | ||||||
|  | 		#msg | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue