twentyfourteen_extra_css

The Twenty Fourteen twentyfourteen extra css function.

Description

twentyfourteen_extra_css(); 

Usage

  1. if ( !function_exists( 'twentyfourteen_extra_css' ) ) { 
  2. require_once '/inc/wpcom-colors.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = twentyfourteen_extra_css(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/wpcom-colors.php  
  1. function twentyfourteen_extra_css() { ?> 
  2. .site-description { 
  3. margin-top: 13px; 
  4.  
  5. .search-box .search-field { 
  6. border-style: solid; 
  7. border-width: 1px; 
  8.  
  9. .primary-sidebar .widget input,  
  10. .primary-sidebar .widget textarea,  
  11. .footer-sidebar .widget input,  
  12. .footer-sidebar .widget textarea { 
  13. background-color: #fff; 
  14. color: #2b2b2b; 
  15.  
  16. @media screen and (max-width: 782px) { 
  17. .primary-navigation ul ul,  
  18. .primary-navigation ul ul a:hover,  
  19. .primary-navigation ul ul li.focus > a,  
  20. .primary-navigation li:hover > a,  
  21. .primary-navigation li.focus > a,  
  22. .secondary-navigation ul ul,  
  23. .secondary-navigation ul ul a:hover,  
  24. .secondary-navigation ul ul li.focus > a,  
  25. .secondary-navigation li:hover > a,  
  26. .secondary-navigation li.focus > a { 
  27. background-color: transparent !important; 
  28.  
  29. .featured-content,  
  30. .featured-content .entry-header,  
  31. .slider-direction-nav a { 
  32. background-color: #efefef; 
  33.  
  34. .grid .featured-content .entry-header { 
  35. border-color: #efefef; 
  36.  
  37. .featured-content .hentry,  
  38. .featured-content a,  
  39. .featured-content .entry-meta,  
  40. .slider-direction-nav a:before { 
  41. color: #2b2b2b; 
  42.  
  43. .slider-control-paging a:before { 
  44. background-color: #ccc; 
  45.  
  46. .slider-control-paging a:hover:before { 
  47. background-color: #777; 
  48.  
  49. .slider-control-paging .slider-active:before,  
  50. .slider-control-paging .slider-active:hover:before { 
  51. background-color: #222; 
  52. <?php