Skip to content

Commit

Permalink
New design for code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Michiel Bijl committed Feb 17, 2017
1 parent 5423bf7 commit 01ae36a
Showing 1 changed file with 23 additions and 10 deletions.
33 changes: 23 additions & 10 deletions examples/css/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,35 @@ img {
border: none;
}

code {
font-family: "Courier new", Courier, Monospace;
font-weight: bold;
pre,
code,
samp,
.sourcecode {
color: hsl(11, 81%, 43%);
font-family: "Menlo", "Consolas", "DejaVu Sans Mono", "Monaco", monospace;
font-size: .9em;
page-break-inside: avoid;
hyphens: none;
text-transform: none;
white-space: pre-line;
}

[hidden] {
display: none;
pre code,
code code {
font-size: 100%;
}

pre,
.sourcecode {
font-family: "Courier new", Courier, Monospace;
margin: 0;
margin: 1em 0;
padding: 1em;
border: thin solid black;
background: #EEEEEE;
font-size: 120%;
border-radius: .2em;
overflow: auto;
background: hsl(24, 20%, 95%);
}

[hidden] {
display: none;
}

#example {
Expand Down

0 comments on commit 01ae36a

Please sign in to comment.