Skip to content

Commit

Permalink
stash: 书摘暗色模式适配
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionad-Morotar committed Feb 16, 2024
1 parent 8551a56 commit 7a35d5d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/Commend/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ onMounted(() => {
margin-bottom: .8em;
padding: .8em 1em;
background: rgba(235,236,237,0.3);
border-radius: 4px;
.callout-icon {
margin-top: .1em;
Expand All @@ -113,6 +114,13 @@ onMounted(() => {
}
}
html.dark {
.callout-con {
background: rgba(0,0,0,0.24);
color: var(--tw-prose-invert-counters);
}
}
@media (max-width: 419px) {
.commend {
display: grid;
Expand Down

0 comments on commit 7a35d5d

Please sign in to comment.