'font-size', 'value' => '15px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'body, button, input, select, textarea', array( array( 'property' => 'font-family', 'value' => '"Source Sans Pro", Helvetica, sans-serif' ), array( 'property' => 'font-size', 'value' => '18px' ), array( 'property' => 'font-weight', 'value' => '300' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h1, h2, h3, h4, h5, h6', array( array( 'property' => 'font-family', 'value' => '"Yrsa", sans-serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h1, .site-title', array( array( 'property' => 'font-size', 'value' => '29px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h2', array( array( 'property' => 'font-size', 'value' => '23px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h3', array( array( 'property' => 'font-size', 'value' => '18px' ), ) ); 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-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h6', array( array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h1, .site-title', array( array( 'property' => 'font-size', 'value' => '47px' ), ), array( 'screen and (min-width: 850px)' ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h2', array( array( 'property' => 'font-size', 'value' => '29px' ), ), array( 'screen and (min-width: 850px)' ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h3', array( array( 'property' => 'font-size', 'value' => '23px' ), ), array( 'screen and (min-width: 850px)' ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h4, .site-description', array( array( 'property' => 'font-size', 'value' => '18px' ), ), array( 'screen and (min-width: 850px)' ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'body, button, input, select, textarea', array( array( 'property' => 'font-size', 'value' => '18px' ), ), array( 'screen and (min-width: 850px)' ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h5', array( array( 'property' => 'font-size', 'value' => '16px' ), ), array( 'screen and (min-width: 850px)' ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h6, .cat-links a, .hero-content-wrapper .cat-links a', array( array( 'property' => 'font-size', 'value' => '15px' ), ), array( 'screen and (min-width: 850px)' ) ); 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', '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' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', 'code, kbd, tt, var', array( array( 'property' => 'font-family', 'value' => '"Courier 10 Pitch", Courier, monospace' ), ) ); 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, 'headings', 'th', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'legend', 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, input[type="button"], input[type="reset"], input[type="submit"], .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt', array( array( 'property' => 'font-size', 'value' => '15px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'input[type="email"], input[type="password"], input[type="search"], input[type="text"], input[type="url"]', array( array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'textarea', array( array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.main-navigation a', array( array( 'property' => 'font-size', 'value' => '15px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.menu-toggle', array( array( 'property' => 'font-family', 'value' => '"Source Sans Pro", Helvetica, sans-serif' ), array( 'property' => 'font-size', 'value' => '15px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.menu-toggle:before', array( array( 'property' => 'font-family', 'value' => 'Genericons' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.jetpack-social-navigation ul li', array( array( 'property' => 'font-size', 'value' => '20px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-navigation a, .paging-navigation a, .post-navigation a', array( array( 'property' => 'font-family', 'value' => '"Yrsa", Georgia, serif' ), array( 'property' => 'font-size', 'value' => '18px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.post-navigation .title', array( array( 'property' => 'font-family', 'value' => '"Source Sans Pro", Helvetica, sans-serif' ), array( 'property' => 'font-style', 'value' => 'normal' ), array( 'property' => 'font-weight', 'value' => 'bold' ), array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.screen-reader-text:focus', array( array( 'property' => 'font-size', 'value' => '15px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.widget', array( array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.widget-title', array( array( 'property' => 'font-size', 'value' => '18px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.widget_calendar td a', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.site-title', array( array( 'property' => 'font-family', 'value' => '"Yrsa", Georgia, Serif' ), array( 'property' => 'font-size', 'value' => '29px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.site-description', array( array( 'property' => 'font-family', 'value' => '"Yrsa", Georgia, serif' ), array( 'property' => 'font-size', 'value' => '16px' ), array( 'property' => 'font-weight', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.taxonomy-description', array( array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.archive .page-title, .search .page-title', array( array( 'property' => 'font-family', 'value' => '"Source Sans Pro", Helvetica, sans-serif' ), array( 'property' => 'font-size', 'value' => '15px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.entry-title, .entry-title a, .page-title, .woocommerce .page-title', array( array( 'property' => 'font-size', 'value' => '29px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.entry-title, .entry-title a, .page-title, .woocommerce .page-title', array( array( 'property' => 'font-size', 'value' => '32px' ), ), array( 'screen and (min-width: 850px)' ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-footer, .entry-meta', array( array( 'property' => 'font-family', 'value' => '"Yrsa", Georgia, serif' ), array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.cat-links a', array( array( 'property' => 'font-family', 'value' => '"Source Sans Pro"' ), array( 'property' => 'font-style', 'value' => 'normal' ), array( 'property' => 'font-size', 'value' => '13px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ), array( 'screen and (min-width: 850px)' ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.cat-links a', array( array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'blockquote:before', array( array( 'property' => 'font-family', 'value' => '"Yrsa", Georgia, serif' ), array( 'property' => 'font-size', 'value' => '140px' ), array( 'property' => 'font-style', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'blockquote', array( array( 'property' => 'font-family', 'value' => '"Yrsa", Georgia, serif' ), array( 'property' => 'font-size', 'value' => '23px' ), array( 'property' => 'font-style', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'blockquote cite', array( array( 'property' => 'font-family', 'value' => '"Source Sans Pro", Helvetica, sans-serif' ), array( 'property' => 'font-size', 'value' => '16px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.comments-title', array( array( 'property' => 'font-size', 'value' => '29px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.author-bio', array( array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.author-title', array( array( 'property' => 'font-size', 'value' => '23px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-meta .fn', array( array( 'property' => 'font-size', 'value' => '15px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), array( 'property' => 'font-style', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-metadata', array( array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-form-author label, .comment-form-comment label, .comment-form-email label, .comment-form-url label', array( array( 'property' => 'font-size', 'value' => '15px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.form-allowed-tags', array( array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.flex-direction-nav a:before', array( array( 'property' => 'font-family', 'value' => '"Genericons"' ), array( 'property' => 'font-size', 'value' => '32px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.hero-content-wrapper .entry-title', array( array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.featured-page', array( array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.featured-page .entry-title, .featured-page .entry-title a', array( array( 'property' => 'font-size', 'value' => '23px' ), array( 'property' => 'font-weight', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.featured-page .entry-title, .featured-page .entry-title a', array( array( 'property' => 'font-size', 'value' => '23px' ), array( 'property' => 'font-weight', 'value' => 'normal' ), ), array( 'screen and (min-width: 850px)' ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-body .edit-link a, .front-testimonials .edit-link a, body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .edit-link a', array( array( 'property' => 'font-family', 'value' => '"Yrsa", Georgia, serif' ), array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.jetpack-testimonial-shortcode .testimonial-entry-title, body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-title, body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-title a', array( array( 'property' => 'font-family', 'value' => '"Source Sans Pro", Helvetica, sans-serif' ), array( 'property' => 'font-size', 'value' => '15px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.jetpack-testimonial-shortcode .testimonial-entry-content, body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-content', array( array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.site-footer', array( array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.wp-caption-dd, .wp-caption-text', array( array( 'property' => 'font-size', 'value' => '15px' ), array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.gallery-caption', array( array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.main-navigation .menu-item-has-children > a:after, .main-navigation .page_item_has_children > a:after', array( array( 'property' => 'font-family', 'value' => 'Genericons' ), array( 'property' => 'font-size', 'value' => '8px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.main-navigation ul ul a', array( array( 'property' => 'font-size', 'value' => '15px' ), array( 'property' => 'font-weight', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.hero-content-wrapper .entry-title', array( array( 'property' => 'font-size', 'value' => '29px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.hero-content-wrapper .entry-title', array( array( 'property' => 'font-size', 'value' => '47px' ), ), array( 'screen and (min-width: 1180px)' ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.flex-direction-nav a:before', array( array( 'property' => 'font-size', 'value' => '64px' ), ) ); return $category_rules; } );