Skip to content

Commit 14f1b9e

Browse files
committed
Use Source Code Pro as primary font for displaying code. Fixes jquery#96
1 parent e594b04 commit 14f1b9e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

themes/jquery/css/base.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,7 @@ hr {
14911491
}
14921492

14931493
pre, code {
1494-
font: 15px/18px "Courier New", Courier, mono;
1494+
font: 13px/16px "source-code-pro", Consolas, monospace;
14951495
word-spacing: 0;
14961496
}
14971497

@@ -1505,7 +1505,6 @@ pre {
15051505
}
15061506

15071507
code {
1508-
font-size: 15px;
15091508
padding: 3px;
15101509
background-color: #e2e2e2;
15111510
border-radius: 3px;
@@ -2031,7 +2030,7 @@ footer .cdn strong:after {
20312030
footer .cdn strong em {
20322031
font-style: normal;
20332032
color: #ccc;
2034-
font-family: Consolas, Monaco, monospace;
2033+
font-family: "source-code-pro", Consolas, monospace;
20352034
display: inline-block;
20362035
width: 35px;
20372036
padding-left: 5px;
@@ -2044,7 +2043,7 @@ footer .cdn input {
20442043
width: 100%;
20452044
background: inherit;
20462045
border: 0;
2047-
font-family: Consolas, monospace;
2046+
font-family: "source-code-pro", Consolas, monospace;
20482047
padding-left: 5px;
20492048
white-space: nowrap;
20502049
color: #ccc;
@@ -2397,7 +2396,7 @@ footer li img {
23972396
vertical-align: baseline !important;
23982397
width: auto !important;
23992398
box-sizing: content-box !important;
2400-
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
2399+
font-family: "source-code-pro", Consolas, monospace !important;
24012400
font-weight: normal !important;
24022401
font-style: normal !important;
24032402
font-size: 1em !important;

themes/jquery/header.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
<script src="<?php echo get_template_directory_uri(); ?>/js/plugins.js"></script>
4141
<script src="<?php echo get_template_directory_uri(); ?>/js/main.js"></script>
4242

43-
<script src="//use.typekit.net/rib7dfk.js"></script>
44-
<script >try{Typekit.load();}catch(e){}</script>
43+
<script type="text/javascript" src="//use.typekit.net/wde1aof.js"></script>
44+
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
4545

4646
<?php
4747
if ( is_singular() && get_option( 'thread_comments' ) )

0 commit comments

Comments
 (0)