'.grid', 'property' => 'max-width', 'value' => $grid_width, 'idtag' => 'grid_width', ) ); /* Base Typography and HTML */ hoot_add_css_rule( array( 'selector' => 'a', 'property' => 'color', 'value' => $accent_color, 'idtag' => 'accent_color', ) ); // Overridden in premium hoot_add_css_rule( array( 'selector' => '.invert-typo', 'property' => array( // property => array( value, idtag, important, typography_reset ), 'background' => array( $accent_color, 'accent_color' ), 'color' => array( $accent_font, 'accent_font' ), ), ) ); hoot_add_css_rule( array( 'selector' => 'input[type="submit"], #submit, .button', 'property' => array( // property => array( value, idtag, important, typography_reset ), 'background' => array( $accent_color, 'accent_color' ), 'color' => array( $accent_font, 'accent_font' ), ), ) ); hoot_add_css_rule( array( 'selector' => 'input[type="submit"]:hover, #submit:hover, .button:hover', 'property' => array( // property => array( value, idtag, important, typography_reset ), 'background' => array( $accent_color_dark ), 'color' => array( $accent_font, 'accent_font' ), ), ) ); if ( 'heading' == $headings_fontface ) { // Override @headingsFontFamily if selected in options hoot_add_css_rule( array( 'selector' => 'h1, h2, h3, h4, h5, h6, .title, .titlefont', 'property' => array( // property => array( value, idtag, important, typography_reset ), 'font-family' => array( '"Pacifico", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif' ), // 'font-weight' => array( '300' ), // 'color' => array( '#000000' ), // shouldnt be for titlefont, but lets swing it ), ) ); // Removed in premium } /* Layout */ hoot_add_css_rule( array( 'selector' => 'body', 'property' => 'background', 'idtag' => 'background', ) ); if ( $site_layout == 'boxed' ) { hoot_add_css_rule( array( 'selector' => '#page-wrapper', 'property' => 'background', 'value' => $box_background_color, 'idtag' => 'box_background_color', ) ); } /* Header (Topbar, Header, Main Nav Menu) */ // Logo (with icon) if ( intval( $site_title_icon_size ) ) { hoot_add_css_rule( array( 'selector' => '.site-logo-with-icon #site-title i', 'property' => 'font-size', 'value' => $site_title_icon_size, 'idtag' => 'site_title_icon_size', ) ); } if ( $site_title_icon && intval( $site_title_icon_size ) ) { hoot_add_css_rule( array( 'selector' => '.site-logo-with-icon #site-title', 'property' => 'margin-left', 'value' => $site_title_icon_size, 'idtag' => 'site_title_icon_size', ) ); } /* Header (Topbar, Header, Main Nav Menu) */ // Mixed Logo (with image) hoot_add_css_rule( array( 'selector' => '.site-logo-with-image .site-logo-mixed-image, .site-logo-with-image .site-logo-mixed-image img', 'property' => 'width', 'value' => $logo_image_width, 'idtag' => 'logo_image_width', ) ); // Important to have logo img width as img does not follow max-width inside non-fixed tables in Firefox /* Header (Topbar, Header, Main Nav Menu) */ // Custom Logo if ( 'custom' == $logo || 'mixedcustom' == $logo ) { if ( is_array( $logo_custom ) && !empty( $logo_custom ) ) { $lcount = 1; foreach ( $logo_custom as $logo_custom_line ) { if ( !$logo_custom_line['sortitem_hide'] && !empty( $logo_custom_line['size'] ) ) { hoot_add_css_rule( array( 'selector' => '#site-logo-custom .site-title-line' . $lcount . ',#site-logo-mixedcustom .site-title-line' . $lcount, 'property' => 'font-size', 'value' => $logo_custom_line['size'], // 'idtag' => 'logo_custom', ) ); } $lcount++; } } } /* Main #Content */ hoot_add_css_rule( array( 'selector' => '.content .entry-byline', 'property' => 'color', 'value' => $accent_color, 'idtag' => 'accent_color', ) ); // Overridden in premium /* Light Slider */ hoot_add_css_rule( array( 'selector' => '.lSSlideOuter .lSPager.lSpg > li:hover a, .lSSlideOuter .lSPager.lSpg > li.active a', 'property' => 'background-color', 'value' => $accent_color, 'idtag' => 'accent_color', ) ); /* Page Templates */ foreach ( $wtmodule_bg as $wtmname ) { if ( $wtm_sectionbg[ $wtmname . '_type'] == 'image' && !empty( $wtm_sectionbg[ $wtmname . '_image'] ) && empty( $wtm_sectionbg[ $wtmname . '_parallax'] ) ) { hoot_add_css_rule( array( 'selector' => "#widgetized-template-{$wtmname}", 'property' => 'background-image', 'value' => $wtm_sectionbg[ $wtmname . '_image'], 'idtag' => "widgetized_template_sectionbg_{$wtmname}-image", ) ); } } /* Sidebars and Widgets */ hoot_add_css_rule( array( 'selector' => '.content-block-style4 .content-block-icon.icon-style-none', 'property' => 'color', 'value' => $accent_color, 'idtag' => 'accent_color', ) ); /* Plugins */ hoot_add_css_rule( array( 'selector' => '#infinite-handle span', 'property' => array( // property => array( value, idtag, important, typography_reset ), 'background' => array( $accent_color, 'accent_color' ), 'color' => array( $accent_font, 'accent_font' ), ), ) ); }