<?php add_filter( 'typekit_add_font_category_rules', function( $category_rules ) { TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h1, h2, h3, h4, h5, h6', array( array( 'property' => 'font-weight', 'value' => 'normal' ), array( 'property' => 'font-family', 'value' => '"Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', 'input, textarea', array( array( 'property' => 'font-family', 'value' => 'Georgia, "Bitstream Charter", serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.pingback a.url, body', array( array( 'property' => 'font-family', 'value' => 'Georgia, "Bitstream Charter", serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.page-title span', array( array( 'property' => 'font-family', 'value' => 'Georgia, "Bitstream Charter", serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'site-title', '#site-title', array( array( 'property' => 'font-family', 'value' => '"Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#cancel-comment-reply-link, #site-info, #wp-calendar, .comment-body thead th, .comment-body tr th, .comment-meta, .entry-content label, .entry-content thead th, .entry-content tr th, .entry-meta, .entry-utility, .form-allowed-tags, .pingback p, .reply, .wp-caption-text', array( array( 'property' => 'font-family', 'value' => '"Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '#access .menu, #access div.menu ul, #respond label, .entry-title, .navigation, .page-title, .widget-title, h3#comments-title, h3#reply-title', array( array( 'property' => 'font-family', 'value' => '"Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', 'input[type=submit]', array( array( 'property' => 'font-family', 'value' => '"Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', 'pre', array( array( 'property' => 'font-family', 'value' => '"Courier 10 Pitch", Courier, monospace' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', 'code', array( array( 'property' => 'font-family', 'value' => 'Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#site-info', array( array( 'property' => 'font-size', 'value' => '14px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', 'input, textarea', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'body', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'dt', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'strong', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'cite, em, i', array( array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'big', array( array( 'property' => 'font-size', 'value' => '131.25%' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'blockquote', array( array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'blockquote cite, blockquote em, blockquote i', array( array( 'property' => 'font-style', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'site-title', '#site-title', array( array( 'property' => 'font-size', 'value' => '30px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'site-title', '#site-title a', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#site-description', array( array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '#access .menu-header, div.menu', array( array( 'property' => 'font-size', 'value' => '13px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '#content input, #content textarea', array( array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#content', array( array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '#content kbd, #content pre, #content tt, #content var', array( array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '#content code', array( array( 'property' => 'font-size', 'value' => '13px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#content thead th, #content tr th', array( array( 'property' => 'font-size', 'value' => '12px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.page-title', array( array( 'property' => 'font-size', 'value' => '14px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.page-title span', array( array( 'property' => 'font-size', 'value' => '16px' ), array( 'property' => 'font-style', 'value' => 'italic' ), array( 'property' => 'font-weight', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '#content .entry-title', array( array( 'property' => 'font-size', 'value' => '21px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-meta', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-content fieldset legend', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-content label', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-content sub, .entry-content sup', array( array( 'property' => 'font-size', 'value' => '10px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.page-link', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.page-link a:link, .page-link a:visited', array( array( 'property' => 'font-weight', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#entry-author-info', array( array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#entry-author-info h2', array( array( 'property' => 'font-size', 'value' => '100%' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-utility', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.home #content .category-asides p, .home #content .format-aside p', array( array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.attachment .entry-content .entry-caption', array( array( 'property' => 'font-size', 'value' => '140%' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.wp-caption p.wp-caption-text', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.gallery .gallery-caption', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.navigation', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h3#comments-title, h3#reply-title', array( array( 'property' => 'font-size', 'value' => '20px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-author cite', array( array( 'property' => 'font-style', 'value' => 'normal' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-author .says', array( array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-meta', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.reply', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#comments .pingback p', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#comments .pingback .url', array( array( 'property' => 'font-size', 'value' => '13px' ), array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#cancel-comment-reply-link', array( array( 'property' => 'font-size', 'value' => '12px' ), array( 'property' => 'font-weight', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#respond .required', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '#respond label', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#respond .form-allowed-tags', array( array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '#respond .form-allowed-tags code', array( array( 'property' => 'font-size', 'value' => '11px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '#respond .form-submit input', array( array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.widget-title', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.widget-area .entry-meta', array( array( 'property' => 'font-size', 'value' => '11px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#wp-calendar caption', array( array( 'property' => 'font-size', 'value' => '14px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#wp-calendar thead', array( array( 'property' => 'font-size', 'value' => '11px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#site-info', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#site-generator', array( array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.widget_authors li strong', array( array( 'property' => 'font-weight', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.adcode a, .adcode div, .adcode span', array( array( 'property' => 'font-size', 'value' => '16px !important' ), ) ); return $category_rules; } );