Skip to content

Commit

Permalink
Update style.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedalipoor authored Dec 16, 2023
1 parent 82905a6 commit 6e049d9
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,19 @@ body{
border-right: .25em solid #dfe2e5;
border-left: none;
}
}
}
.markdown-body img{background-color: transparent !important;}
@media (prefers-color-scheme: dark) {
body{background-color: #0d1117; color: #e6edf3;}
.markdown-body hr{background-color: #30363d};
.markdown-body blockquote{border-color: #30363d;}
.markdown-body h1, .markdown-body h2{border-color:#363e49}
img[src*="#gh-light-mode-only"] {
display: none;
}
}
@media (prefers-color-scheme: light) {
img[src*="#gh-dark-mode-only"] {
display: none;
}
}

0 comments on commit 6e049d9

Please sign in to comment.