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

133 lines
2.3 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 {
font-family: $font__body;
background: $color__background-button;
&:hover {
background: $color__background-button-hover;
cursor: pointer;
}
&:visited {
color: $color__background-body;
text-decoration: none;
}
&:focus {
background: $color__background-button-hover;
outline: thin dotted;
outline-offset: -4px;
}
}
/**
* Responsive Videos
*/
/**
* Sharing
*/
.entry div.sharedaddy h3.sd-title,
.entry h3.sd-title {
font-family: $font__heading;
font-weight: $font__weight_semi_bold;
letter-spacing: normal;
}
/**
* Related Posts
*/
.entry #jp-relatedposts h3.jp-relatedposts-headline {
font-family: $font__heading;
font-weight: $font__weight_semi_bold;
em {
font-weight: inherit;
}
}
.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
*/
/**
* 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;
}
}