Skip to content

Commit

Permalink
doc: CSS: fix code fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
adrientetar committed Nov 12, 2013
1 parent f1a67bd commit 123e0ce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/rust.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ h5 a:link, h5 a:visited {color: black;}
/* Code
========================================================================== */
pre, code {
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
border-radius: 4px;
}
pre {
Expand Down
8 changes: 7 additions & 1 deletion src/librustdoc/html/static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ h2 code, h3 code, h4 code {
}

code, pre, h1.fqn {
font: 15px Monaco, Menlo, "Inconsolata", Consolas, "Courier New", monospace;
font-family: Menlo, Monaco, Consolas, "Inconsolata", "Courier New", monospace;
}
code, pre {
color: #333;
}
pre {
font-size: 15px;
}
h1.fqn {
font-size: 26px;
Expand Down

0 comments on commit 123e0ce

Please sign in to comment.