Skip to content

Commit 10d0f78

Browse files
committed
Updating to use GitHub default font stack
- Make the <code> font stack more consistent from GitHub.com. - Refactor code/pre selector rules to be generic enough to catch all the lingering code blocks.
1 parent 80f5f73 commit 10d0f78

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

static/shared/css/documentation.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,6 @@ div.sidebar-module ul ul li span {
10171017
.content dl code,
10181018
.content ul code,
10191019
p code {
1020-
font: 12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
10211020
-webkit-border-radius: 3px;
10221021
-moz-border-radius: 3px;
10231022
border-radius: 3px;
@@ -1157,13 +1156,13 @@ body.api .content table td {
11571156

11581157
code {
11591158
white-space: nowrap;
1160-
font: 12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
1159+
font: 12px Consolas, 'Liberation Mono', Courier, monospace;
11611160
}
11621161

11631162
pre {
11641163
border: 1px solid #cacaca;
11651164
line-height: 1.2em;
1166-
font: 12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
1165+
font: 12px Consolas, 'Liberation Mono', Courier, monospace;
11671166
padding: 10px;
11681167
overflow:auto;
11691168
-webkit-border-radius: 3px;

0 commit comments

Comments
 (0)