style-jetpack.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /* Reset font-family styles for Jetpack
  2. *
  3. * See: https://github.com/Automattic/jetpack/blob/master/modules/theme-tools/compat/twentynineteen.css
  4. *
  5. * Note: Use $font__heading or $font__body variables approriately
  6. */
  7. @import "sass/variables-site/variables-site";
  8. /* Infinite scroll */
  9. .site-main #infinite-handle span button,
  10. .site-main #infinite-handle span button:hover,
  11. .site-main #infinite-handle span button:focus {
  12. font-family: $font__body;
  13. }
  14. /**
  15. * Responsive Videos
  16. */
  17. /**
  18. * Sharing
  19. */
  20. .entry div.sharedaddy h3.sd-title,
  21. .entry h3.sd-title {
  22. font-family: $font__heading;
  23. }
  24. /**
  25. * Related Posts
  26. */
  27. .entry #jp-relatedposts h3.jp-relatedposts-headline {
  28. font-family: $font__heading;
  29. }
  30. .entry #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
  31. .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
  32. font-family: $font__body;
  33. }
  34. .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,
  35. .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date {
  36. font-family: $font__body;
  37. }
  38. /**
  39. * Stats
  40. */
  41. /**
  42. * Comments
  43. */
  44. /**
  45. * Widgets
  46. */
  47. /* Authors Widget */
  48. .widget_authors > ul > li > a {
  49. font-family: $font__body;
  50. }
  51. /* Display WordPress Posts */
  52. /* GoodReads */
  53. /* EU cookie law */
  54. .widget_eu_cookie_law_widget #eu-cookie-law {
  55. font-family: $font__body;
  56. }
  57. /* RSS Links */
  58. .widget_rss_links li {
  59. font-family: $font__body;
  60. }
  61. /**
  62. * Content Options
  63. */
  64. /**
  65. * Blocks
  66. */
  67. /* Mailchimp Block - Temp Fix */
  68. .wp-block-jetpack-mailchimp {
  69. input[type="email"] {
  70. width: 100%;
  71. }
  72. #wp-block-jetpack-mailchimp_consent-text {
  73. font-size: $font__size-xs;
  74. }
  75. }
  76. /* Business Hours - Temp Fix */
  77. .jetpack-business-hours {
  78. dt,
  79. dd {
  80. float: left;
  81. }
  82. dt {
  83. clear: both;
  84. margin-right: ( $size__spacing-unit * .5 );
  85. }
  86. dd {
  87. margin: 0;
  88. }
  89. }