'font-family', 'value' => '"Merriweather", serif' ), array( 'property' => 'font-weight', 'value' => '400' ), array( 'property' => 'font-size', 'value' => '18px' ), ) ); 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' => '700' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h1', array( array( 'property' => 'font-size', 'value' => '28px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.entry-content h1', array( array( 'property' => 'font-size', 'value' => '26px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h2', array( array( 'property' => 'font-size', 'value' => '24px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h3', array( array( 'property' => 'font-size', 'value' => '21px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h4', array( array( 'property' => 'font-size', 'value' => '19px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h5', array( array( 'property' => 'font-size', 'value' => '18px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h6', array( array( 'property' => 'font-size', 'value' => '18px' ), ) ); 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, 'body-text', 'blockquote em, blockquote i', array( array( 'property' => 'font-style', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'blockquote ol, blockquote p, blockquote ul', array( array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'blockquote small', array( array( 'property' => 'font-size', 'value' => '160px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'blockquote cite', array( array( 'property' => 'font-weight', 'value' => '700' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'blockquote cite a', array( array( 'property' => 'font-weight', 'value' => '400' ), ) ); 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-size', 'value' => '15px' ), array( 'property' => 'font-family', 'value' => 'Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', 'kbd', array( array( 'property' => 'font-weight', 'value' => '700' ), ) ); 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', '#infinite-handle span, .button, button, input[type="button"], input[type="reset"], input[type="submit"]', array( array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), array( 'property' => 'font-size', 'value' => '13px' ), ) ); 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-family', 'value' => '"Open Sans", sans-serif' ), array( 'property' => 'font-size', 'value' => '13px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', 'label', array( array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), array( 'property' => 'font-weight', 'value' => '700' ), array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.main-navigation .menu', array( array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.main-navigation .children a:before, .main-navigation .sub-menu a:before', array( array( 'property' => 'font-size', 'value' => '16px' ), array( 'property' => 'font-family', 'value' => '"Genericons"' ), array( 'property' => 'font-style', 'value' => 'normal' ), array( 'property' => 'font-weight', 'value' => 'normal' ), array( 'property' => 'font-variant', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.social-links a:before', array( array( 'property' => 'font-size', 'value' => '16px' ), array( 'property' => 'font-family', 'value' => '"Genericons"' ), array( 'property' => 'font-style', 'value' => 'normal' ), array( 'property' => 'font-weight', 'value' => 'normal' ), array( 'property' => 'font-variant', 'value' => 'normal' ), array( 'property' => 'font-size', 'value' => '20px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.more-link', array( array( 'property' => 'font-size', 'value' => '14px' ), array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.nav-links a', array( array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), array( 'property' => 'font-size', 'value' => '13px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.nav-links a:before', array( array( 'property' => 'font-size', 'value' => '16px' ), array( 'property' => 'font-family', 'value' => '"Genericons"' ), array( 'property' => 'font-style', 'value' => 'normal' ), array( 'property' => 'font-weight', 'value' => 'normal' ), array( 'property' => 'font-variant', 'value' => 'normal' ), ) ); 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' => '14px' ), array( 'property' => 'font-weight', 'value' => 'bold' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.widget ol, .widget p, .widget ul', array( array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.widget-title, .entry-author .author-title', array( array( 'property' => 'font-size', 'value' => '18px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.site-title, .site-title a', array( array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), array( 'property' => 'font-size', 'value' => '28px' ), array( 'property' => 'font-weight', 'value' => '700' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.site-description', array( array( 'property' => 'font-family', 'value' => '"Merriweather", serif' ), array( 'property' => 'font-weight', 'value' => '400' ), array( 'property' => 'font-size', 'value' => '20px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.navbar .slide-menu-toggle:before', array( array( 'property' => 'font-size', 'value' => '16px' ), array( 'property' => 'font-family', 'value' => '"Genericons"' ), array( 'property' => 'font-style', 'value' => 'normal' ), array( 'property' => 'font-weight', 'value' => 'normal' ), array( 'property' => 'font-variant', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.scroll-down:before', array( array( 'property' => 'font-size', 'value' => '16px' ), array( 'property' => 'font-family', 'value' => '"Genericons"' ), array( 'property' => 'font-style', 'value' => 'normal' ), array( 'property' => 'font-weight', 'value' => 'normal' ), array( 'property' => 'font-variant', 'value' => 'normal' ), array( 'property' => 'font-size', 'value' => '48px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-meta', array( array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-meta .entry-date', array( array( 'property' => 'font-size', 'value' => '13px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.entry-meta .comments-link a:before', array( array( 'property' => 'font-size', 'value' => '16px' ), array( 'property' => 'font-family', 'value' => '"Genericons"' ), array( 'property' => 'font-style', 'value' => 'normal' ), array( 'property' => 'font-weight', 'value' => 'normal' ), array( 'property' => 'font-variant', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'none', '.entry-format:before', array( array( 'property' => 'font-size', 'value' => '16px' ), array( 'property' => 'font-family', 'value' => '"Genericons"' ), array( 'property' => 'font-style', 'value' => 'normal' ), array( 'property' => 'font-weight', 'value' => 'normal' ), array( 'property' => 'font-variant', 'value' => 'normal' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.archive .entry-title, .blog .entry-title, .home .entry-title, .search .entry-title', array( array( 'property' => 'font-size', 'value' => '25px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.entry-author', array( array( 'property' => 'font-size', 'value' => '14px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.archive .format-quote .entry-content, .blog .format-quote .entry-content, .search .format-quote .entry-content', array( array( 'property' => 'font-size', 'value' => '20px' ), array( 'property' => 'font-style', 'value' => 'italic' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.comments-title, .reply-title', array( array( 'property' => 'font-size', 'value' => '28px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-form', array( array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-list, .comment-list ol', array( array( 'property' => 'font-size', 'value' => '16px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.comment-meta, .form-allowed-tags, .reply', array( array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.form-allowed-tags, .logged-in-as', array( array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), array( 'property' => 'font-size', 'value' => '15px' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#infinite-footer .blog-credits, #infinite-footer .blog-info, .site-footer .blog-credits, .site-footer .blog-info', array( array( 'property' => 'font-size', 'value' => '12px' ), array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '#infinite-footer .blog-credits a, #infinite-footer .blog-info a, .site-footer .blog-credits a, .site-footer .blog-info a', array( array( 'property' => 'font-weight', 'value' => '700' ), array( 'property' => 'font-size', 'value' => 'inherit' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'body-text', '.wp-caption-text', array( array( 'property' => 'font-size', 'value' => '14px' ), array( 'property' => 'font-family', 'value' => '"Open Sans", sans-serif' ), ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h1, .site-title a', array( array( 'property' => 'font-size', 'value' => '45px' ), ), array( '( min-width: 31em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.entry-content h1', array( array( 'property' => 'font-size', 'value' => '40px' ), ), array( '( min-width: 31em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h2', array( array( 'property' => 'font-size', 'value' => '36px' ), ), array( '( min-width: 31em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h3', array( array( 'property' => 'font-size', 'value' => '31px' ), ), array( '( min-width: 31em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h4', array( array( 'property' => 'font-size', 'value' => '25px' ), ), array( '( min-width: 31em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h5', array( array( 'property' => 'font-size', 'value' => '22px' ), ), array( '( min-width: 31em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h6', array( array( 'property' => 'font-size', 'value' => '18px' ), ), array( '( min-width: 31em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.home .entry-title, .blog .entry-title, .search .entry-title, .archive .entry-title', array( array( 'property' => 'font-size', 'value' => '32px' ), ), array( '( min-width: 31em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h1, .site-title a', array( array( 'property' => 'font-size', 'value' => '50px' ), ), array( '( min-width: 56em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.entry-content h1', array( array( 'property' => 'font-size', 'value' => '45px' ), ), array( '( min-width: 56em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h2', array( array( 'property' => 'font-size', 'value' => '36px' ), ), array( '( min-width: 56em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h3', array( array( 'property' => 'font-size', 'value' => '30px' ), ), array( '( min-width: 56em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h4', array( array( 'property' => 'font-size', 'value' => '25px' ), ), array( '( min-width: 56em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h5', array( array( 'property' => 'font-size', 'value' => '20px' ), ), array( '( min-width: 56em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', 'h6', array( array( 'property' => 'font-size', 'value' => '20px' ), ), array( '( min-width: 56em )', ) ); TypekitTheme::add_font_category_rule( $category_rules, 'headings', '.home .entry-title, .blog .entry-title, .search .entry-title, .archive .entry-title', array( array( 'property' => 'font-size', 'value' => '36px' ), ), array( '( min-width: 56em )', ) ); return $category_rules; } );