Skip to content

Commit

Permalink
tweak code sample look and feel
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Jun 28, 2024
1 parent c2338c7 commit 5cd9a9a
Show file tree
Hide file tree
Showing 10 changed files with 2,061 additions and 622 deletions.
402 changes: 181 additions & 221 deletions _layouts/default.html

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions css/prism.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+jsx+tsx+typescript */
code[class*="language-"],
pre[class*="language-"] {
color: #000;
color: #222;
background: 0 0;
text-shadow: 0 1px #fff;
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
font-family: Menlo, Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
Expand Down Expand Up @@ -44,10 +44,11 @@ pre[class*="language-"] {
padding: 1em;
margin: 0;
overflow: auto;
border-radius: 4px;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #f5f2f0;
background: #eff1f5;
}
:not(pre) > code[class*="language-"] {
padding: 0.1em;
Expand Down
Loading

0 comments on commit 5cd9a9a

Please sign in to comment.