a,.menu ul .current_page_ancestor > a,.menu ul .current-menu-item > a,.menu ul .current-menu-ancestor > a,#nav-above a:hover,#footer a:hover,.entry-meta a:hover,.widget_flickr #flickr_badge_uber_wrapper a:hover,.widget_flickr #flickr_badge_uber_wrapper a:link,.widget_flickr #flickr_badge_uber_wrapper a:active,.widget_flickr #flickr_badge_uber_wrapper a:visited', 'color', '#fff' ), array( '.box .texts,.fetch:hover', 'background' ), array( 'blockquote,.box .texts', 'border-color' ), ), __( 'Links' ) ); /** * Foreground #2 */ add_color_rule( 'fg2', '#636363', array( ) ); /** * Links */ add_color_rule( 'link', '#333', array( // array( 'a,#nav-above a,.fetch a,.entry-meta a,#site-info a', 'color', '#fff' ), // array( '.fetch', 'background', .1 ), ) ); /** * Text */ add_color_rule( 'txt', '#333', array( array( '.menu ul a,#reply-title ,.entry-title,.page-title,.post_title,.post_title h1,.post_title h2,#comments-title,#site-title a,#site-title,.widget-title a,.widget-title,.box h1,.box h1 a', 'color', '#fff' ), //array( '.box .posted,input[type=text],input[type=email],input[type=password],textarea,#site-description,.box .categories a, .box .posted a,.comment-meta a,.nopassword, .nocomments', 'color', .5 ), array( '.entry-content table,.entry-content td,.comment-body td,.comment-body table,#header,#footer,.commentlist li > div,.commentlist .pingback,.comment-content,#featured-posts,input[type=text],input[type=email],input[type=password],textarea', 'border-color', .2 ), array( 'hr,.commentlist li.bypostauthor > div', 'background-color', .2 ), ) ); add_color_rule( 'extra', '#fff', array( array( '.box .texts .categories a, .box .texts a, .box .texts .posted, .box .texts .posted a', 'color', 'fg1' ) )); /** * If you need extra, non-color CSS when Custom Colors is active, supply a callback function with raw CSS * Straight echoing or using a return var is fine. */ add_theme_support( 'custom_colors_extra_css', 'imbalance2_extra_css' ); function imbalance2_extra_css() { ?> .box .texts { border-style: solid; border-width: 20px; }