li > a', 'color', 'link', 10 ), array( '.desktop #primary-menu ul li.current-menu-item > a, .desktop #primary-menu ul li:hover > a, .desktop #primary-menu ul li a:hover, .desktop #primary-menu ul li a:focus, .desktop #primary-menu ul li a:active', 'color', '#ffffff', 2 ), array( '.desktop #page #primary-menu > li:hover > a, .desktop #page #primary-menu > li > a:focus, .desktop #page #primary-menu > li > a:active, .desktop #page #primary-menu > li.current-menu-item > a', 'color', '#ffffff', 4 ), // Contrast against link color array( '.widget_tag_cloud a:hover, .widget_tag_cloud a:active, .widget_tag_cloud a:focus, .wp_widget_tag_cloud a:hover, .wp_widget_tag_cloud a:active, .wp_widget_tag_cloud a:focus', 'background-color', 'link', 1 ), // Contrast against #f7f7f7 array( '.widget_calendar tbody td a', 'background-color', '#f7f7f7', 2 ), array( '#page .comment-author b.fn a:hover, #page .comment-author b.fn a:focus, #page .comment-author b.fn a:active, #page .entry-footer a:hover, #page .entry-footer a:focus, #page .entry-footer a:active', 'color', '#f7f7f7', 2 ), ) ); add_color_rule( 'extra', '#ffffff', array( // No contrast array( '.widget_calendar tbody td a', 'color' ), // Contrast against white array( '#page input[type="submit"], #page input[type="reset"], #page form button:not(.search-button):not(.menu-toggle):not(.dropdown-toggle)', 'color', 'txt', 1 ), // Contrast against link color array( '#page .site-title a', 'color', 'link' ), array( '.desktop #primary-menu > li > a', 'border-color', 'link', 4 ), array( '.sticky-post-label.on-image', 'color', 'link' ), array( '.widget_tag_cloud a:hover, .widget_tag_cloud a:active, .widget_tag_cloud a:focus, .wp_widget_tag_cloud a:active, .wp_widget_tag_cloud a:hover, .wp_widget_tag_cloud a:focus', 'color', 'link' ), array( '.widget_calendar tbody td a', 'color', 'link', 1 ), ) ); add_color_rule( 'fg1', '#2d3642', array( // No contrast array( '.site-header-top, .site-footer-bottom', 'background-color' ), // Contrast against white array( '#header-search input.search-field', 'color', '#ffffff' ), // Contrast against fg1 array( '.site-description, .site-header-top a, .site-footer-bottom a', 'color', 'fg1', 4 ), array( '.site-header-top a, .site-footer-bottom a', 'border-bottom-color', 'fg1', 2 ), array( '.site-header-top a:hover, .site-footer-bottom a:hover', 'color', 'fg1', 9 ), array( '.site-info', 'color', 'fg1', 3 ), ) ); add_color_rule( 'fg2', '#ffffff', array( ) ); function franklin_extra_css() { ?> .site-info, .site-title a, .desktop #primary-menu > li > a, .site-description, .site-header-top a, .site-footer-bottom a, .sticky-post-label.on-image, #page #header-search button:before { text-shadow: none; } .desktop #primary-menu > li > a { box-shadow: none; } .desktop #page #primary-menu > li:hover > a, .desktop #page #primary-menu > li.current-menu-item > a { background-color: #fff; } #content { border-color: transparent; } .comment-metadata a { opacity: 0.55; } .comment-metadata a:hover { opacity: 0.85; }