Skip to content

Commit

Permalink
NOTE和Timeline的夜间模式
Browse files Browse the repository at this point in the history
  • Loading branch information
SlieFamily authored Oct 22, 2023
1 parent 38dc3be commit f246393
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions assets/scss/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ div.timenode .meta:after {

/*鼠标滑动效果*/
div.timenode .meta:hover {
color: #444;
color: var(--body-text-color)
}
div.timenode:hover .meta:before {
background: rgba(255,87,34,.5)
Expand All @@ -85,7 +85,9 @@ div.timenode .body {
display: -moz-box;
display: inline-block
}

[data-scheme=dark] div.timenode .body {
background: #3a3636;
}



Expand Down Expand Up @@ -116,7 +118,9 @@ div.note {
background: var(--blockquote-background-color);
border-left: 4px solid #3dd9b6
}

[data-scheme=dark] div.note {
background: #3a3636;
}

div.note h2,div.note h3,div.note h4,div.note h5,div.note h6 {
margin-top: 3px;
Expand Down Expand Up @@ -214,4 +218,4 @@ div.note.danger::before,div.note.error::before {

.wl-reaction-title {
color : var(--card-text-color-main)
}
}

0 comments on commit f246393

Please sign in to comment.