a, #menu .current_page_item > a, #menu .current-menu-ancestor > a', 'color', 'bg' ), array( '.post-title h1, .post-entry a, .post-extras .post-edit-link, #more-posts-inner a:hover', 'color', 'bg' ), array( '#comments #respond h3', 'color', 'bg' ), array( '#nav-below a:active', 'color', '#eeeeee' ), array( '.comment-author a:hover', 'color', 'bg' ), array( '.comment-text p a', 'color', 'bg' ), array( '.post-entry .more-link:hover', 'color', 'bg' ), array( '#comments li a:hover', 'color', 'bg' ), ) ); /** * Text */ add_color_rule( 'txt', '#000', array( ) ); /** * Extras */ add_color_rule( 'extra', '#999', array( array( '#menu a', 'color', 'bg', 4 ), array( '#menu ul ul a,#menu ul ul a:hover,#page #menu a:hover, .post-entry a:hover, .post-extras .post-edit-link:hover', 'color', '#ffffff', 4 ), ) ); add_color_rule( 'extra', '#000', array( array( '#main-title #site-title a, #more-posts-inner a', 'color', 'bg', 8 ), array( '.sticky .entry-format, .more-posts .sticky h2.entry-format, .more-posts h2.entry-format, .featured', 'color', 'bg', 8 ), array( '.post-date', 'color', 'bg' ), array( '#page #menu a:hover, .post-entry a:hover, .post-extras .post-edit-link:hover', 'color', 'bg', 8 ), array( 'a.entry-format-link, a.entry-format-link:visited', 'color', 'bg' ), array( '.post-extras a:hover', 'color', 'bg' ), array( '#comments h3', 'color', 'bg' ), array( '#comments li.pingback a,.comment-text p a:hover', 'color', 'bg' ), array( '.comment-text .reply-link a', 'color', 'bg' ), array( '.comment-author,.comment-author a', 'color', 'bg' ), array( '#comments #reply-title a, #comment-nav-above a, #comment-nav-below a, .comment-text table a', 'color', 'bg' ), array( '.comment-text p a:hover', 'color', 'bg' ), array( '.post-entry .more-link', 'color', 'bg' ), array( '.post-info a:hover', 'color', 'bg' ), array( '.sidebar-widget a:hover', 'color', 'bg' ), array( '.sidebar-widget', 'color', 'bg' ), array( '.featured a', 'color', 'bg' ), ) ); add_color_rule( 'extra', '#555', array( array( '#main-title #site-description', 'color', 'bg', 4 ), array( '.post-info', 'color', 'bg', 4 ), array( '.post-date span', 'color', 'bg' ), array( '.post-info .post-com-count a', 'color', 'bg', 4 ), ) ); add_color_rule( 'extra', '#ddd', array( array( '#main-image', 'border-color', .3 ), array( '#main-image img', 'border-color', .3 ), array( '.post-title h1', 'border-color', .3 ), array( '#content,.content-sidebar #content', 'border-color', .3 ), array( '.sidebar-widget li', 'border-color', .3 ), array( '.more-posts .page-title, .more-posts .notice', 'border-color', .3 ), array( '#more-posts-inner span', 'border-color', .3 ), array( '#menu .current-menu-item > a, #menu .current_page_item > a, #menu .current-menu-ancestor > a', 'border-top-color', .3 ), array( '.single .post', 'border-color', .3 ), array( '.post-extras strong', 'border-color', .3 ), array( '.comment-text', 'border-color', .3 ), array( '#comments li', 'border-color', .3 ), ) ); add_color_rule( 'extra', '#333', array( array( '.post-entry', 'color', 'bg', 8 ), array( '.sidebar-widget a', 'color', 'bg', 8 ), array( '.post-extras', 'color', 'bg', 8 ), array( '.post-extras p a', 'color', 'bg', 8 ), array( '#more-posts-inner article', 'color', 'bg' ), array( '.comment-text p', 'color', 'bg' ), ) ); add_color_rule( 'extra', '#ccc', array( array( '#menu .current-menu-item > a, #menu .current_page_item > a, #menu .current-menu-ancestor > a', 'border-bottom-color', .3 ), array( '#comments #respond h3', 'border-color', .3 ), array( '#comments h3', 'border-bottom', .3 ), ) ); add_color_rule( 'extra', '#8C8B8B', array( array( '.sidebar-widget li ', 'color', 'bg', 8 ), ) ); add_color_rule( 'extra', '#666', array( array( '.wp-caption .wp-caption-text:before,.wp-caption .wp-caption-text, .gallery-caption', 'color', 'bg' ), array( '.more-posts .page-title, .more-posts .notice', 'color', 'bg' ), array( '#comments li.pingback .comment-text .edit-comment a', 'color', 'bg' ), ) ); add_color_rule( 'extra', '#4d4d4d', array( array( '#copyright a', 'color', '#222222' ), ) ); /** * 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', 'chateau_extra_css' ); function chateau_extra_css() { ?> #menu li { background: transparent; } #menu a { border-color: transparent; } #search #s { background: #fff; }