mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	add toc side support
This commit is contained in:
		| @@ -272,19 +272,25 @@ | ||||
|     padding: 0.4em; | ||||
| } | ||||
|  | ||||
| @media screen and (min-width: 1400px) { | ||||
|     .toc.side { | ||||
|         position: fixed; | ||||
|         right: 30px; | ||||
|         top: 100px; | ||||
|         width: 300px; | ||||
|         font-size: .9em; | ||||
|     } | ||||
| } | ||||
|  | ||||
| .dark .toc { | ||||
|     background: var(--entry); | ||||
| } | ||||
|  | ||||
| .toc details summary { | ||||
|     cursor: zoom-in; | ||||
|     cursor: pointer; | ||||
|     margin-inline-start: 20px; | ||||
| } | ||||
|  | ||||
| .toc details[open] summary { | ||||
|     cursor: zoom-out; | ||||
| } | ||||
|  | ||||
| .toc .details { | ||||
|     display: inline; | ||||
|     font-weight: 500; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Wonderfall
					Wonderfall