li > a', 'color' ), array( '#header .menu > li.current_page_item a, #header .menu > li.current-menu-item a, #header .menu > li:hover a, #header .menu li li a, #footer > p', 'background-color', '-2' ), array( '#header .menu li li a:hover', 'background-color', '-1' ), array( '#header, #content, #sidebar, body div#toolTip', 'border-color', '-2' ), ) ); /** * Headings. */ add_color_rule( 'txt', '#ceb04f', array( array( ' body #header h1, body #header h1 a, #content .posttitle, #content .posttitle a, .postentry h1, .postentry h1 a, .postentry h2, .postentry h2 a, .postentry h3, .postentry h3 a, .postentry h4, .postentry h4 a, .postentry h5, .postentry h5 a, .postentry h6, .postentry h6 a, #sidebar .widgettitle, #comments, #commentlist .commenttitle, #commentlist .commenttitle a, #reply-title ', 'color', '#fff' ), array( ' body #header h1 a:hover, #content .posttitle a:hover, .postentry h1 a:hover, .postentry h2 a:hover, .postentry h3 a:hover, .postentry h4 a:hover, .postentry h5 a:hover, .postentry h6 a:hover', 'color', 0.8 ), array( '#commentlist .bypostauthor .commentcounter', 'color', 0.35 ), array( '#sidebar .widgettitle', 'border-bottom-color' ), ) ); /** * Highlights. */ add_color_rule( 'fg1', '#f8ffe5', array( array( '.postmeta', 'background-color', 0.1 ), array( 'input, textarea', 'background-color', 0.1 ), array( '.sticky, #content #commentlist .bypostauthor', 'background-color', 0.2 ), array( '#sidebar > ul', 'background-color', 0.3 ), array( '.wp-caption', 'background-color', 0.5 ), array( '.wp-caption', 'border-color', 0.6 ), array( '#content #commentlist .bypostauthor, #commentlist .avatar', 'border-color', 0.15 ), ), __( 'Highlights' ) ); /** * Borders. * Used for the borders on the header, posts area, and sidebar. * Used on the active/current states in the nav. * Used as border of the tool-tip. * Used as the background color. */ add_color_rule( 'fg2', '#8fce0e', array( ) ); /** * Links */ add_color_rule( 'link', '#95C725', array( array( ' a:link, a:visited', 'color' ), array( ' a:active, a:focus, a:hover', 'color', 0.75 ), ) ); /** * Force Lightness. */ add_color_rule( 'extra', '#fff', array( array( '#infinite-footer .container', 'background-color', 0.75 ), array( ' #header .menu a, #header .menu ul a, #header .menu li a:hover, #header .menu li:hover > a, #header .menu li.current_page_item a, #header .menu > li.current_page_item a, #header .menu > li.current-menu-item a, #footer p, #footer p a:link, #footer p a:visited, #footer p a:focus, #footer p a:hover, #footer p a:active ', 'color', 'fg2' ), array( ' #sidebar, body div#toolTip', 'background-color' ), ) ); /** * Force Darkness. */ add_color_rule( 'extra', '#000', array( array( ' #infinite-footer .blog-credits, #infinite-footer .container a', 'color', 0.5 ), array( '#content .postmeta', 'color', 0.4 ), array( '#content .postmeta a', 'color', 0.5 ), array( '#content .sharedaddy h3', 'color', 0.5 ), array( ' #infinite-footer .container, #content .gallery img .postmeta', 'border-color', 0.05 ), array( ' body div#toolTip p, body div#toolTip p em, body div#toolTip p em span ', 'color', 0.6 ), ) ); /** * Custom CSS styles. */ function greenery_extra_css() { ?> body #wrapper { background-image: -ms-linear-gradient( top, rgba( 0, 0, 0, .075 ) 0, rgba( 0, 0, 0, 0 ) 460px ); background-image: -moz-linear-gradient( top, rgba( 0, 0, 0, .075 ) 0, rgba( 0, 0, 0, 0 ) 460px ); background-image: -o-linear-gradient( top, rgba( 0, 0, 0, .075 ) 0, rgba( 0, 0, 0, 0 ) 460px ); background-image: -webkit-gradient( linear, left top, left bottom, color-stop( 0, rgba( 0, 0, 0, .075 ) ), color-stop( 460, rgba( 0, 0, 0, 0 ) ) ); background-image: -webkit-linear-gradient( top, rgba( 0, 0, 0, .075 ) 0, rgba( 0, 0, 0, 0 ) 460px ); background-image: linear-gradient( to bottom, rgba( 0, 0, 0, .075 ) 0, rgba( 0, 0, 0, 0 ) 460px ); } #sidebar { padding-top: 0; padding-bottom: 0; } #sidebar > ul { padding-top: 10px; padding-bottom: 20px; }