'font-family', 'value' => 'Roboto, Helvetica, sans-serif' ), array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.small-part, .wp_widget_tag_cloud a', array( array( 'property' => 'font-size', 'value' => '13px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h1, h2, h3, h4, h5, h6', array( array( 'property' => 'font-weight', 'value' => '400' ), array( 'property' => 'font-family', 'value' => '"Playfair Display", serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h1', array( array( 'property' => 'font-size', 'value' => '42px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h2', array( array( 'property' => 'font-size', 'value' => '26px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h3', array( array( 'property' => 'font-size', 'value' => '20px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h4', array( array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h5', array( array( 'property' => 'font-family', 'value' => 'Roboto, sans-serif' ), array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h6', array( array( 'property' => 'font-family', 'value' => 'Roboto, sans-serif' ), array( 'property' => 'font-size', 'value' => '12px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'b, strong', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'cite, dfn, em, i', array( array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'blockquote', array( array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', 'pre', array( array( 'property' => 'font-family', 'value' => '"Courier 10 Pitch", Courier, monospace' ), array( 'property' => 'font-size', 'value' => '15px' ), array( 'property' => 'font-size', 'value' => '1.5rem' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', 'code, kbd, tt, var', array( array( 'property' => 'font-family', 'value' => 'Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace' ), array( 'property' => 'font-size', 'value' => '15px' ), array( 'property' => 'font-size', 'value' => '1.5rem' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'sub, sup', array( array( 'property' => 'font-size', 'value' => '75%' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'small', array( array( 'property' => 'font-size', 'value' => '75%' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'big', array( array( 'property' => 'font-size', 'value' => '125%' ), ) ); 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', 'th', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'button, input, select, textarea', array( array( 'property' => 'font-size', 'value' => '100%' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#infinite-handle span, .button, button, input[type="button"], input[type="reset"], input[type="submit"]', array( array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.main-navigation li a:not(:last-child):after', array( array( 'property' => 'font-family', 'value' => 'FontAwesome' ), array( 'property' => 'font-size', 'value' => '13px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.main-navigation a', array( array( 'property' => 'font-size', 'value' => '13px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.screen-reader-text:active, .screen-reader-text:focus, .screen-reader-text:hover', array( array( 'property' => 'font-size', 'value' => '14px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.widget-title', array( array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.widget', array( array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.wp_widget_tag_cloud a', array( array( 'property' => 'font-size', 'value' => '13px !important' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.social-links a', array( array( 'property' => 'font-family', 'value' => 'Genericons' ), array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.site-title', array( array( 'property' => 'font-size', 'value' => '50px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.site-description', array( array( 'property' => 'font-family', 'value' => 'Roboto, Helvetica, sans-serif' ), array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.more-link', array( array( 'property' => 'font-size', 'value' => '13px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.entry-category', array( array( 'property' => 'font-size', 'value' => '14px' ), array( 'property' => 'font-weight', 'value' => '700' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.entry-title, .page-title', array( array( 'property' => 'font-size', 'value' => '30px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-featured-image p', array( array( 'property' => 'font-size', 'value' => '50px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.search-full input[type="search"]', array( array( 'property' => 'font-size', 'value' => '125%' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.search-full .search-submit', array( array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.sticky .entry-header:before', array( array( 'property' => 'font-family', 'value' => 'FontAwesome' ), array( 'property' => 'font-size', 'value' => '35px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.entry-format:before', array( array( 'property' => 'font-family', 'value' => 'FontAwesome' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.format-link .fa-external-link:before', array( array( 'property' => 'font-size', 'value' => '21px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-form label[for="author"], .comment-form label[for="comment"], .comment-form label[for="email"], .comment-form label[for="url"]', array( array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.no-comments', array( array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.form-allowed-tags, .form-allowed-tags code', array( array( 'property' => 'font-size', 'value' => '90%' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.wp-caption .wp-caption-text', array( array( 'property' => 'font-size', 'value' => '13px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.gallery-caption', array( array( 'property' => 'font-size', 'value' => '13px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h1', array( array( 'property' => 'font-size', 'value' => '23px' ), ), array( 'screen and (max-width: 782px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h2', array( array( 'property' => 'font-size', 'value' => '20px' ), ), array( 'screen and (max-width: 782px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h3', array( array( 'property' => 'font-size', 'value' => '17px' ), ), array( 'screen and (max-width: 782px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h4', array( array( 'property' => 'font-size', 'value' => '15px' ), ), array( 'screen and (max-width: 782px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h5', array( array( 'property' => 'font-size', 'value' => '13px' ), ), array( 'screen and (max-width: 782px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h6', array( array( 'property' => 'font-size', 'value' => '11px' ), ), array( 'screen and (max-width: 782px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.site-title', array( array( 'property' => 'font-size', 'value' => '30px' ), ), array( 'screen and (max-width: 782px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.sticky .entry-header:before', array( array( 'property' => 'font-size', 'value' => '22px' ), ) ); return $category_rules; } );