- Notifications
You must be signed in to change notification settings - Fork1.1k
Add the default monospace font stack for <code> elements#427
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1017,7 +1017,6 @@ div.sidebar-module ul ul li span { | ||
.content dl code, | ||
.content ul code, | ||
p code { | ||
-webkit-border-radius: 3px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I think we need to keep the font stack here, or it would be dropped from There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I could be wrong but from what I can see the Also, I wasn't able to find There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. @jacobbednarz 💥 You're right! | ||
-moz-border-radius: 3px; | ||
border-radius: 3px; | ||
@@ -1155,12 +1154,15 @@ body.api .content table td { | ||
Pre/Code Styles | ||
------------------------------------------------------------------------------*/ | ||
code { | ||
white-space: nowrap; | ||
font: 12px Consolas, 'Liberation Mono', Courier, monospace; | ||
} | ||
pre { | ||
border: 1px solid #cacaca; | ||
line-height: 1.2em; | ||
font: 12pxConsolas, 'LiberationMono', Courier,monospace; | ||
padding: 10px; | ||
overflow:auto; | ||
-webkit-border-radius: 3px; | ||