Skip to content

Commit

Permalink
tune inline code color
Browse files Browse the repository at this point in the history
  • Loading branch information
copdips committed Dec 11, 2023
1 parent 8f8cae8 commit b784797
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,21 @@
/* inline code */
.md-typeset p > code {
background-color: #c9c6c6;
color: #0d0d0d;
color: #000000;
}
[data-md-color-scheme="slate"] .md-typeset p > code {
background-color: #525252;
color: #c9c6c6;
}
@media (prefers-color-scheme: dark) {
.md-typeset p > code {
background-color: #c9c6c6;
color: #000000;
}
[data-md-color-scheme="slate"] .md-typeset p > code {
background-color: #525252;
color: #c9c6c6;
}
}

/* https://blog.ktz.me/making-mkdocs-tables-look-like-github-markdown-tables/ */
Expand Down
6 changes: 6 additions & 0 deletions draft/migrating_from_jekyll_to_mkdocs_material.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ Use VSCode replace
## View Source

URL bound to `master` branch, not `main` branch.

## GH Pages deploy source

From `gh-pages` branch to github action.

## Add excerpt to all posts

0 comments on commit b784797

Please sign in to comment.