Skip to content

Commit

Permalink
vault: Add snippet to make Tasks code blocks stand out visually
Browse files Browse the repository at this point in the history
This is to distinguish them from Task lists in Reading mode
  • Loading branch information
claremacrae committed Feb 22, 2023
1 parent 0de1cf8 commit dfb720e
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* Make Tasks code blocks stand out visually, to distinguish them from Task lists in Reading mode*/
:not(.callout-content) > .block-language-tasks {
padding: 5px 15px;
border: 2px solid var(--color-blue);
border-radius: 5px;
margin: 1em 0;
}

0 comments on commit dfb720e

Please sign in to comment.