span, .page-links a:hover, .page-links a:focus, .comment-reply-link:hover, .comment-reply-link:focus, #infinite-handle span:hover, #infinite-handle span:focus, .post-navigation a:hover, .post-navigation a:focus', 'color', ), ), __( 'Background', 'afterlight' ) ); add_color_rule( 'txt', '#ffffff', array( array( 'mark, ins, button:hover, button:focus, button:active, input[type="button"]:hover, input[type="button"]:focus, input[type="button"]:active, input[type="reset"]:hover, input[type="reset"]:focus, input[type="reset"]:active, input[type="submit"]:hover, input[type="submit"]:focus, input[type="submit"]:active, .site-header .nav-menu li:hover, .site-header .nav-menu li:focus, .site-header .nav-menu .focus, .site-header .sub-menu li, .pagination .prev:hover, .pagination .prev:focus, .pagination .next:hover, .pagination .next:focus, .widget_calendar tbody a, .page-links > span, .page-links a:hover, .page-links a:focus, .comment-reply-link:hover, .comment-reply-link:focus, #infinite-handle span:hover, #infinite-handle span:focus, .post-navigation a:hover, .post-navigation a:focus', 'background-color', 'bg', 3 ), array( 'button:hover, button:focus, button:active, input[type="button"]:hover, input[type="button"]:focus, input[type="button"]:active, input[type="reset"]:hover, input[type="reset"]:focus, input[type="reset"]:active, input[type="submit"]:hover, input[type="submit"]:focus, input[type="submit"]:active, .site-header .nav-menu > li, .site-header .sub-menu, .site-header .sub-menu li', 'border-color', 'bg', 3 ), array( 'body, .widget_calendar tbody a:hover, .widget_calendar tbody a:focus', 'color', 'bg', 3 ), ), __( 'Text', 'afterlight' ) ); // Additional CSS add_theme_support( 'custom_colors_extra_css', 'afterlight_extra_css' ); function afterlight_extra_css() { ?> input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea { background-color: #f7f7f7; border: 1px solid #fff; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus { background-color: #fff; border: 1px solid #f7f7f7; color: #222; } .entry-content a, .entry-footer .author-bio a, .page-content a, .taxonomy-description a, .logged-in-as a, .comment-content a, .pingback .comment-body > a, .textwidget a, .aboutme_widget a, .widget_gravatar a, .widget-grofile a, .image-navigation a:hover, .comment-navigation a:hover, .post-navigation a:hover .post-title, .entry-date a:hover, .entry-footer a:hover, .site-title a:hover, .entry-title a:hover, .comment-author a:hover, .comment-metadata a:hover, .pingback .edit-link a:hover, .site-info a:hover, #infinite-footer .blog-credits a:hover { text-shadow: none; } @media screen and (max-width: 51.6875em) { .post-navigation a:hover, .post-navigation a:focus { background-color: transparent !important; color: inherit !important; } }