mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	add scroll to top button
This commit is contained in:
		| @@ -23,4 +23,24 @@ | ||||
| .footer a:hover { | ||||
|     color: var(--primary); | ||||
|     border-bottom: 1px solid var(--primary); | ||||
| } | ||||
|  | ||||
| .top-link { | ||||
|     font-size: 12px; | ||||
|     visibility: hidden; | ||||
|     opacity: 0; | ||||
|     position: fixed; | ||||
|     bottom: 60px; | ||||
|     right: 30px; | ||||
|     z-index: 99; | ||||
|     background: var(--tertiary); | ||||
|     width: 42px; | ||||
|     height: 42px; | ||||
|     padding: 12px; | ||||
|     color: var(--primary); | ||||
|     border-radius: 64px; | ||||
|     fill: currentColor; | ||||
|     fill-opacity: 80%; | ||||
|     transition: visibility 0.5s, | ||||
|         opacity 0.8s linear; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange