Switch to Input Mono for code blocks
This commit is contained in:
parent
5a29d2c549
commit
3522285fb3
@ -1,13 +1,30 @@
|
||||
@font-face {
|
||||
font-family: 'Input Mono';
|
||||
src: url('FanwoodText-Regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('Input-Regular_(InputMono-Regular).ttf');
|
||||
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Fanwood Text';
|
||||
src: url('FanwoodText-Italic.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-family: 'Input Mono';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: url('Input-Italic_(InputMono-Italic).ttf');
|
||||
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Input Mono';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('Input-Bold_(InputMono-Bold).ttf');
|
||||
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Input Mono';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: url('Input-BoldItalic_(InputMono-BoldItalic).ttf');
|
||||
}
|
||||
|
@ -121,6 +121,7 @@ add_action( 'widgets_init', 'jeremy_wordpress_theme_widgets_init' );
|
||||
*/
|
||||
function jeremy_wordpress_theme_scripts() {
|
||||
wp_enqueue_style( 'fanwood-text-font', get_template_directory_uri() . '/fonts/fanwood-text/stylesheet.css' );
|
||||
wp_enqueue_style( 'input-mono-font', get_template_directory_uri() . '/fonts/input-mono/stylesheet.css' );
|
||||
wp_enqueue_style( 'jeremy-wordpress-theme-style', get_stylesheet_uri() );
|
||||
|
||||
wp_enqueue_script( 'jeremy-wordpress-theme-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true );
|
||||
|
@ -424,7 +424,7 @@ address {
|
||||
|
||||
pre {
|
||||
background: #eee;
|
||||
font-family: "Courier 10 Pitch", Courier, monospace;
|
||||
font-family: "Input Mono", "Courier 10 Pitch", Courier, monospace;
|
||||
font-size: 15px;
|
||||
font-size: 0.9375rem;
|
||||
line-height: 1.6;
|
||||
@ -435,11 +435,15 @@ pre {
|
||||
}
|
||||
|
||||
code, kbd, tt, var {
|
||||
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
font-family: "Input Mono", Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
font-size: 15px;
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
|
||||
samp {
|
||||
font-family: "Input Mono", Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
}
|
||||
|
||||
abbr, acronym {
|
||||
border-bottom: 1px dotted #666;
|
||||
cursor: help;
|
||||
|
Loading…
Reference in New Issue
Block a user