themes-wordpress/modern-business/style-jetpack.scss
2019-05-10 14:33:48 -04:00

113 lines
1.9 KiB
SCSS

/* Reset font-family styles for Jetpack
*
* See: https://github.com/Automattic/jetpack/blob/master/modules/theme-tools/compat/twentynineteen.css
*
* Note: Use $font__heading or $font__body variables approriately
*/
@import "sass/variables-site/variables-site";
/* Infinite scroll */
.site-main #infinite-handle span button,
.site-main #infinite-handle span button:hover,
.site-main #infinite-handle span button:focus {
background: $color__background-button;
font-family: $font__body;
}
/**
* Responsive Videos
*/
/**
* Sharing & Related Posts
*/
.entry div.sharedaddy h3.sd-title,
.entry h3.sd-title,
.entry #jp-relatedposts h3.jp-relatedposts-headline {
font-family: $font__heading;
}
.entry #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
font-family: $font__body;
}
.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,
.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date {
font-family: $font__body;
}
/**
* Stats
*/
/**
* Comments
*/
/**
* Widgets
*/
/* Authors Widget */
.widget_authors > ul > li > a {
font-family: $font__body;
}
/* Display WordPress Posts */
/* GoodReads */
/* EU cookie law */
.widget_eu_cookie_law_widget #eu-cookie-law {
font-family: $font__body;
}
/* RSS Links */
.widget_rss_links li {
font-family: $font__body;
}
/**
* Content Options
*/
/**
* Contact Form
*/
.entry-content .contact-form label span {
color: inherit;
font-weight: 300;
}
/**
* Blocks
*/
/* Mailchimp Block - Temp Fix */
.wp-block-jetpack-mailchimp {
input[type="email"] {
width: 100%;
}
#wp-block-jetpack-mailchimp_consent-text {
font-size: $font__size-xs;
}
}
/* Business Hours - Temp Fix */
.jetpack-business-hours {
dt,
dd {
float: left;
}
dt {
clear: both;
margin-right: ( $size__spacing-unit * .5 );
}
dd {
margin: 0;
}
}