'font-size', 'value' => '62.5%' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'caption, td, th', array( array( 'property' => 'font-weight', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'body, button, input, select, textarea', array( array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h1, h2, h3, h4, h5, h6', array( array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), array( 'property' => 'font-weight', 'value' => '900' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h1', array( array( 'property' => 'font-size', 'value' => '2.625em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h2', array( array( 'property' => 'font-size', 'value' => '1.625em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h3', array( array( 'property' => 'font-size', 'value' => '1.25em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h4', array( array( 'property' => 'font-size', 'value' => '1em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h5', array( array( 'property' => 'font-size', 'value' => '.8125em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h6', array( array( 'property' => 'font-size', 'value' => '.8125em' ), ) ); 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-weight', 'value' => '500' ), array( 'property' => 'font-size', 'value' => '.8125em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'blockquote blockquote', array( array( 'property' => 'font-size', 'value' => 'inherit' ), ) ); 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', 'value' => '15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", 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, 'body-text', 'caption', array( array( 'property' => 'font-weight', 'value' => '900' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'placeholder', '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', 'button, html input[type="button"], input[type="reset"], input[type="submit"]', array( array( 'property' => 'font-size', 'value' => '.8125em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'input[type="email"], input[type="password"], input[type="search"], input[type="text"], input[type="url"], textarea', array( array( 'property' => 'font-size', 'value' => '.8125em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.screen-reader-text:active, .screen-reader-text:focus, .screen-reader-text:hover', array( array( 'property' => 'font-size', 'value' => '0.875em' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.menu-toggle', array( array( 'property' => 'font-size', 'value' => '1.25em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.entry-title, .page-title', array( array( 'property' => 'font-size', 'value' => '1.625em' ), array( 'property' => 'font-weight', 'value' => '900' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-content', array( array( 'property' => 'font-weight', 'value' => '100' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-content', array( array( 'property' => 'font-weight', 'value' => '100' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-meta', array( array( 'property' => 'font-size', 'value' => '0.8125em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'footer.entry-meta .comments-link', array( array( 'property' => 'font-weight', 'value' => '600' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.format-link .entry-title a:after', array( array( 'property' => 'font-family', 'value' => 'Genericons' ), array( 'property' => 'font-size', 'value' => '28px' ), array( 'property' => 'font-style', 'value' => 'normal' ), array( 'property' => 'font-weight', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.entry-format:before', array( array( 'property' => 'font-family', 'value' => 'Genericons' ), array( 'property' => 'font-size', 'value' => '24px' ), array( 'property' => 'font-style', 'value' => 'normal' ), array( 'property' => 'font-weight', 'value' => 'normal' ), ), array( 'screen and (min-width: 750px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.site-description', array( array( 'property' => 'font-size', 'value' => '0.8125em' ), array( 'property' => 'font-weight', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.wp-caption-text', array( array( 'property' => 'font-size', 'value' => '0.8125em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.form-allowed-tags, .form-allowed-tags code', array( array( 'property' => 'font-size', 'value' => '0.8125em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.comments-title', array( array( 'property' => 'font-size', 'value' => '1.25em' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ), array( 'screen and (min-width: 750px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-reply-link', array( array( 'property' => 'font-size', 'value' => '0.8125em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-metadata a, .comment-metadata a:visited', array( array( 'property' => 'font-size', 'value' => '0.8125em' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-metadata span:before', array( array( 'property' => 'font-size', 'value' => '0.8125em' ), ) ); 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, 'headings', '.widget .widget-title', array( array( 'property' => 'font-size', 'value' => '1.25em' ), array( 'property' => 'font-weight', 'value' => '600' ), ) ); //min-width: 750px TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.site-title', array( array( 'property' => 'font-family', 'value' => '"Leckerli One", cursive' ), array( 'property' => 'font-size', 'value' => '2.625em' ), array( 'property' => 'font-weight', 'value' => '500' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.site-description', array( array( 'property' => 'font-size', 'value' => '0.8125em' ), array( 'property' => 'font-weight', 'value' => 'normal' ), ), array( 'screen and (min-width: 750px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.site-footer', array( array( 'property' => 'font-size', 'value' => '0.8125em' ), ), array( 'screen and (min-width: 750px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.main-navigation a', array( array( 'property' => 'font-size', 'value' => '0.8125em' ), ), array( 'screen and (min-width: 750px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-content, .entry-content', array( array( 'property' => 'font-size', 'value' => '1.25em' ), ), array( 'screen and (min-width: 750px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-meta', array( array( 'property' => 'font-size', 'value' => '1em' ), ), array( 'screen and (min-width: 750px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.entry-title, .page-title', array( array( 'property' => 'font-size', 'value' => '1.9em' ), ), array( 'screen and (min-width: 750px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.comments-title', array( array( 'property' => 'font-size', 'value' => '1.625em' ), ), array( 'screen and (min-width: 750px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.format-link .entry-title a:after', array( array( 'property' => 'font-size', 'value' => '36px' ), ), array( 'screen and (min-width: 750px)', ) ); //min-width 1250px TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.site-title', array( array( 'property' => 'font-family', 'value' => '"Leckerli One", cursive' ), array( 'property' => 'font-size', 'value' => '4.6em' ), ), array( 'screen and (min-width: 1250px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.site-description', array( array( 'property' => 'font-size', 'value' => '1em' ), ), array( 'screen and (min-width: 1250px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.main-navigation a', array( array( 'property' => 'font-size', 'value' => '1em' ), ), array( 'screen and (min-width: 1250px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-content, .entry-content', array( array( 'property' => 'font-size', 'value' => '1.625em' ), ), array( 'screen and (min-width: 1250px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-meta', array( array( 'property' => 'font-size', 'value' => '1.25em' ), ), array( 'screen and (min-width: 1250px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.entry-title, .page-title', array( array( 'property' => 'font-size', 'value' => '2.625em' ), ), array( 'screen and (min-width: 1250px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.comments-title', array( array( 'property' => 'font-size', 'value' => '1.9em' ), ), array( 'screen and (min-width: 1250px)', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.format-link .entry-title a:after', array( array( 'property' => 'font-size', 'value' => '48px' ), ), array( 'screen and (min-width: 1250px)', ) ); return $category_rules; } );