refactor(markdown): fix duplicate selector rules

This commit is contained in:
郭桓桓 2023-03-02 00:27:50 +08:00
parent a307ac8851
commit 7ab2bd67ea
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
1 changed files with 5 additions and 11 deletions

View File

@ -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;
}