Use new fonts

This commit is contained in:
Jeremy Dormitzer 2019-05-23 13:28:14 -04:00
parent b41b46489b
commit d7149a8ac8
33 changed files with 75 additions and 55 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,31 @@
@font-face {
font-family: 'Century Supra';
src: url('Century Supra T3 Regular.ttf') format('truetype'),
url('century_supra_t3_regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Century Supra';
src: url('Century Supra T3 Bold.ttf') format('truetype'),
url('century_supra_t3_bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Century Supra';
src: url('Century Supra T3 Italic.ttf') format('truetype'),
url('century_supra_t3_italic.woff') format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Century Supra';
src: url('Century Supra T3 Bold Italic.ttf') format('truetype'),
url('century_supra_t3_bold_italic.woff') format('woff');
font-weight: bold;
font-style: italic;
}

View File

@ -1,52 +0,0 @@
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on July 10, 2013 */
@font-face {
font-family: 'charterbold_italic';
src: url('charter_bold_italic-webfont.eot');
src: url('charter_bold_italic-webfont.eot?#iefix') format('embedded-opentype'),
url('charter_bold_italic-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'charterbold';
src: url('charter_bold-webfont.eot');
src: url('charter_bold-webfont.eot?#iefix') format('embedded-opentype'),
url('charter_bold-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'charteritalic';
src: url('charter_italic-webfont.eot');
src: url('charter_italic-webfont.eot?#iefix') format('embedded-opentype'),
url('charter_italic-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'charterregular';
src: url('charter_regular-webfont.eot');
src: url('charter_regular-webfont.eot?#iefix') format('embedded-opentype'),
url('charter_regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,31 @@
@font-face {
font-family: 'Triplicate Code';
src: url('Triplicate Code T4 Regular.ttf') format('truetype'),
url('triplicate_t4_code_regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Triplicate Code';
src: url('Triplicate Code T4 Bold.ttf') format('truetype'),
url('triplicate_t4_code_bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Triplicate Code';
src: url('Triplicate Code T4 Italic.ttf') format('truetype'),
url('triplicate_t4_code_italic.woff') format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Triplicate Code';
src: url('Triplicate Code T4 Bold Italic.ttf') format('truetype'),
url('triplicate_t4_code_bold_italic.woff') format('woff');
font-weight: bold;
font-style: italic;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -120,14 +120,21 @@ add_action( 'widgets_init', 'jeremy_wordpress_theme_widgets_init' );
* Enqueue scripts and styles.
*/
function jeremy_wordpress_theme_scripts() {
wp_enqueue_style( 'charter-font', get_template_directory_uri() . '/fonts/charter/stylesheet.css' );
wp_enqueue_style( 'century-supra-font', get_template_directory_uri() . '/fonts/century-supra/stylesheet.css' );
wp_enqueue_style( 'fira-sans-font', get_template_directory_uri() . '/fonts/fira-sans/fira-sans.css' );
wp_enqueue_style( 'triplicate-font', get_template_directory_uri() . '/fonts/triplicate/stylesheet.css' );
wp_enqueue_style( 'highlight-style', get_template_directory_uri() . '/css/highlight-default.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 );
wp_enqueue_script( 'jeremy-wordpress-theme-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151215', true );
wp_enqueue_script(
'jeremy-wordpress-theme-skip-link-focus-fix',
get_template_directory_uri() . '/js/skip-link-focus-fix.js',
array(),
'20151215',
true
);
wp_enqueue_script( 'highlight-js', get_template_directory_uri() . '/js/highlight.pack.js', array(), false, true );

View File

@ -429,6 +429,7 @@ address {
pre {
background: #eee;
font-family:
'Triplicate Code',
SFMono-Regular,
Menlo,
Monaco,
@ -450,6 +451,7 @@ pre code {
code, kbd, tt, var {
font-family:
'Triplicate Code',
SFMono-Regular,
Menlo,
Monaco,
@ -462,6 +464,7 @@ code, kbd, tt, var {
samp {
font-family:
'Triplicate Code',
SFMono-Regular,
Menlo,
Monaco,
@ -490,7 +493,7 @@ Fonts
*/
body {
font-family:
charterregular,
'Century Supra',
"Palatino Linotype",
Palatino,
Palladio,