mirror of
				https://github.com/kuohuanhuan/x-markdown-css.git
				synced 2024-11-25 06:18:19 +00:00 
			
		
		
		
	refactor(markdown): fix duplicate selector rules
This commit is contained in:
		@ -54,11 +54,9 @@
 | 
			
		||||
        margin-bottom: 0;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
    p {
 | 
			
		||||
      &:first-of-type::before {
 | 
			
		||||
        content: none;
 | 
			
		||||
      }
 | 
			
		||||
      &:first-of-type::after {
 | 
			
		||||
    p:first-of-type {
 | 
			
		||||
      &::before,
 | 
			
		||||
      &::after {
 | 
			
		||||
        content: none;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
@ -67,12 +65,10 @@
 | 
			
		||||
    margin-top: 1rem;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
html:not(.dark) .shiki-dark,
 | 
			
		||||
.dark .shiki-light {
 | 
			
		||||
  display: none;
 | 
			
		||||
}
 | 
			
		||||
html:not(.dark) .shiki-dark {
 | 
			
		||||
  display: none;
 | 
			
		||||
}
 | 
			
		||||
.item {
 | 
			
		||||
  text-decoration: none;
 | 
			
		||||
  opacity: .6;
 | 
			
		||||
@ -90,9 +86,7 @@ html:not(.dark) .shiki-dark {
 | 
			
		||||
  text-decoration: none;
 | 
			
		||||
  border: 0 !important;
 | 
			
		||||
  opacity: 0;
 | 
			
		||||
  &:hover {
 | 
			
		||||
    text-decoration: none;
 | 
			
		||||
  }
 | 
			
		||||
  &:hover,
 | 
			
		||||
  &:focus {
 | 
			
		||||
    text-decoration: none;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user