mirror of
				https://github.com/kuohuanhuan/x-markdown-css.git
				synced 2024-11-25 06:18:19 +00:00 
			
		
		
		
	style(scss): solve duplicate selectors
This commit is contained in:
		| @ -67,17 +67,11 @@ | ||||
|     margin-top: 1rem; | ||||
|   } | ||||
| } | ||||
| .dark { | ||||
|   .shiki-light { | ||||
|     display: none; | ||||
|   } | ||||
| .dark .shiki-light { | ||||
|   display: none; | ||||
| } | ||||
| html { | ||||
|   &:not(.dark) { | ||||
|     .shiki-dark { | ||||
|       display: none; | ||||
|     } | ||||
|   } | ||||
| html:not(.dark) .shiki-dark { | ||||
|   display: none; | ||||
| } | ||||
| .item { | ||||
|   text-decoration: none; | ||||
| @ -103,72 +97,13 @@ html { | ||||
|     text-decoration: none; | ||||
|   } | ||||
| } | ||||
| h1 { | ||||
|   &:hover { | ||||
|     .header-anchor { | ||||
|       opacity: .5; | ||||
|     } | ||||
|   } | ||||
|   &:focus { | ||||
|     .header-anchor { | ||||
|       opacity: .5; | ||||
|     } | ||||
|   } | ||||
| } | ||||
| h2 { | ||||
|   &:hover { | ||||
|     .header-anchor { | ||||
|       opacity: .5; | ||||
|     } | ||||
|   } | ||||
|   &:focus { | ||||
|     .header-anchor { | ||||
|       opacity: .5; | ||||
|     } | ||||
|   } | ||||
| } | ||||
| h3 { | ||||
|   &:hover { | ||||
|     .header-anchor { | ||||
|       opacity: .5; | ||||
|     } | ||||
|   } | ||||
|   &:focus { | ||||
|     .header-anchor { | ||||
|       opacity: .5; | ||||
|     } | ||||
|   } | ||||
| } | ||||
| h4 { | ||||
|   &:hover { | ||||
|     .header-anchor { | ||||
|       opacity: .5; | ||||
|     } | ||||
|   } | ||||
|   &:focus { | ||||
|     .header-anchor { | ||||
|       opacity: .5; | ||||
|     } | ||||
|   } | ||||
| } | ||||
| h5 { | ||||
|   &:hover { | ||||
|     .header-anchor { | ||||
|       opacity: .5; | ||||
|     } | ||||
|   } | ||||
|   &:focus { | ||||
|     .header-anchor { | ||||
|       opacity: .5; | ||||
|     } | ||||
|   } | ||||
| } | ||||
| h1, | ||||
| h2, | ||||
| h3, | ||||
| h4, | ||||
| h5, | ||||
| h6 { | ||||
|   &:hover { | ||||
|     .header-anchor { | ||||
|       opacity: .5; | ||||
|     } | ||||
|   } | ||||
|   &:hover, | ||||
|   &:focus { | ||||
|     .header-anchor { | ||||
|       opacity: .5; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user