add a collapsible ToC
This commit is contained in:
		
							parent
							
								
									1d9c0e4a44
								
							
						
					
					
						commit
						a287d11246
					
				
					 4 changed files with 26 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -23,6 +23,23 @@ p, ul, text {
 | 
			
		|||
  padding: revert;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.mainTOC {
 | 
			
		||||
  background: var(--lightgray);
 | 
			
		||||
  border-radius: 8px;
 | 
			
		||||
  padding: 0.8em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.mainTOC details summary {
 | 
			
		||||
  cursor: zoom-in;
 | 
			
		||||
  font-family: Inter;
 | 
			
		||||
  color: var(--dark);
 | 
			
		||||
  font-weight: 700;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.mainTOC details[open] summary {
 | 
			
		||||
    cursor: zoom-out;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#TableOfContents > ol {
 | 
			
		||||
  counter-reset: section;
 | 
			
		||||
  margin-left: 0em;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue