article .comment-author .avatar', 'background' ), ) ); /* * Footer */ add_color_rule( 'fg2', '#000000', array( array( '.site-footer', 'background' ), ), __( 'Footer' ) ); /* * Extra CSS */ add_color_rule( 'extra', '#000000', array( array( '.portfolio .entry-title a,.portfolio .entry-title,.widget,.commentlist, .children,.comments-title, #respond h3#reply-title,.entry-summary,.entry-content,.widget-title, .widget-title a,.entry-title a,.entry-title,.introduction p,#category-highlight .category-section .entry-title a,#category-highlight .category-section .entry-title a:hover,#category-highlight .category-section .category-title a, #category-highlight .category-section .category-title a:hover', 'color', '#ffffff', +16 ), ) ); add_color_rule( 'extra', '#7d7d7d', array( array( '.rss-date,#wp-calendar thead th,.comment-meta a,.comment-meta,.portfolio .entry-summary,.widget_twitter .timesince,.entry-title a:hover,.entry-meta', 'color', 'bg', '+16' ), ) ); add_color_rule( 'extra', '555555', array( array( '.portfolio .entry-title a:hover', 'color', 'bg', '+6' ), ) ); add_color_rule( 'extra', '7d7d7d', array( array( '.gallery-caption,#content .comment-navigation .nav-next a:hover,#content .comment-navigation .nav-previous a:hover,#content .comment-navigation .nav-next a,#content .comment-navigation .nav-previous a,.page-title,#category-highlight .category-section .category-description,#category-highlight .category-section .entry-summary', 'color', 'bg', '+6' ), ) ); add_color_rule( 'extra', 'aaaaaa', array( array( '.site-info', 'color', 'fg2', '+15' ), ) ); add_color_rule( 'extra', 'ffffff', array( array( '.site-info a, .site-info a:hover', 'color', 'fg2', '+16' ), ) ); add_color_rule( 'extra', 'ffffff', array( array( '.site-description, #featured-content .featured-post-content .entry-title,#featured-content .featured-post-content .entry-title a,.main-small-navigation .menu,.main-small-navigation .menu a,.main-navigation ul ul a,.main-navigation a,.site-title,.site-tile a,#content .nav-next a,#content .next-image a,#content .nav-previous a,#content .previous-image a', 'color', 'fg1', +16 ), ) ); add_color_rule( 'extra', 'ffffff', array( array( '.wp-caption-text,a.comment-reply-link,.featured-post-content .more-link a,.site-title,.site-title a', 'color', 'fg1', '+16' ), ) ); add_color_rule( 'extra', '#a7d2ff', array( array( '.menu-toggle,.main-navigation li:hover > a,.main-navigation ul ul :hover > a,.main-navigation li.current_page_item a,.main-navigation li.current-menu-item a,', 'color', 'fg1', +16 ), ) ); add_color_rule( 'extra', 'e3f0ff', array( array( '.featured-post-content .entry-summary,#featured-content .featured-post-content .entry-title a:hover', 'color', 'fg1', '+16' ), ) ); add_color_rule( 'extra', 'ffffff', array( array( '#cancel-comment-reply-link', 'color', 'link', '+16' ), ) ); /** * Custom CSS styles. */ function custom_colors_skylark_extra_css() { ?> pre, mark, ins { background: rgba( 255, 255, 255, 0.4 ); } .site a:hover { color: rgba(0, 0, 0, 0.3); } .entry-content tr td,.comment-content tr td,.entry-content table,.comment-content table, #category-highlight .category-section, #wp-calendar tbody,#wp-calendar tbody td, body.page .entry-title, body.single .entry-title, .page-title, .widget ul li, .hentry,.comments-title, #respond h3#reply-title,.site-header, .comment-author .avatar { border-color: rgba(0, 0, 0, 0.3); } .featured-wrapper,.wp-caption { border-color: rgba(255,255,255, 0.4); } hr { background-color: rgba(0, 0, 0, 0.3); } .widget ul li { background: none; padding-left: 0; } a.comment-reply-link, .main-navigation a, .main-navigation a:hover, .site-title, .site-title a, .featured-post-content .more-link, .site-info a, .site-info a:hover { color: #fff; text-shadow: none; } .main-navigation li:hover > a, .main-navigation ul ul :hover > a, .main-navigation li.current_page_item a, .main-navigation li.current-menu-item a { color: rgba( 255, 255, 255, 0.8 ); } .featured-post-content .more-link { box-shadow: none; } .featured-wrapper, a.comment-reply-link, .featured-post-content .more-link, #content .nav-next a, #content .next-image a, #content .nav-previous a, #content .previous-image a { background-image: -moz-linear-gradient( top, rgba( 255, 255, 255, 0.1 ), transparent ); background-image: -o-linear-gradient( top, rgba( 255, 255, 255, 0.1 ), rgba( 255, 255, 255, 0 ) ); background-image: -webkit-gradient( linear, left top, left bottom, from( rgba( 255, 255, 255, 0.1 ) ), to( rgba( 255, 255, 255, 0 ) ) ); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ccffffff', endColorstr='#ffffffff' ); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccffffffff, endColorstr=#ffffffff)"; text-shadow: none; }