forked from nyancrimew/maia.crimew.gay
		
	properly credit ari for oneko.js
This commit is contained in:
		
							parent
							
								
									54b001b6a7
								
							
						
					
					
						commit
						8c77b05fba
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -9,7 +9,7 @@ | |||
|         {% endfor %} | ||||
|     </div> | ||||
|     <div> | ||||
|         <p>maia kitten art by <a href="https://twitter.com/vai5000_">vai5000</a>, pixel art maia kitten by <a href="https://twitter.com/_Anunnery">A. Marmot</a></p> | ||||
|         <p>credits: maia kitten art by <a href="https://twitter.com/vai5000_">vai5000</a>, pixel art maia kitten by <a href="https://twitter.com/_Anunnery">A. Marmot</a> and pointer following kitten code from <a href="https://github.com/adryd325/oneko.js">adryd325/oneko.js</a></p> | ||||
|     </div> | ||||
|     <div class="badges"> | ||||
|         {% for item in footer.badges %} | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| // based on: https://www.cssscript.com/cat-follow-cursor-oneko/ (licensed under MIT) and edited for maia kitten support with art from https://twitter.com/_Anunnery
 | ||||
| // based on oneko.js from https://github.com/adryd325/oneko.js, licensed under MIT, with art from https://twitter.com/_Anunnery
 | ||||
| 
 | ||||
| (function oneko() { | ||||
|     const nekoEl = document.createElement("div"); | ||||
|  | @ -62,6 +62,7 @@ | |||
|         nekoEl.style.width = "32px"; | ||||
|         nekoEl.style.height = "32px"; | ||||
|         nekoEl.style.position = "fixed"; | ||||
|         nekoEl.style.pointerEvents = "none"; | ||||
|         nekoEl.style.backgroundImage = "url('/img/maia_oneko.gif')"; | ||||
|         nekoEl.style.imageRendering = "pixelated"; | ||||
|         nekoEl.style.left = "16px"; | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue