heading linking
This commit is contained in:
		
							parent
							
								
									04eeb2d10c
								
							
						
					
					
						commit
						fcd81353f8
					
				
					 7 changed files with 104 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -85,12 +85,24 @@ thead {
 | 
			
		|||
  font-weight: revert;
 | 
			
		||||
  margin: 2rem 0 0;
 | 
			
		||||
 | 
			
		||||
  &:hover > .hanchor {
 | 
			
		||||
    color: var(--secondary);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  article > & > a {
 | 
			
		||||
    color: var(--dark)
 | 
			
		||||
    color: var(--dark);
 | 
			
		||||
    &.internal {
 | 
			
		||||
      background-color: transparent;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
h1, h2, h3, h4, h5, h6 {
 | 
			
		||||
  &[id] > a {
 | 
			
		||||
    margin: 0 0.5rem;
 | 
			
		||||
    opacity: 0;
 | 
			
		||||
    transition: opacity 0.2s ease;
 | 
			
		||||
    font-family: var(--codeFont);
 | 
			
		||||
    user-select: none;
 | 
			
		||||
  }
 | 
			
		||||
  &[id]:hover > a {
 | 
			
		||||
    opacity: 1;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue