Skip to content

Instantly share code, notes, and snippets.

@wormeyman
Last active September 29, 2020 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wormeyman/2fef53da4fae1d6076d1ceb24b42c4b0 to your computer and use it in GitHub Desktop.
Save wormeyman/2fef53da4fae1d6076d1ceb24b42c4b0 to your computer and use it in GitHub Desktop.
Kale custom css
<?php
$custom_css_template['colors'] = "
body{color:~color_body~}
a, a:hover, a:visited, a:active, a:focus,
.single .entry-content a,
.single .entry-content a:hover,
.single .entry-content a:visited,
.single .entry-content a:active,
.single .entry-content a:focus,
.page .entry-content a,
.page .entry-content a:hover,
.page .entry-content a:visited,
.page .entry-content a:active,
.page .entry-content a:focus {color:~color_accent~}
.entry-title a{color:~color_accent~}
.tagline{color:~color_accent~}
";
$custom_css_template['fonts'] =
"body{font-family: ~font_body_name~; font-size:~font_body_size~; font-weight:~font_body_variant~;}
h1,h2,h3,h4,h5,h6,
.form-label,
.navbar-nav > li > a,
.dropdown-menu>li>a,
.frontpage-slider .caption,
.pagination-blog-feed a,
.pagination-post a,
.recipe-index-feed .category-more a,
.recent-posts-widget-with-thumbnails .rpwwt-widget .rpwwt-post-title ,
.header-row-1 .widget_nav_menu .menu > li > a{font-family: ~font_heading_name~; font-weight: ~font_heading_variant~; text-transform:~font_heading_transform~;}
h1{font-size:~font_h1_size~;}
h2{font-size:~font_h2_size~;}
h3{font-size:~font_h3_size~;}
h4{font-size:~font_h4_size~;}
h5{font-size:~font_h5_size~;}
h6{font-size:~font_h6_size~;}
.logo .header-logo-text{line-height:~font_logo_size~; font-size:~font_logo_size~; font-weight:~font_logo_variant~; font-family: ~font_logo_name~; text-transform:~font_logo_transform~;}
@media (max-width:767px){
.logo .header-logo-text{line-height:30px;font-size:30px;}
}
.tagline{font-family: ~font_tagline_name~; font-size:~font_tagline_size~; }
.tagline p{text-transform:~font_tagline_transform~;}
";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment