Add Fanwood Text font

This commit is contained in:
Jeremy Dormitzer 2018-07-27 08:44:13 -04:00
parent 0b80ef2001
commit 5382d3f1d7
5 changed files with 21 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,13 @@
@font-face {
font-family: 'Fanwood Text';
src: url('FanwoodText-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Fanwood Text';
src: url('FanwoodText-Italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}

View File

@ -120,6 +120,7 @@ add_action( 'widgets_init', 'jeremy_wordpress_theme_widgets_init' );
* Enqueue scripts and styles. * Enqueue scripts and styles.
*/ */
function jeremy_wordpress_theme_scripts() { function jeremy_wordpress_theme_scripts() {
wp_enqueue_style( 'fanwood-text-font', get_template_directory_uri() . '/fonts/fanwood-text/stylesheet.css' );
wp_enqueue_style( 'jeremy-wordpress-theme-style', get_stylesheet_uri() ); 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 ); wp_enqueue_script( 'jeremy-wordpress-theme-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true );

View File

@ -454,6 +454,13 @@ big {
font-size: 125%; font-size: 125%;
} }
/*
Fonts
*/
body {
font-family: "Fanwood Text", "Georgia", "Times New Roman", "Times", serif;
}
/* /*
Font sizes Font sizes
*/ */