a', 'background-color' ), array( '.main-navigation li.current_page_item a,.main-navigation li.current-menu-item a', 'background-color' ), array( '.main-small-navigation .menu li a:hover', 'background-color' ), array( '.entry-title', 'color', 'bg' ), array( '.site-content .site-navigation a:hover,.site-content .site-navigation .current', 'background-color' ), array( '.single .site-content .site-navigation a:hover', 'color', 'fg1' ), array( '#comments .comments-title span', 'color', 'bg' ), array( '#respond input[type="text"]:focus,#respond textarea:focus', 'border-color' ), array( '.widget #wp-calendar th', 'color', 'bg' ), array( '#flickr_badge_uber_wrapper a:hover,#flickr_badge_uber_wrapper a:link,#flickr_badge_uber_wrapper a:active,#flickr_badge_uber_wrapper a:visited', 'color', 'bg' ), array( '#searchform #submit', 'background-color' ), array( '.infinite-scroll #infinite-handle span', 'background-color' ), array( '.sticky .entry-meta', 'border-color' ), ), __( 'Links & Headings', 'minimalizine' ) ); add_color_rule( 'fg2', '#ffffff', array( ) ); add_color_rule( 'link', '#0099CC', array( ) ); add_color_rule( 'txt', '#FFFFFF', array( ) ); add_color_rule( 'extra', '#ffffff', array( array( 'button,html input[type="button"],input[type="reset"],input[type="submit"]', 'color', 'fg1' ), array( '.main-navigation ul ul a', 'color', 'fg1' ), array( '.main-navigation li:hover > a', 'color', 'fg1' ), array( '.main-navigation li.current_page_item a,.main-navigation li.current-menu-item a', 'color', 'fg1' ), array( '.main-small-navigation .menu li a:hover', 'color', 'fg1' ), array( '.site-content .site-navigation a:hover,.site-content .site-navigation .current', 'color', 'fg1' ), array( '#searchform #submit', 'color', 'fg1' ), array( '.infinite-scroll #infinite-handle span', 'color', 'fg1' ), array( '.infinite-scroll #infinite-handle span:hover,#infinite-handle span:hover:before', 'color', 'fg1' ), array( '#infinite-handle span:before', 'color', 'fg1' ), ) ); add_color_rule( 'extra', '#444444', array( array( 'body', 'color', 'bg' ), array( 'mark, ins', 'color', '#fff9c0' ), array( 'pre', 'color', '#eeeeee' ), array( '.comment-author,.comment-author a', 'color', 'bg' ), ) ); add_color_rule( 'extra', '#dddddd', array( array( '.main-navigation ul', 'border-color', .2 ), array( '#colophon', 'border-color', .2 ), array( '.widget ul li', 'border-color', .2 ), array( '.single .site-content .site-navigation', 'border-color', .2 ), array( '.main-small-navigation .menu li a', 'border-color', .2 ), array( '.gallery-caption', 'border-color', .2 ), array( '.commentlist .pingback', 'border-color', .2 ), array( '.commentlist article', 'border-color', .2 ), array( 'td, table, .widget #wp-calendar td', 'border-color', .2 ), ) ); add_color_rule( 'extra', '#666666', array( array( '.site-description', 'color', 'bg' ), ) ); add_color_rule( 'extra', '#333333', array( array( 'th', 'color', 'bg' ), ) ); add_color_rule( 'extra', '#888888', array( array( '#respond #cancel-comment-reply-link', 'color', 'bg' ), ) ); /* Adding extra CSS to remove text-shadow since it doesn't work with light backgrounds */ add_theme_support( 'custom_colors_extra_css', 'minimalizine_extra_css' ); function minimalizine_extra_css() { ?> body, .entry-title, .entry-title a { text-shadow: none; }