Skip to content
This repository has been archived by the owner on Nov 1, 2017. It is now read-only.

Commit

Permalink
Merge pull request #427 from jacobbednarz/update-code-blocks-to-use-c…
Browse files Browse the repository at this point in the history
…orrect-monospace-font

Add the default monospace font stack for <code> elements
  • Loading branch information
tobiasahlin committed Apr 8, 2014
2 parents 373d118 + 10d0f78 commit 6dce70b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions static/shared/css/documentation.css
Expand Up @@ -1055,7 +1055,6 @@ div.sidebar-module ul ul li span {
.content dl code,
.content ul code,
p code {
font: 12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
Expand Down Expand Up @@ -1193,12 +1192,15 @@ body.api .content table td {
Pre/Code Styles
------------------------------------------------------------------------------*/

code {white-space: nowrap;}
code {
white-space: nowrap;
font: 12px Consolas, 'Liberation Mono', Courier, monospace;
}

pre {
border: 1px solid #cacaca;
line-height: 1.2em;
font: 12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
font: 12px Consolas, 'Liberation Mono', Courier, monospace;
padding: 10px;
overflow:auto;
-webkit-border-radius: 3px;
Expand Down

0 comments on commit 6dce70b

Please sign in to comment.