Add upstream
This commit is contained in:
@@ -0,0 +1,744 @@
|
||||
/**
|
||||
* Jetpack Portfolio Shortcode
|
||||
*/
|
||||
|
||||
.site .portfolio-entry {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-title,
|
||||
.site .portfolio-entry-meta,
|
||||
.site .portfolio-entry-content {
|
||||
font-size: 1.2rem;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.site .portfolio-featured-image + .portfolio-entry-title {
|
||||
margin-top: 0.75em;
|
||||
margin-bottom: 0.75em;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-meta {
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-content .more-link:after {
|
||||
font-size: 16px;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Jetpack Widgets
|
||||
*/
|
||||
|
||||
/* Blog Subscriptions Widget */
|
||||
.jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.375em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.jetpack_subscription_widget form > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Display WordPress Posts Widget */
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4 {
|
||||
font-size: inherit;
|
||||
margin: 0 0 1.6em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts img {
|
||||
margin: 0 0 1.6em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
font-size: inherit;
|
||||
line-height: 1.6 !important;
|
||||
margin: 0 0 1.6em !important;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts > :last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
/* Gallery Widget */
|
||||
.widget-gallery .slideshow-window {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* Gravatar Profile Widget */
|
||||
.widget-area .widget-grofile .grofile-thumbnail {
|
||||
border-radius: 50%;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile h4 {
|
||||
margin: 1.6em 0 0;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile .grofile-accounts {
|
||||
margin-top: 0.8em;
|
||||
}
|
||||
|
||||
/* Image Widget */
|
||||
.widget_image .wp-caption {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.widget_image .wp-caption-text {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
/* RSS Links Widget */
|
||||
.widget_rss_links img {
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
|
||||
/* List type widgets */
|
||||
.widget_rss_links ul,
|
||||
.widget_top-posts ul ,
|
||||
.widget_upcoming_events_widget ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.widget_rss_links li,
|
||||
.widget_top-posts li,
|
||||
.widget_upcoming_events_widget li {
|
||||
border-top: 1px solid #eaeaea;
|
||||
border-top: 1px solid rgba(51, 51, 51, 0.1);
|
||||
padding: 0.7667em 0;
|
||||
}
|
||||
|
||||
.widget_rss_links li:first-child,
|
||||
.widget_top-posts li:first-child,
|
||||
.widget_upcoming_events_widget li:first-child {
|
||||
border-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.widget_rss_links li:last-child,
|
||||
.widget_top-posts li:last-child,
|
||||
.widget_upcoming_events_widget li:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Shortcodes Embeds
|
||||
*/
|
||||
|
||||
/* Facebook */
|
||||
.fb_iframe_widget {
|
||||
margin-bottom: 1.6em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.fb_iframe_widget span {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Gist */
|
||||
.gist table {
|
||||
table-layout: auto;
|
||||
}
|
||||
|
||||
.site .gist .gist-file {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
/* Googlemaps */
|
||||
.googlemaps {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.googlemaps iframe {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Crowdsignal */
|
||||
.PDS_Poll,
|
||||
.CSS_Poll {
|
||||
display: block !important;
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.PDS_Poll .pds-box,
|
||||
.CSS_Poll .css-box {
|
||||
max-width: 100%;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* Presentation */
|
||||
.site .presentation-wrapper {
|
||||
margin: 0 auto 1.6em;
|
||||
}
|
||||
|
||||
/* Recipes */
|
||||
.site .jetpack-recipe {
|
||||
border: 0;
|
||||
margin: 0 0 1.6em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.site .jetpack-recipe-title {
|
||||
border: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.site .jetpack-recipe .jetpack-recipe-meta {
|
||||
font-size: inherit;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Slideshow */
|
||||
.site .slideshow-window {
|
||||
border-radius: 0;
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
/* Twitter-timeline */
|
||||
iframe[id*="twitter-widget-"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Vine */
|
||||
.vine-embed {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* VideoPress */
|
||||
.site .video-player {
|
||||
margin-bottom: 1.6em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.video-player object {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Tiled gallery
|
||||
*/
|
||||
|
||||
.site .tiled-gallery {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Jetpack Comments
|
||||
*/
|
||||
|
||||
.comment-form iframe {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.comment-form .subscribe-label {
|
||||
font-weight: 400;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.5em;
|
||||
margin: 2em 0 0;
|
||||
}
|
||||
|
||||
.comment-subscription-form + .comment-subscription-form {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sharing
|
||||
*/
|
||||
|
||||
.hentry div.sharedaddy h3.sd-title,
|
||||
.hentry h3.sd-title {
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1;
|
||||
margin: 0 0 1em 0;
|
||||
opacity: 0.7;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Related Posts
|
||||
*/
|
||||
|
||||
.hentry #jp-relatedposts {
|
||||
margin: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.hentry .jp-relatedposts-post-title a {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.hentry .jp-relatedposts-headline em:before {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts h3.jp-relatedposts-headline {
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
opacity: 0.7;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post {
|
||||
margin-bottom: 1.6em;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items p {
|
||||
font-size: 1.2rem;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.hentry .jp-relatedposts-post-title {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post:hover .jp-relatedposts-post-title a,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual div.jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.hentry .jp-relatedposts-post-img {
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Stats
|
||||
*/
|
||||
|
||||
#wpstats {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Media Queries
|
||||
*/
|
||||
|
||||
@media screen and (min-width: 46.25em) {
|
||||
.site .portfolio-entry {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-title,
|
||||
.site .portfolio-entry-meta,
|
||||
.site .portfolio-entry-content {
|
||||
font-size: 1.4rem;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-content .more-link:after {
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.site .hentry .gist .gist-file {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
.site .widget .gist .gist-file {
|
||||
margin-bottom: 1.3125em;
|
||||
}
|
||||
|
||||
.hentry .fb_iframe_widget,
|
||||
.hentry .googlemaps,
|
||||
.hentry .PDS_Poll,
|
||||
.hentry .CSS_Poll,
|
||||
.site .hentry .presentation-wrapper,
|
||||
.site .hentry .jetpack-recipe,
|
||||
.site .hentry .slideshow-window,
|
||||
.site .hentry .video-player {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.widget .fb_iframe_widget,
|
||||
.widget .googlemaps,
|
||||
.widget .PDS_Poll,
|
||||
.widget .CSS_Poll,
|
||||
.site .widget .presentation-wrapper,
|
||||
.site .widget .jetpack-recipe,
|
||||
.site .widget .slideshow-window,
|
||||
.site .widget .video-player {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4,
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts img {
|
||||
margin: 0 0 1.5em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
line-height: 1.5 !important;
|
||||
margin: 0 0 1.5em !important;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile h4 {
|
||||
margin: 1.5em 0 0;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile .grofile-accounts {
|
||||
margin-top: 0.75em;
|
||||
}
|
||||
|
||||
.jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.5625em;
|
||||
}
|
||||
|
||||
.widget_rss_links li,
|
||||
.widget_top-posts li,
|
||||
.widget_upcoming_events_widget li {
|
||||
padding: 0.9643em 0;
|
||||
}
|
||||
|
||||
.site .tiled-gallery {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.jetpack-video-wrapper {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
font-size: 14px;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items p {
|
||||
font-size: 1.4rem;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-img {
|
||||
margin-bottom: 0.6176em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 55em) {
|
||||
.site .portfolio-entry {
|
||||
margin-bottom: 1.6842em
|
||||
}
|
||||
|
||||
.site .portfolio-entry-title,
|
||||
.site .portfolio-entry-meta,
|
||||
.site .portfolio-entry-content {
|
||||
font-size: 1.6rem;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-content .more-link:after {
|
||||
font-size: 24px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.site .hentry .gist .gist-file {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.site .widget .gist .gist-file {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.hentry .fb_iframe_widget,
|
||||
.hentry .googlemaps,
|
||||
.hentry .PDS_Poll,
|
||||
.hentry .CSS_Poll,
|
||||
.site .hentry .presentation-wrapper,
|
||||
.site .hentry .jetpack-recipe,
|
||||
.site .hentry .slideshow-window,
|
||||
.site .hentry .video-player {
|
||||
margin-bottom: 1.6842em;
|
||||
}
|
||||
|
||||
.site .tiled-gallery {
|
||||
margin-bottom: 1.6842em;
|
||||
}
|
||||
|
||||
.jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.75em;
|
||||
}
|
||||
|
||||
.widget_rss_links li,
|
||||
.widget_top-posts li,
|
||||
.widget_upcoming_events_widget li {
|
||||
padding: 0.7188em 0;
|
||||
}
|
||||
|
||||
.jetpack-video-wrapper {
|
||||
margin-bottom: 1.6842em;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
font-size: 16px;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items p {
|
||||
font-size: 1.6rem;
|
||||
font-size: 16px;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-img {
|
||||
margin-bottom: 0.6315em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 59.6875em) {
|
||||
.site .portfolio-entry {
|
||||
margin-bottom: 1.6em
|
||||
}
|
||||
|
||||
.site .portfolio-entry-title,
|
||||
.site .portfolio-entry-meta,
|
||||
.site .portfolio-entry-content {
|
||||
font-size: 1.2rem;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-content .more-link:after {
|
||||
font-size: 16px;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
.site .hentry .gist .gist-file {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.site .widget .gist .gist-file {
|
||||
margin-bottom: 1.125em;
|
||||
}
|
||||
|
||||
.hentry .fb_iframe_widget,
|
||||
.hentry .googlemaps,
|
||||
.hentry .PDS_Poll,
|
||||
.hentry .CSS_Poll,
|
||||
.site .hentry .presentation-wrapper,
|
||||
.site .hentry .jetpack-recipe,
|
||||
.site .hentry .slideshow-window,
|
||||
.site .hentry .video-player {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.site .tiled-gallery {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.4583em;
|
||||
}
|
||||
|
||||
.jetpack-video-wrapper {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile .grofile-thumbnail {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.widget_rss_links li,
|
||||
.widget_top-posts li,
|
||||
.widget_upcoming_events_widget li {
|
||||
padding: 0.4583em 0;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items p {
|
||||
font-size: 1.2rem;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-img {
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 68.75em) {
|
||||
.site .portfolio-entry {
|
||||
margin-bottom: 1.6471em
|
||||
}
|
||||
|
||||
.site .portfolio-entry-title,
|
||||
.site .portfolio-entry-meta,
|
||||
.site .portfolio-entry-content {
|
||||
font-size: 1.4rem;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-content .more-link:after {
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.site .hentry .gist .gist-file {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
.site .widget .gist .gist-file {
|
||||
margin-bottom: 1.3125em;
|
||||
}
|
||||
|
||||
.hentry .fb_iframe_widget,
|
||||
.hentry .googlemaps,
|
||||
.hentry .PDS_Poll,
|
||||
.hentry .CSS_Poll,
|
||||
.site .hentry .presentation-wrapper,
|
||||
.site .hentry .jetpack-recipe,
|
||||
.site .hentry .slideshow-window,
|
||||
.site .hentry .video-player {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.site .tiled-gallery {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.widget_rss_links li,
|
||||
.widget_top-posts li,
|
||||
.widget_upcoming_events_widget li {
|
||||
padding: 0.4643em 0;
|
||||
}
|
||||
|
||||
.jetpack-video-wrapper {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
font-size: 14px;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items p {
|
||||
font-size: 14px;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-img {
|
||||
margin-bottom: 0.6176em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 77.5em) {
|
||||
.site .portfolio-entry {
|
||||
margin-bottom: 1.6842em
|
||||
}
|
||||
|
||||
.site .portfolio-entry-title,
|
||||
.site .portfolio-entry-meta,
|
||||
.site .portfolio-entry-content {
|
||||
font-size: 1.6rem;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-content .more-link:after {
|
||||
font-size: 24px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.site .hentry .gist .gist-file {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.site .widget .gist .gist-file {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.hentry .fb_iframe_widget,
|
||||
.hentry .googlemaps,
|
||||
.hentry .PDS_Poll,
|
||||
.hentry .CSS_Poll,
|
||||
.site .hentry .presentation-wrapper,
|
||||
.site .hentry .jetpack-recipe,
|
||||
.site .hentry .slideshow-window,
|
||||
.site .hentry .video-player {
|
||||
margin-bottom: 1.6842em;
|
||||
}
|
||||
|
||||
.widget_rss_links li,
|
||||
.widget_top-posts li,
|
||||
.widget_upcoming_events_widget li {
|
||||
padding: 0.4688em 0;
|
||||
}
|
||||
|
||||
.site .tiled-gallery {
|
||||
margin-bottom: 1.6842em;
|
||||
}
|
||||
|
||||
.jetpack-video-wrapper {
|
||||
margin-bottom: 1.6842em;
|
||||
}
|
||||
|
||||
.hentry div.sharedaddy h3.sd-title,
|
||||
.hentry div#jp-relatedposts h3.jp-relatedposts-headline {
|
||||
font-size: 13px;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
font-size: 16px;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items p {
|
||||
font-size: 16px;
|
||||
font-size: 1.6rem;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-img {
|
||||
margin-bottom: 0.6315em;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,769 @@
|
||||
/**
|
||||
* Jetpack Portfolio Shortcode
|
||||
*/
|
||||
|
||||
.site .portfolio-entry {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-title,
|
||||
.site .portfolio-entry-meta,
|
||||
.site .portfolio-entry-content {
|
||||
font-size: 1.2rem;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.site .portfolio-featured-image + .portfolio-entry-title {
|
||||
margin-top: 0.75em;
|
||||
margin-bottom: 0.75em;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-meta {
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-content .more-link:after {
|
||||
font-size: 16px;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Jetpack Widgets
|
||||
*/
|
||||
|
||||
/* Blog Subscriptions Widget */
|
||||
.jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.375em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.jetpack_subscription_widget form > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Display WordPress Posts Widget */
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4 {
|
||||
font-size: inherit;
|
||||
margin: 0 0 1.6em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts img {
|
||||
margin: 0 0 1.6em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
font-size: inherit;
|
||||
line-height: 1.6 !important;
|
||||
margin: 0 0 1.6em !important;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts > :last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
/* Gallery Widget */
|
||||
.widget-gallery .slideshow-window {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* Gravatar Profile Widget */
|
||||
.widget-area .widget-grofile .grofile-thumbnail {
|
||||
border-radius: 50%;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile h4 {
|
||||
margin: 1.6em 0 0;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile .grofile-accounts {
|
||||
margin-top: 0.8em;
|
||||
}
|
||||
|
||||
/* Image Widget */
|
||||
.widget_image .wp-caption {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.widget_image .wp-caption-text {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
/* RSS Links Widget */
|
||||
.widget_rss_links img {
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
|
||||
/* List type widgets */
|
||||
.widget_rss_links ul,
|
||||
.widget_top-posts ul ,
|
||||
.widget_upcoming_events_widget ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.widget_rss_links li,
|
||||
.widget_top-posts li,
|
||||
.widget_upcoming_events_widget li {
|
||||
border-top: 1px solid #eaeaea;
|
||||
border-top: 1px solid rgba(51, 51, 51, 0.1);
|
||||
padding: 0.7667em 0;
|
||||
}
|
||||
|
||||
.widget_rss_links li:first-child,
|
||||
.widget_top-posts li:first-child,
|
||||
.widget_upcoming_events_widget li:first-child {
|
||||
border-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.widget_rss_links li:last-child,
|
||||
.widget_top-posts li:last-child,
|
||||
.widget_upcoming_events_widget li:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
/* Authors Widget */
|
||||
.widget_authors > ul > li > a {
|
||||
margin-bottom: 1em;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.widget_authors ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.widget_authors li {
|
||||
border-top: 1px solid #eaeaea;
|
||||
border-top: 1px solid rgba(51, 51, 51, 0.1);
|
||||
padding: 0.7667em 0;
|
||||
}
|
||||
|
||||
.widget_authors li:first-child {
|
||||
border-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.widget_authors li:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Shortcodes Embeds
|
||||
*/
|
||||
|
||||
/* Facebook */
|
||||
.fb_iframe_widget {
|
||||
margin-bottom: 1.6em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.fb_iframe_widget span {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Gist */
|
||||
.gist table {
|
||||
table-layout: auto;
|
||||
}
|
||||
|
||||
.site .gist .gist-file {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
/* Googlemaps */
|
||||
.googlemaps {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.googlemaps iframe {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Crowdsignal */
|
||||
.PDS_Poll,
|
||||
.CSS_Poll {
|
||||
display: block !important;
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.PDS_Poll .pds-box,
|
||||
.CSS_Poll .css-box {
|
||||
max-width: 100%;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* Presentation */
|
||||
.site .presentation-wrapper {
|
||||
margin: 0 auto 1.6em;
|
||||
}
|
||||
|
||||
/* Recipes */
|
||||
.site .jetpack-recipe {
|
||||
border: 0;
|
||||
margin: 0 0 1.6em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.site .jetpack-recipe-title {
|
||||
border: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.site .jetpack-recipe .jetpack-recipe-meta {
|
||||
font-size: inherit;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Slideshow */
|
||||
.site .slideshow-window {
|
||||
border-radius: 0;
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
/* Twitter-timeline */
|
||||
iframe[id*="twitter-widget-"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Vine */
|
||||
.vine-embed {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* VideoPress */
|
||||
.site .video-player {
|
||||
margin-bottom: 1.6em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.video-player object {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Tiled gallery
|
||||
*/
|
||||
|
||||
.site .tiled-gallery {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Jetpack Comments
|
||||
*/
|
||||
|
||||
.comment-form iframe {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.comment-form .subscribe-label {
|
||||
font-weight: 400;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.5em;
|
||||
margin: 2em 0 0;
|
||||
}
|
||||
|
||||
.comment-subscription-form + .comment-subscription-form {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sharing
|
||||
*/
|
||||
|
||||
.hentry div.sharedaddy h3.sd-title,
|
||||
.hentry h3.sd-title {
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1;
|
||||
margin: 0 0 1em 0;
|
||||
opacity: 0.7;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Related Posts
|
||||
*/
|
||||
|
||||
.hentry #jp-relatedposts {
|
||||
margin: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.hentry .jp-relatedposts-post-title a {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.hentry .jp-relatedposts-headline em:before {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts h3.jp-relatedposts-headline {
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
opacity: 0.7;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post {
|
||||
margin-bottom: 1.6em;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items p {
|
||||
font-size: 1.2rem;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.hentry .jp-relatedposts-post-title {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
|
||||
font-weight: inherit;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post:hover .jp-relatedposts-post-title a,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual div.jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.hentry .jp-relatedposts-post-img {
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Stats
|
||||
*/
|
||||
|
||||
#wpstats {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Media Queries
|
||||
*/
|
||||
|
||||
@media screen and (min-width: 46.25em) {
|
||||
.site .portfolio-entry {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-title,
|
||||
.site .portfolio-entry-meta,
|
||||
.site .portfolio-entry-content {
|
||||
font-size: 1.4rem;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-content .more-link:after {
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.site .hentry .gist .gist-file {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
.site .widget .gist .gist-file {
|
||||
margin-bottom: 1.3125em;
|
||||
}
|
||||
|
||||
.hentry .fb_iframe_widget,
|
||||
.hentry .googlemaps,
|
||||
.hentry .PDS_Poll,
|
||||
.hentry .CSS_Poll,
|
||||
.site .hentry .presentation-wrapper,
|
||||
.site .hentry .jetpack-recipe,
|
||||
.site .hentry .slideshow-window,
|
||||
.site .hentry .video-player {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.widget .fb_iframe_widget,
|
||||
.widget .googlemaps,
|
||||
.widget .PDS_Poll,
|
||||
.widget .CSS_Poll,
|
||||
.site .widget .presentation-wrapper,
|
||||
.site .widget .jetpack-recipe,
|
||||
.site .widget .slideshow-window,
|
||||
.site .widget .video-player {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4,
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts img {
|
||||
margin: 0 0 1.5em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
line-height: 1.5 !important;
|
||||
margin: 0 0 1.5em !important;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile h4 {
|
||||
margin: 1.5em 0 0;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile .grofile-accounts {
|
||||
margin-top: 0.75em;
|
||||
}
|
||||
|
||||
.jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.5625em;
|
||||
}
|
||||
|
||||
.widget_rss_links li,
|
||||
.widget_top-posts li,
|
||||
.widget_upcoming_events_widget li {
|
||||
padding: 0.9643em 0;
|
||||
}
|
||||
|
||||
.site .tiled-gallery {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.jetpack-video-wrapper {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
font-size: 14px;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items p {
|
||||
font-size: 1.4rem;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-img {
|
||||
margin-bottom: 0.6176em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 55em) {
|
||||
.site .portfolio-entry {
|
||||
margin-bottom: 1.6842em
|
||||
}
|
||||
|
||||
.site .portfolio-entry-title,
|
||||
.site .portfolio-entry-meta,
|
||||
.site .portfolio-entry-content {
|
||||
font-size: 1.6rem;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-content .more-link:after {
|
||||
font-size: 24px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.site .hentry .gist .gist-file {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.site .widget .gist .gist-file {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.hentry .fb_iframe_widget,
|
||||
.hentry .googlemaps,
|
||||
.hentry .PDS_Poll,
|
||||
.hentry .CSS_Poll,
|
||||
.site .hentry .presentation-wrapper,
|
||||
.site .hentry .jetpack-recipe,
|
||||
.site .hentry .slideshow-window,
|
||||
.site .hentry .video-player {
|
||||
margin-bottom: 1.6842em;
|
||||
}
|
||||
|
||||
.site .tiled-gallery {
|
||||
margin-bottom: 1.6842em;
|
||||
}
|
||||
|
||||
.jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.75em;
|
||||
}
|
||||
|
||||
.widget_rss_links li,
|
||||
.widget_top-posts li,
|
||||
.widget_upcoming_events_widget li {
|
||||
padding: 0.7188em 0;
|
||||
}
|
||||
|
||||
.jetpack-video-wrapper {
|
||||
margin-bottom: 1.6842em;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
font-size: 16px;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items p {
|
||||
font-size: 1.6rem;
|
||||
font-size: 16px;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-img {
|
||||
margin-bottom: 0.6315em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 59.6875em) {
|
||||
.site .portfolio-entry {
|
||||
margin-bottom: 1.6em
|
||||
}
|
||||
|
||||
.site .portfolio-entry-title,
|
||||
.site .portfolio-entry-meta,
|
||||
.site .portfolio-entry-content {
|
||||
font-size: 1.2rem;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-content .more-link:after {
|
||||
font-size: 16px;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
.site .hentry .gist .gist-file {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.site .widget .gist .gist-file {
|
||||
margin-bottom: 1.125em;
|
||||
}
|
||||
|
||||
.hentry .fb_iframe_widget,
|
||||
.hentry .googlemaps,
|
||||
.hentry .PDS_Poll,
|
||||
.hentry .CSS_Poll,
|
||||
.site .hentry .presentation-wrapper,
|
||||
.site .hentry .jetpack-recipe,
|
||||
.site .hentry .slideshow-window,
|
||||
.site .hentry .video-player {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.site .tiled-gallery {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.4583em;
|
||||
}
|
||||
|
||||
.jetpack-video-wrapper {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile .grofile-thumbnail {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.widget_rss_links li,
|
||||
.widget_top-posts li,
|
||||
.widget_upcoming_events_widget li {
|
||||
padding: 0.4583em 0;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
font-size: 12px;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items p {
|
||||
font-size: 1.2rem;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-img {
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 68.75em) {
|
||||
.site .portfolio-entry {
|
||||
margin-bottom: 1.6471em
|
||||
}
|
||||
|
||||
.site .portfolio-entry-title,
|
||||
.site .portfolio-entry-meta,
|
||||
.site .portfolio-entry-content {
|
||||
font-size: 1.4rem;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-content .more-link:after {
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.site .hentry .gist .gist-file {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
.site .widget .gist .gist-file {
|
||||
margin-bottom: 1.3125em;
|
||||
}
|
||||
|
||||
.hentry .fb_iframe_widget,
|
||||
.hentry .googlemaps,
|
||||
.hentry .PDS_Poll,
|
||||
.hentry .CSS_Poll,
|
||||
.site .hentry .presentation-wrapper,
|
||||
.site .hentry .jetpack-recipe,
|
||||
.site .hentry .slideshow-window,
|
||||
.site .hentry .video-player {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.site .tiled-gallery {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.widget_rss_links li,
|
||||
.widget_top-posts li,
|
||||
.widget_upcoming_events_widget li {
|
||||
padding: 0.4643em 0;
|
||||
}
|
||||
|
||||
.jetpack-video-wrapper {
|
||||
margin-bottom: 1.6471em;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
font-size: 14px;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items p {
|
||||
font-size: 14px;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-img {
|
||||
margin-bottom: 0.6176em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 77.5em) {
|
||||
.site .portfolio-entry {
|
||||
margin-bottom: 1.6842em
|
||||
}
|
||||
|
||||
.site .portfolio-entry-title,
|
||||
.site .portfolio-entry-meta,
|
||||
.site .portfolio-entry-content {
|
||||
font-size: 1.6rem;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.site .portfolio-entry-content .more-link:after {
|
||||
font-size: 24px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.site .hentry .gist .gist-file {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.site .widget .gist .gist-file {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.hentry .fb_iframe_widget,
|
||||
.hentry .googlemaps,
|
||||
.hentry .PDS_Poll,
|
||||
.hentry .CSS_Poll,
|
||||
.site .hentry .presentation-wrapper,
|
||||
.site .hentry .jetpack-recipe,
|
||||
.site .hentry .slideshow-window,
|
||||
.site .hentry .video-player {
|
||||
margin-bottom: 1.6842em;
|
||||
}
|
||||
|
||||
.widget_rss_links li,
|
||||
.widget_top-posts li,
|
||||
.widget_upcoming_events_widget li {
|
||||
padding: 0.4688em 0;
|
||||
}
|
||||
|
||||
.site .tiled-gallery {
|
||||
margin-bottom: 1.6842em;
|
||||
}
|
||||
|
||||
.jetpack-video-wrapper {
|
||||
margin-bottom: 1.6842em;
|
||||
}
|
||||
|
||||
.hentry div.sharedaddy h3.sd-title,
|
||||
.hentry div#jp-relatedposts h3.jp-relatedposts-headline {
|
||||
font-size: 13px;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
font-size: 16px;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.hentry div#jp-relatedposts div.jp-relatedposts-items p {
|
||||
font-size: 16px;
|
||||
font-size: 1.6rem;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-img {
|
||||
margin-bottom: 0.6315em;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File
|
||||
* See: http://jetpack.com/
|
||||
*/
|
||||
|
||||
function twentyfifteen_jetpack_setup() {
|
||||
/**
|
||||
* Add theme support for Responsive Videos.
|
||||
*/
|
||||
add_theme_support( 'jetpack-responsive-videos' );
|
||||
|
||||
/**
|
||||
* Add theme support for geo-location.
|
||||
*/
|
||||
add_theme_support( 'jetpack-geo-location' );
|
||||
}
|
||||
add_action( 'after_setup_theme', 'twentyfifteen_jetpack_setup' );
|
||||
|
||||
function twentyfifteen_init_jetpack() {
|
||||
/**
|
||||
* Add our compat CSS file for custom widget stylings and such.
|
||||
* Set the version equal to filemtime for development builds, and the JETPACK__VERSION for production
|
||||
* or skip it entirely for wpcom.
|
||||
*/
|
||||
if ( ! is_admin() ) {
|
||||
$version = false;
|
||||
if ( method_exists( 'Jetpack', 'is_development_version' ) ) {
|
||||
$version = Jetpack::is_development_version() ? filemtime( plugin_dir_path( __FILE__ ) . 'twentyfifteen.css' ) : JETPACK__VERSION;
|
||||
}
|
||||
wp_enqueue_style( 'twentyfifteen-jetpack', plugins_url( 'twentyfifteen.css', __FILE__ ), array(), $version );
|
||||
wp_style_add_data( 'twentyfifteen-jetpack', 'rtl', 'replace' );
|
||||
}
|
||||
}
|
||||
add_action( 'init', 'twentyfifteen_init_jetpack' );
|
||||
@@ -0,0 +1,370 @@
|
||||
/**
|
||||
* Jetpack compat stylesheet for Twenty Fourteen.
|
||||
*/
|
||||
|
||||
#jp-post-flair:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.site-content #jp-post-flair {
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.widget #jp-post-flair {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.entry-content div.jp-relatedposts {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div.jp-relatedposts .jp-relatedposts-headline em:after {
|
||||
content: ":";
|
||||
}
|
||||
|
||||
#page .entry-content div.sharedaddy h3,
|
||||
#page .entry-summary div.sharedaddy h3,
|
||||
#page .entry-content h3.sd-title,
|
||||
#page .entry-summary h3.sd-title,
|
||||
#primary div.sharedaddy .jp-relatedposts-headline em,
|
||||
.pd-rating,
|
||||
.cs-rating {
|
||||
color: #767676;
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.pd-rating,
|
||||
.cs-rating {
|
||||
min-height: 23px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.wp-multiplayer,
|
||||
.PDS_Poll,
|
||||
.CSS_Poll,
|
||||
.entry-content .slideshow-window {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.entry-content .gist table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.entry-content .slideshow-window {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.entry-content .video-player {
|
||||
padding: 0 0 24px;
|
||||
}
|
||||
|
||||
.highlander-enabled #respond {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.highlander-enabled #respond h3 {
|
||||
margin: 0 0 24px;
|
||||
}
|
||||
|
||||
.highlander-enabled #respond h3 small a {
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.wpcnt {
|
||||
margin-bottom: 15px; /* 24-9 */
|
||||
}
|
||||
|
||||
#wpstats {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img[id*="botd"] {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Widgets
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* About.me Widget*/
|
||||
|
||||
.aboutme_widget #am_thumbnail {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_thumbnail img {
|
||||
border: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_name {
|
||||
font-weight: 900;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_headline {
|
||||
font-size: 14px;
|
||||
line-height: 1.2857142857;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_bio {
|
||||
margin: 18px 0;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_bio p {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_bio:empty {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_services {
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
/* Akismet Widget */
|
||||
|
||||
.widget_akismet_widget a,
|
||||
.content-sidebar .widget_akismet_widget a {
|
||||
color: rgba(255,255,255,0.5) !important;
|
||||
}
|
||||
|
||||
.widget_akismet_widget a:hover,
|
||||
.content-sidebar .widget_akismet_widget a:hover {
|
||||
color: rgba(255,255,255,0.7) !important;
|
||||
}
|
||||
|
||||
/* Authors Widget */
|
||||
|
||||
.widget_authors li {
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
|
||||
.widget_authors li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.widget_authors img {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
/* Contact Info Widget */
|
||||
|
||||
.widget_contact_info > div {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.widget_contact_info > div:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Display WordPress Posts Widget */
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4 {
|
||||
font-size: 14px;
|
||||
line-height: 1.2857142857;
|
||||
margin: 0 0 9px;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
font-size: 14px;
|
||||
line-height: 1.2857142857 !important;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
margin: 9px 0 18px !important;
|
||||
}
|
||||
|
||||
/* Follow Button Widget */
|
||||
|
||||
.widget_follow_button_widget iframe {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Gravatar & Gravatar Profile Widget */
|
||||
|
||||
.widget_gravatar img.avatar,
|
||||
.widget-grofile .grofile-thumbnail {
|
||||
height: auto;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile h4 {
|
||||
font-size: 12px;
|
||||
line-height: 1.2857142857;
|
||||
margin: 18px 0 9px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile .grofile-meta h4 {
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/* Image Widget */
|
||||
|
||||
.widget_image .wp-caption,
|
||||
.widget_image .wp-caption-text {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.widget_image img {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Posts I Like Widget */
|
||||
|
||||
.widget_jetpack_posts_i_like .widgets-list-layout li {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Recent Comments Widget */
|
||||
|
||||
.widget_recent_comments table,
|
||||
.widget_recent_comments td {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.widget_recent_comments td.recentcommentsavatartop,
|
||||
.widget_recent_comments td.recentcommentsavatarend {
|
||||
padding: 5px 0 5px 5px;
|
||||
}
|
||||
|
||||
.widget_recent_comments td.recentcommentstexttop,
|
||||
.widget_recent_comments td.recentcommentstextend {
|
||||
padding: 5px 5px 5px 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Recent Images Widget */
|
||||
|
||||
.widget_recent_images img {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Top Posts & Pages Widget */
|
||||
|
||||
.widget_top-posts .widgets-list-layout li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Twitter(old) Widget */
|
||||
|
||||
.widget_twitter li {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.widget_twitter li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.widget_twitter iframe {
|
||||
margin: 18px 0 0;
|
||||
}
|
||||
|
||||
/* List type Widgets */
|
||||
|
||||
.widget_jp_blogs_i_follow li,
|
||||
.widget_delicious li,
|
||||
.widgets-list-layout li,
|
||||
.widget_top-clicks li,
|
||||
.widget_top-posts li,
|
||||
.top_rated li,
|
||||
.widget_upcoming_events_widget .upcoming-events li {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.2);
|
||||
padding: 8px 0 9px;
|
||||
}
|
||||
|
||||
.widget_jp_blogs_i_follow li:first-child,
|
||||
.widgets-list-layout li:first-child,
|
||||
.widget_top-clicks li:first-child,
|
||||
.widget_top-posts li:first-child,
|
||||
.top_rated li:first-child,
|
||||
.widget_upcoming_events_widget .upcoming-events li:first-child {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.content-sidebar .widget_jp_blogs_i_follow li,
|
||||
.content-sidebar .widgets-list-layout li,
|
||||
.content-sidebar .widget_top-clicks li,
|
||||
.content-sidebar .widget_top-posts li,
|
||||
.content-sidebar .top_rated li,
|
||||
.content-sidebar .widget_upcoming_events_widget .upcoming-events li {
|
||||
border-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.content-sidebar widget-area .widget-grofile h4 {
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Media Queries
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@media screen and (min-width: 1008px) {
|
||||
.footer-sidebar .widget_jp_blogs_i_follow li,
|
||||
.footer-sidebar .widget_jp_blogs_i_follow li,
|
||||
.footer-sidebar .widget_top-clicks li,
|
||||
.footer-sidebar .widget_top-posts li,
|
||||
.footer-sidebar .top_rated li,
|
||||
.footer-sidebar .widget_upcoming_events_widget .upcoming-events li,
|
||||
.primary-sidebar .widget_jp_blogs_i_follow li,
|
||||
.primary-sidebar .widget_jp_blogs_i_follow li,
|
||||
.primary-sidebar .widget_top-clicks li,
|
||||
.primary-sidebar .widget_top-posts li,
|
||||
.primary-sidebar .top_rated li {
|
||||
border-top: 0;
|
||||
padding: 0 0 6px;
|
||||
}
|
||||
|
||||
.footer-sidebar .widget_jp_blogs_i_follow li:last-child,
|
||||
.footer-sidebar .widget_jp_blogs_i_follow li:last-child,
|
||||
.footer-sidebar .widget_top-clicks li:last-child,
|
||||
.footer-sidebar .widget_top-posts li:last-child,
|
||||
.footer-sidebar .top_rated li:last-child,
|
||||
.footer-sidebar .widget_upcoming_events_widget .upcoming-events li:last-child,
|
||||
.primary-sidebar .widget_jp_blogs_i_follow li:last-child,
|
||||
.primary-sidebar .widget_jp_blogs_i_follow li:last-child,
|
||||
.primary-sidebar .widget_top-clicks li:last-child,
|
||||
.primary-sidebar .widget_top-posts li:last-child,
|
||||
.primary-sidebar .top_rated li:last-child {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.primary-sidebar .widget_blog_subscription input[type="text"],
|
||||
.footer-sidebar .widget_blog_subscription input[type="text"] {
|
||||
padding: 3px 2px !important;
|
||||
}
|
||||
|
||||
.footer-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4,
|
||||
.primary-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4,
|
||||
.footer-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p,
|
||||
.primary-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p,
|
||||
.footer-sidebar .widget-grofile .grofile-meta h4,
|
||||
.primary-sidebar .widget-grofile .grofile-meta h4 {
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.footer-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p,
|
||||
.primary-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
line-height: 1.5 !important;
|
||||
}
|
||||
|
||||
.footer-sidebar .widget-grofile h4,
|
||||
.primary-sidebar .widget-grofile h4,
|
||||
.footer-sidebar .top_rated div > p:first-of-type,
|
||||
.primary-sidebar .top_rated div > p:first-of-type {
|
||||
font-size: 11px;
|
||||
line-height: 1.6363636363;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,365 @@
|
||||
/**
|
||||
* Jetpack compat stylesheet for Twenty Fourteen.
|
||||
*/
|
||||
|
||||
#jp-post-flair:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.site-content #jp-post-flair {
|
||||
margin: 24px 0;
|
||||
}
|
||||
|
||||
.widget #jp-post-flair {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.entry-content div.jp-relatedposts {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#page .entry-content div.sharedaddy h3,
|
||||
#page .entry-summary div.sharedaddy h3,
|
||||
#page .entry-content h3.sd-title,
|
||||
#page .entry-summary h3.sd-title,
|
||||
#primary div.sharedaddy .jp-relatedposts-headline em,
|
||||
.pd-rating,
|
||||
.cs-rating {
|
||||
color: #767676;
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.pd-rating,
|
||||
.cs-rating {
|
||||
min-height: 23px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.wp-multiplayer,
|
||||
.PDS_Poll,
|
||||
.CSS_Poll,
|
||||
.entry-content .slideshow-window {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.entry-content .gist table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.entry-content .slideshow-window {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.entry-content .video-player {
|
||||
padding: 0 0 24px;
|
||||
}
|
||||
|
||||
.highlander-enabled #respond {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.highlander-enabled #respond h3 {
|
||||
margin: 0 0 24px;
|
||||
}
|
||||
|
||||
.highlander-enabled #respond h3 small a {
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.wpcnt {
|
||||
margin-bottom: 15px; /* 24-9 */
|
||||
}
|
||||
|
||||
#wpstats {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img[id*="botd"] {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Widgets
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* About.me Widget*/
|
||||
|
||||
.aboutme_widget #am_thumbnail {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_thumbnail img {
|
||||
border: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_name {
|
||||
font-weight: 900;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_headline {
|
||||
font-size: 14px;
|
||||
line-height: 1.2857142857;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_bio {
|
||||
margin: 18px 0;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_bio p {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_bio:empty {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.aboutme_widget #am_services {
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
/* Akismet Widget */
|
||||
|
||||
.widget_akismet_widget a,
|
||||
.content-sidebar .widget_akismet_widget a {
|
||||
color: rgba(255,255,255,0.5) !important;
|
||||
}
|
||||
|
||||
.widget_akismet_widget a:hover,
|
||||
.content-sidebar .widget_akismet_widget a:hover {
|
||||
color: rgba(255,255,255,0.7) !important;
|
||||
}
|
||||
|
||||
/* Authors Widget */
|
||||
.widget.widget_authors li > ul {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.widget_authors li {
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
|
||||
.widget_authors li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Contact Info Widget */
|
||||
|
||||
.widget_contact_info > div {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.widget_contact_info > div:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Display WordPress Posts Widget */
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4 {
|
||||
font-size: 14px;
|
||||
line-height: 1.2857142857;
|
||||
margin: 0 0 9px;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
font-size: 14px;
|
||||
line-height: 1.2857142857 !important;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
margin: 9px 0 18px !important;
|
||||
}
|
||||
|
||||
/* Follow Button Widget */
|
||||
|
||||
.widget_follow_button_widget iframe {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Gravatar & Gravatar Profile Widget */
|
||||
|
||||
.widget_gravatar img.avatar,
|
||||
.widget-grofile .grofile-thumbnail {
|
||||
height: auto;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile h4 {
|
||||
font-size: 12px;
|
||||
line-height: 1.2857142857;
|
||||
margin: 18px 0 9px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile .grofile-meta h4 {
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/* Image Widget */
|
||||
|
||||
.widget_image .wp-caption,
|
||||
.widget_image .wp-caption-text {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.widget_image img {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Posts I Like Widget */
|
||||
|
||||
.widget_jetpack_posts_i_like .widgets-list-layout li {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Recent Comments Widget */
|
||||
|
||||
.widget_recent_comments table,
|
||||
.widget_recent_comments td {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.widget_recent_comments td.recentcommentsavatartop,
|
||||
.widget_recent_comments td.recentcommentsavatarend {
|
||||
padding: 5px 5px 5px 0;
|
||||
}
|
||||
|
||||
.widget_recent_comments td.recentcommentstexttop,
|
||||
.widget_recent_comments td.recentcommentstextend {
|
||||
padding: 5px 0 5px 5px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Recent Images Widget */
|
||||
|
||||
.widget_recent_images img {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Top Posts & Pages Widget */
|
||||
|
||||
.widget_top-posts .widgets-list-layout li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Twitter(old) Widget */
|
||||
|
||||
.widget_twitter li {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.widget_twitter li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.widget_twitter iframe {
|
||||
margin: 18px 0 0;
|
||||
}
|
||||
|
||||
/* List type Widgets */
|
||||
|
||||
.widget_jp_blogs_i_follow li,
|
||||
.widget_delicious li,
|
||||
.widgets-list-layout li,
|
||||
.widget_top-clicks li,
|
||||
.widget_top-posts li,
|
||||
.top_rated li,
|
||||
.widget_upcoming_events_widget .upcoming-events li {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.2);
|
||||
padding: 8px 0 9px;
|
||||
}
|
||||
|
||||
.widget_jp_blogs_i_follow li:first-child,
|
||||
.widgets-list-layout li:first-child,
|
||||
.widget_top-clicks li:first-child,
|
||||
.widget_top-posts li:first-child,
|
||||
.top_rated li:first-child,
|
||||
.widget_upcoming_events_widget .upcoming-events li:first-child {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.content-sidebar .widget_jp_blogs_i_follow li,
|
||||
.content-sidebar .widgets-list-layout li,
|
||||
.content-sidebar .widget_top-clicks li,
|
||||
.content-sidebar .widget_top-posts li,
|
||||
.content-sidebar .top_rated li,
|
||||
.content-sidebar .widget_upcoming_events_widget .upcoming-events li {
|
||||
border-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.content-sidebar widget-area .widget-grofile h4 {
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Media Queries
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@media screen and (min-width: 1008px) {
|
||||
.footer-sidebar .widget_jp_blogs_i_follow li,
|
||||
.footer-sidebar .widget_jp_blogs_i_follow li,
|
||||
.footer-sidebar .widget_top-clicks li,
|
||||
.footer-sidebar .widget_top-posts li,
|
||||
.footer-sidebar .top_rated li,
|
||||
.footer-sidebar .widget_upcoming_events_widget .upcoming-events li,
|
||||
.primary-sidebar .widget_jp_blogs_i_follow li,
|
||||
.primary-sidebar .widget_jp_blogs_i_follow li,
|
||||
.primary-sidebar .widget_top-clicks li,
|
||||
.primary-sidebar .widget_top-posts li,
|
||||
.primary-sidebar .top_rated li {
|
||||
border-top: 0;
|
||||
padding: 0 0 6px;
|
||||
}
|
||||
|
||||
.footer-sidebar .widget_jp_blogs_i_follow li:last-child,
|
||||
.footer-sidebar .widget_jp_blogs_i_follow li:last-child,
|
||||
.footer-sidebar .widget_top-clicks li:last-child,
|
||||
.footer-sidebar .widget_top-posts li:last-child,
|
||||
.footer-sidebar .top_rated li:last-child,
|
||||
.footer-sidebar .widget_upcoming_events_widget .upcoming-events li:last-child,
|
||||
.primary-sidebar .widget_jp_blogs_i_follow li:last-child,
|
||||
.primary-sidebar .widget_jp_blogs_i_follow li:last-child,
|
||||
.primary-sidebar .widget_top-clicks li:last-child,
|
||||
.primary-sidebar .widget_top-posts li:last-child,
|
||||
.primary-sidebar .top_rated li:last-child {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.primary-sidebar .widget_blog_subscription input[type="text"],
|
||||
.footer-sidebar .widget_blog_subscription input[type="text"] {
|
||||
padding: 3px 2px !important;
|
||||
}
|
||||
|
||||
.footer-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4,
|
||||
.primary-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4,
|
||||
.footer-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p,
|
||||
.primary-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p,
|
||||
.footer-sidebar .widget-grofile .grofile-meta h4,
|
||||
.primary-sidebar .widget-grofile .grofile-meta h4 {
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.footer-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p,
|
||||
.primary-sidebar .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
line-height: 1.5 !important;
|
||||
}
|
||||
|
||||
.footer-sidebar .widget-grofile h4,
|
||||
.primary-sidebar .widget-grofile h4,
|
||||
.footer-sidebar .top_rated div > p:first-of-type,
|
||||
.primary-sidebar .top_rated div > p:first-of-type {
|
||||
font-size: 11px;
|
||||
line-height: 1.6363636363;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* A last try to show posts, in case the Featured Content plugin returns no IDs.
|
||||
*
|
||||
* @param array $featured_ids
|
||||
* @return array
|
||||
*/
|
||||
function twentyfourteen_featured_content_post_ids( $featured_ids ) {
|
||||
if ( empty( $featured_ids ) ) {
|
||||
$featured_ids = array_slice( get_option( 'sticky_posts', array() ), 0, 6 );
|
||||
}
|
||||
|
||||
return $featured_ids;
|
||||
}
|
||||
add_action( 'featured_content_post_ids', 'twentyfourteen_featured_content_post_ids' );
|
||||
|
||||
/**
|
||||
* Set the default tag name for Featured Content.
|
||||
*
|
||||
* @param WP_Customize_Manager $wp_customize Theme Customizer object.
|
||||
* @return void
|
||||
*/
|
||||
function twentyfourteen_customizer_default( $wp_customize ) {
|
||||
$wp_customize->get_setting( 'featured-content[tag-name]' )->default = 'featured';
|
||||
}
|
||||
add_action( 'customize_register', 'twentyfourteen_customizer_default' );
|
||||
|
||||
/**
|
||||
* Sets a default tag of 'featured' for Featured Content.
|
||||
*
|
||||
* @param array $settings
|
||||
* @return array
|
||||
*/
|
||||
function twentyfourteen_featured_content_default_settings( $settings ) {
|
||||
$settings['tag-name'] = 'featured';
|
||||
|
||||
return $settings;
|
||||
}
|
||||
add_action( 'featured_content_default_settings', 'twentyfourteen_featured_content_default_settings' );
|
||||
|
||||
/**
|
||||
* Removes sharing markup from post content if we're not in the loop and it's a
|
||||
* formatted post.
|
||||
*
|
||||
* @param bool $show Whether to show sharing options.
|
||||
* @param WP_Post $post The post to share.
|
||||
* @return bool
|
||||
*/
|
||||
function twentyfourteen_mute_content_filters( $show, $post ) {
|
||||
$formats = get_theme_support( 'post-formats' );
|
||||
if ( ! in_the_loop() && has_post_format( $formats[0], $post ) ) {
|
||||
$show = false;
|
||||
}
|
||||
return $show;
|
||||
}
|
||||
add_filter( 'sharing_show', 'twentyfourteen_mute_content_filters', 10, 2 );
|
||||
|
||||
function twentyfourteen_init_jetpack() {
|
||||
/**
|
||||
* Add our compat CSS file for custom widget stylings and such.
|
||||
* Set the version equal to filemtime for development builds, and the JETPACK__VERSION for production.
|
||||
*/
|
||||
if ( ! is_admin() ) {
|
||||
$version = false;
|
||||
if ( method_exists( 'Jetpack', 'is_development_version' ) ) {
|
||||
$version = Jetpack::is_development_version() ? filemtime( plugin_dir_path( __FILE__ ) . 'twentyfourteen.css' ) : JETPACK__VERSION;
|
||||
}
|
||||
wp_enqueue_style( 'twentyfourteen-jetpack', plugins_url( 'twentyfourteen.css', __FILE__ ), array(), $version );
|
||||
wp_style_add_data( 'twentyfourteen-jetpack', 'rtl', 'replace' );
|
||||
}
|
||||
}
|
||||
add_action( 'init', 'twentyfourteen_init_jetpack' );
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,374 @@
|
||||
/* Infinite scroll */
|
||||
|
||||
/* Globally hidden elements when Infinite Scroll is supported and in use. */
|
||||
.infinite-scroll .pagination,
|
||||
.infinite-scroll .posts-navigation,
|
||||
.infinite-scroll.neverending .site-footer {
|
||||
/* Theme Footer (when set to scrolling) */
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
|
||||
.infinity-end.neverending .site-footer {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.infinite-loader {
|
||||
margin: calc(3 * 1rem) auto;
|
||||
}
|
||||
|
||||
.infinite-loader .spinner {
|
||||
margin: 0 auto;
|
||||
left: inherit !important;
|
||||
}
|
||||
|
||||
.site-main #infinite-handle {
|
||||
margin: calc(2 * 1rem) auto;
|
||||
}
|
||||
|
||||
.site-main #infinite-handle span {
|
||||
background: transparent;
|
||||
display: block;
|
||||
font-size: 0.8888888889em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.site-main #infinite-handle span button,
|
||||
.site-main #infinite-handle span button:hover,
|
||||
.site-main #infinite-handle span button:focus {
|
||||
transition: background 150ms ease-in-out;
|
||||
background: #0073aa;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
box-sizing: border-box;
|
||||
color: white;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.8888888889em;
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
outline: none;
|
||||
padding: 0.66rem 1rem;
|
||||
}
|
||||
|
||||
.site-main #infinite-handle span button:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.site-main #infinite-handle span button:hover,
|
||||
.site-main #infinite-handle span button:focus {
|
||||
background: #111;
|
||||
}
|
||||
|
||||
.site-main #infinite-handle span button:focus {
|
||||
outline: thin dotted;
|
||||
outline-offset: -4px;
|
||||
}
|
||||
|
||||
.site-main .infinite-wrap .entry:first-of-type {
|
||||
margin-top: calc(6 * 1rem);
|
||||
}
|
||||
|
||||
/**
|
||||
* Responsive Videos
|
||||
*/
|
||||
.entry .jetpack-video-wrapper {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sharing
|
||||
*/
|
||||
|
||||
.sd-block {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.entry div.sharedaddy h3.sd-title,
|
||||
.entry h3.sd-title {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 1.125em;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1.2;
|
||||
margin-bottom: 0.5em;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.entry div.sharedaddy h3.sd-title:before,
|
||||
.entry h3.sd-title:before {
|
||||
background: #767676;
|
||||
border-top: none;
|
||||
content: "\020";
|
||||
display: block;
|
||||
height: 2px;
|
||||
margin: 1rem 0;
|
||||
width: 1em;
|
||||
min-width: inherit;
|
||||
}
|
||||
|
||||
.sd-social-icon-text .sd-content ul,
|
||||
.sd-social-text .sd-content ul {
|
||||
margin-bottom: -0.3125em !important;
|
||||
}
|
||||
|
||||
.sd-social-icon .sd-content ul,
|
||||
.sd-social-official .sd-content ul {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.entry #sharing_email .sharing_send,
|
||||
.entry .sd-content ul li .option a.share-ustom,
|
||||
.entry .sd-content ul li a.sd-button,
|
||||
.entry .sd-content ul li.advanced a.share-more,
|
||||
.entry .sd-content ul li.preview-item div.option.option-smart-off a,
|
||||
.entry .sd-social-icon .sd-content ul li a.sd-button,
|
||||
.entry .sd-social-icon-text .sd-content ul li a.sd-button,
|
||||
.entry .sd-social-official .sd-content > ul > li .digg_button > a,
|
||||
.entry .sd-social-official .sd-content > ul > li > a.sd-button,
|
||||
.entry .sd-social-text .sd-content ul li a.sd-button {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Related Posts
|
||||
*/
|
||||
|
||||
.entry #jp-relatedposts {
|
||||
padding-top: 0;
|
||||
margin-top: 32px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.entry #jp-relatedposts h3.jp-relatedposts-headline {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 1.125em;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1.2;
|
||||
margin-bottom: 0.5em;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.entry #jp-relatedposts h3.jp-relatedposts-headline:before {
|
||||
background: #767676;
|
||||
border-top: none;
|
||||
content: "\020";
|
||||
display: block;
|
||||
height: 2px;
|
||||
margin: 1rem 0;
|
||||
width: 1em;
|
||||
min-width: inherit;
|
||||
}
|
||||
|
||||
.entry #jp-relatedposts h3.jp-relatedposts-headline em:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.entry #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.entry #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
|
||||
.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 1em;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1.2;
|
||||
margin-bottom: 0.5em;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.entry #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title a,
|
||||
.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span a {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title,
|
||||
.entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-excerpt {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.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: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.entry #jp-relatedposts .jp-relatedposts-items p,
|
||||
.entry #jp-relatedposts .jp-relatedposts-items-visual
|
||||
.entry h4.jp-relatedposts-post-title {
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Stats
|
||||
*/
|
||||
|
||||
#wpstats {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Comments
|
||||
*/
|
||||
|
||||
.comments-area .comments-title-wrap + .comment-respond .comment-reply-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Widgets
|
||||
*/
|
||||
|
||||
/* Widget List Resets */
|
||||
.widget_authors ul,
|
||||
.widget_author_grid ul,
|
||||
.widget_jp_blogs_i_follow ul,
|
||||
.widget_links ul,
|
||||
.widget_rss_links ul {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.widget_links li,
|
||||
.widget_jp_blogs_i_follow li,
|
||||
.widget_rss_links li {
|
||||
color: #767676;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: calc(22px * 1.125);
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
/* Authors Widget */
|
||||
.widget.widget_authors ul li > ul {
|
||||
list-style-type: disc;
|
||||
padding-left: 4.25rem;
|
||||
}
|
||||
|
||||
.rtl .widget.widget_authors ul li > ul {
|
||||
padding-left: 0;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
.widget_authors > ul > li > a {
|
||||
display: block;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.widget.widget_authors li a strong {
|
||||
line-height: 1.2;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.widget.widget_authors .avatar {
|
||||
float: left;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
.widget_authors li > ul {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* Display WordPress Posts */
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4 {
|
||||
font-size: 100%;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
/* GoodReads */
|
||||
.widget_goodreads div[class^="gr_custom_container"] {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.widget_goodreads div[class^="gr_custom_each_container"] {
|
||||
border-bottom: none;
|
||||
margin-bottom: 1rem;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.widget_goodreads h2[class^="gr_custom_header"],
|
||||
.widget_goodreads div[class^="gr_custom_author"] {
|
||||
font-size: inherit;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
/* EU cookie law */
|
||||
.widget_eu_cookie_law_widget #eu-cookie-law {
|
||||
border-color: #ccc;
|
||||
color: #767676;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
font-size: 0.68182em;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
.widget_eu_cookie_law_widget #eu-cookie-law .accept {
|
||||
font-size: 1em;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
/* RSS Feed Widget */
|
||||
.widget_rss li a.rsswidget {
|
||||
display: block;
|
||||
margin: 1rem 0 0.5rem;
|
||||
}
|
||||
|
||||
.widget_rss .rssSummary {
|
||||
font-family: "NonBreakingSpaceOverride", "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
|
||||
font-weight: 400;
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.widget_rss cite,
|
||||
.widget_rss .rss-date {
|
||||
color: #9c9c9c;
|
||||
display: block;
|
||||
font-size: 0.71111em;
|
||||
font-weight: 500;
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
.widget_rss cite {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.widget_rss cite:before {
|
||||
content: "\2014\00a0";
|
||||
}
|
||||
|
||||
/* Top Posts & Pages Widget */
|
||||
.widget_top-posts .widgets-list-layout-links {
|
||||
float: inherit;
|
||||
margin-left: calc(40px + 1rem);
|
||||
width: inherit;
|
||||
}
|
||||
|
||||
/* Search widget override */
|
||||
@media only screen and (min-width: 600px) {
|
||||
.widget.widget_search .search-field {
|
||||
max-width: calc( 50vw - 20% );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Content Options
|
||||
*/
|
||||
.twentynineteen-customizer .entry .entry-meta > span,
|
||||
.twentynineteen-customizer .entry .entry-footer > span {
|
||||
display: inline;
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File
|
||||
* See: http://jetpack.com/
|
||||
*/
|
||||
|
||||
function twentynineteen_jetpack_setup() {
|
||||
|
||||
/**
|
||||
* Add theme support for Infinite Scroll.
|
||||
*/
|
||||
add_theme_support( 'infinite-scroll', array(
|
||||
'type' => 'click',
|
||||
'container' => 'main',
|
||||
'render' => 'twentynineteen_infinite_scroll_render',
|
||||
'footer' => 'page',
|
||||
) );
|
||||
|
||||
/**
|
||||
* Add theme support for Responsive Videos.
|
||||
*/
|
||||
add_theme_support( 'jetpack-responsive-videos' );
|
||||
|
||||
/**
|
||||
* Add theme support for geo-location.
|
||||
*/
|
||||
add_theme_support( 'jetpack-geo-location' );
|
||||
|
||||
/**
|
||||
* Add theme support for Content Options.
|
||||
*/
|
||||
add_theme_support( 'jetpack-content-options', array(
|
||||
'blog-display' => array( 'content', 'excerpt' ),
|
||||
'post-details' => array(
|
||||
'stylesheet' => 'twentynineteen-style',
|
||||
'date' => '.posted-on',
|
||||
'categories' => '.cat-links',
|
||||
'tags' => '.tags-links',
|
||||
'author' => '.byline',
|
||||
'comment' => '.comments-link',
|
||||
),
|
||||
'featured-images' => array(
|
||||
'archive' => true,
|
||||
'post' => true,
|
||||
'page' => true,
|
||||
),
|
||||
) );
|
||||
}
|
||||
add_action( 'after_setup_theme', 'twentynineteen_jetpack_setup' );
|
||||
|
||||
/**
|
||||
* Custom render function for Infinite Scroll.
|
||||
*/
|
||||
function twentynineteen_infinite_scroll_render() {
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
get_template_part( 'template-parts/content/content' );
|
||||
}
|
||||
}
|
||||
|
||||
function twentynineteen_init_jetpack() {
|
||||
/**
|
||||
* Add our compat CSS file for Infinite Scroll and custom widget stylings and such.
|
||||
* Set the version equal to filemtime for development builds, and the JETPACK__VERSION for production
|
||||
* or skip it entirely for wpcom.
|
||||
*/
|
||||
if ( ! is_admin() ) {
|
||||
$version = false;
|
||||
if ( method_exists( 'Jetpack', 'is_development_version' ) ) {
|
||||
$version = Jetpack::is_development_version() ? filemtime( plugin_dir_path( __FILE__ ) . 'twentynineteen.css' ) : JETPACK__VERSION;
|
||||
}
|
||||
wp_enqueue_style( 'twentynineteen-jetpack', plugins_url( 'twentynineteen.css', __FILE__ ), array(), $version );
|
||||
wp_style_add_data( 'twentynineteen-jetpack', 'rtl', 'replace' );
|
||||
}
|
||||
}
|
||||
add_action( 'init', 'twentynineteen_init_jetpack' );
|
||||
|
||||
/**
|
||||
* Alter gallery widget default width.
|
||||
*/
|
||||
function twentynineteen_gallery_widget_content_width( $width ) {
|
||||
return 390;
|
||||
}
|
||||
add_filter( 'gallery_widget_content_width', 'twentynineteen_gallery_widget_content_width' );
|
||||
|
||||
/**
|
||||
* Alter featured-image default visibility for content-options.
|
||||
*/
|
||||
function twentynineteen_override_post_thumbnail( $width ) {
|
||||
$options = get_theme_support( 'jetpack-content-options' );
|
||||
$featured_images = ( ! empty( $options[0]['featured-images'] ) ) ? $options[0]['featured-images'] : null;
|
||||
|
||||
$settings = array(
|
||||
'post-default' => ( isset( $featured_images['post-default'] ) && false === $featured_images['post-default'] ) ? '' : 1,
|
||||
'page-default' => ( isset( $featured_images['page-default'] ) && false === $featured_images['page-default'] ) ? '' : 1,
|
||||
);
|
||||
|
||||
$settings = array_merge( $settings, array(
|
||||
'post-option' => get_option( 'jetpack_content_featured_images_post', $settings['post-default'] ),
|
||||
'page-option' => get_option( 'jetpack_content_featured_images_page', $settings['page-default'] ),
|
||||
) );
|
||||
|
||||
if ( ( ! $settings['post-option'] && is_single() )
|
||||
|| ( ! $settings['page-option'] && is_singular() && is_page() ) ) {
|
||||
return false;
|
||||
} else {
|
||||
return ! post_password_required() && ! is_attachment() && has_post_thumbnail();
|
||||
}
|
||||
}
|
||||
add_filter( 'twentynineteen_can_show_post_thumbnail', 'twentynineteen_override_post_thumbnail', 10, 2 );
|
||||
|
||||
/**
|
||||
* Adds custom classes to the array of body classes.
|
||||
*
|
||||
* @param array $classes Classes for the body element.
|
||||
* @return array
|
||||
*/
|
||||
function twentynineteen_jetpack_body_classes( $classes ) {
|
||||
// Adds a class if we're in the Customizer
|
||||
if ( is_customize_preview() ) :
|
||||
$classes[] = 'twentynineteen-customizer';
|
||||
endif;
|
||||
|
||||
return $classes;
|
||||
}
|
||||
add_filter( 'body_class', 'twentynineteen_jetpack_body_classes' );
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File
|
||||
* See: http://jetpack.com/
|
||||
*/
|
||||
|
||||
function twentyseventeen_jetpack_setup() {
|
||||
/**
|
||||
* Add theme support for geo-location.
|
||||
*/
|
||||
add_theme_support( 'jetpack-geo-location' );
|
||||
}
|
||||
add_action( 'after_setup_theme', 'twentyseventeen_jetpack_setup' );
|
||||
@@ -0,0 +1,832 @@
|
||||
/**
|
||||
* Jetpack Comments
|
||||
*/
|
||||
|
||||
.comment-form iframe {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.comment-form .subscribe-label {
|
||||
font-weight: 400;
|
||||
letter-spacing: 0;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
margin: 1.75em 0 0;
|
||||
}
|
||||
|
||||
.comment-subscription-form + .comment-subscription-form {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Extra Widgets
|
||||
*/
|
||||
|
||||
/* Blog Subscriptions Widget */
|
||||
.jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.625em 0.4375em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.jetpack_subscription_widget form > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Contact Info Widget */
|
||||
.widget_contact_info .contact-map {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
/* Display WordPress Posts Widget */
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4 {
|
||||
font-size: inherit;
|
||||
margin: 0 0 0.875em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts img {
|
||||
margin-bottom: 0.875em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
font-size: inherit;
|
||||
line-height: 1.75 !important;
|
||||
margin: 0 0 1.75em !important;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts > :last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
/* Gallery Widget */
|
||||
.widget-gallery .slideshow-window {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* Goodreads Widget */
|
||||
.widget_goodreads div[class^="gr_custom_container"] {
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
color: inherit;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.widget_goodreads div[class^="gr_custom_container"] a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.widget_goodreads div[class^="gr_custom_each_container"] {
|
||||
border: 0;
|
||||
margin-bottom: 1.75em;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.widget_goodreads h2[class^="gr_custom_header"],
|
||||
.widget_goodreads div[class^="gr_custom_author"] {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
/* Gravatar Profile Widget */
|
||||
.widget-grofile .grofile-thumbnail {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile h4 {
|
||||
font-size: inherit;
|
||||
font-weight: 900;
|
||||
margin: 1.75em 0 0;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile .grofile-accounts {
|
||||
margin-top: 0.4375em;
|
||||
}
|
||||
|
||||
/* Image Widget */
|
||||
.widget_image .wp-caption {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* RSS Links Widget */
|
||||
.widget_rss_links img {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
/* Social Media Icon Widget */
|
||||
.widget.widget_wpcom_social_media_icons_widget ul {
|
||||
margin: 0 0 -0.4375em;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget ul:before,
|
||||
.widget.widget_wpcom_social_media_icons_widget ul:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget ul:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget li {
|
||||
float: right;
|
||||
margin: 0 0 0.4375em 0.4375em;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget li a {
|
||||
border: 1px solid currentColor;
|
||||
border-radius: 50%;
|
||||
color: inherit;
|
||||
display: block;
|
||||
height: 35px;
|
||||
position: relative;
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget li a:before {
|
||||
height: 33px;
|
||||
line-height: 33px;
|
||||
text-align: center;
|
||||
width: 33px;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget li a:hover:before,
|
||||
.widget.widget_wpcom_social_media_icons_widget li a:focus:before {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* Social Icons Widget */
|
||||
.widget.jetpack_widget_social_icons ul {
|
||||
margin: 0 0 -0.4375em;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul:before,
|
||||
.widget.jetpack_widget_social_icons ul:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons li {
|
||||
float: right;
|
||||
margin: 0 0 0.4375em 0.4375em;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons li a {
|
||||
border: 1px solid currentColor;
|
||||
border-radius: 50%;
|
||||
color: inherit;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons li a:hover,
|
||||
.widget.jetpack_widget_social_icons li a:focus {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul.size-small a {
|
||||
height: 38px;
|
||||
padding: 6px;
|
||||
width: 38px;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul.size-small svg {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul.size-medium a {
|
||||
height: 50px;
|
||||
padding: 8px;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul.size-medium svg {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul.size-large a {
|
||||
height: 70px;
|
||||
padding: 10px;
|
||||
width: 70px;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul.size-large svg {
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
}
|
||||
|
||||
/* Top Posts & Pages Widget */
|
||||
.widget_top-posts .widgets-list-layout .widgets-list-layout-blavatar {
|
||||
margin-top: 0.25em;
|
||||
}
|
||||
|
||||
.widget_top-posts .widgets-list-layout-links {
|
||||
width: -webkit-calc(100% - 3.375em);
|
||||
width: calc(100% - 3.375em);
|
||||
}
|
||||
|
||||
.widget_top-posts .widgets-list-layout li {
|
||||
margin-bottom: 0.875em;
|
||||
}
|
||||
|
||||
.widget_top-posts .widgets-list-layout li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.widget-grid-view-image:nth-child(odd) {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* Upcoming Events Widget */
|
||||
.widget_upcoming_events_widget .upcoming-events li {
|
||||
margin-bottom: 0.875em
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Shortcodes
|
||||
*/
|
||||
|
||||
/* Contact Form */
|
||||
.entry-content .contact-form label {
|
||||
color: inherit;
|
||||
display: block;
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.076923077em;
|
||||
line-height: 1.6153846154;
|
||||
margin-bottom: 0.5384615385em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.entry-content .contact-form label span {
|
||||
color: inherit;
|
||||
letter-spacing: 0;
|
||||
opacity: 0.7;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.entry-content .contact-form input[type="text"],
|
||||
.entry-content .contact-form input[type="email"],
|
||||
.entry-content .contact-form textarea {
|
||||
margin-bottom: 1.75em;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.entry-content .contact-form label.checkbox,
|
||||
.entry-content .contact-form label.radio {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
letter-spacing: 0;
|
||||
margin-bottom: 0;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.entry-content .contact-form label.checkbox:nth-last-child(2),
|
||||
.entry-content .contact-form label.radio:nth-last-child(2) {
|
||||
margin-bottom: 0.875em;
|
||||
}
|
||||
|
||||
.entry-content .contact-form input[type="radio"],
|
||||
.entry-content .contact-form input[type="checkbox"] {
|
||||
margin-bottom: 0.875em;
|
||||
}
|
||||
|
||||
.entry-content .contact-form select {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
/* Facebook */
|
||||
.fb_iframe_widget {
|
||||
margin-bottom: 1.75em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.fb_iframe_widget span {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Gist */
|
||||
.gist table {
|
||||
table-layout: auto;
|
||||
}
|
||||
|
||||
.entry-content .gist .gist-file {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
/* Instagram */
|
||||
.instagram-media {
|
||||
margin-bottom: 1.75em !important;
|
||||
}
|
||||
|
||||
/* Mixclound */
|
||||
iframe[src^="http://api.mixcloud.com/"] {
|
||||
margin-right: -8px;
|
||||
max-width: -webkit-calc(100% + 8px);
|
||||
max-width: calc(100% + 8px);
|
||||
}
|
||||
|
||||
/* Crowdsignal */
|
||||
.PDS_Poll,
|
||||
.CSS_Poll {
|
||||
display: block !important;
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
.PDS_Poll .pds-box,
|
||||
.CSS_Poll .css-box {
|
||||
max-width: 100%;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* Portfolio */
|
||||
.entry-content .portfolio-entry {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-title,
|
||||
.entry-content .portfolio-entry-meta {
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-title a,
|
||||
.entry-content .portfolio-entry-meta a {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-title a:hover,
|
||||
.entry-content .portfolio-entry-meta a:hover {
|
||||
box-shadow: 0 1px 0 0 currentColor;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-meta span,
|
||||
.entry-content .portfolio-entry-meta a {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-title {
|
||||
font-size: inherit;
|
||||
line-height: 1.3125;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-featured-image + .portfolio-entry-title {
|
||||
margin-top: 0.875em;
|
||||
margin-bottom: 0.4375em;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-meta,
|
||||
.entry-content .portfolio-entry-content p {
|
||||
font-size: 13px;
|
||||
font-size: 0.8125em;
|
||||
line-height: 1.615384615;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-content p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-title + .portfolio-entry-meta {
|
||||
margin-top: 0.538461538em;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-content {
|
||||
margin-top: 0.875em;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-content p {
|
||||
margin-bottom: 1.615384615em;
|
||||
}
|
||||
|
||||
/* Presentation */
|
||||
.entry-content .presentation-wrapper {
|
||||
margin: 0 0 1.75em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.presentation {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Recipes */
|
||||
.entry-content .jetpack-recipe {
|
||||
border: 0;
|
||||
margin: 0 0 1.75em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.entry-content .jetpack-recipe-title {
|
||||
border: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.entry-content .jetpack-recipe .jetpack-recipe-meta {
|
||||
font-size: inherit;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Scribd */
|
||||
.scribd_iframe_embed + div {
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
/* Slideshow */
|
||||
.entry-content .slideshow-window {
|
||||
border-radius: 0;
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
/* Subscription Form */
|
||||
.entry-content .jetpack_subscription_widget {
|
||||
border-top: 0;
|
||||
font-size: inherit;
|
||||
margin-bottom: 1.75em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.entry-content #subscribe-email input {
|
||||
font-size: inherit;
|
||||
line-height: normal;
|
||||
padding: 0.625em 0.4375em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.entry-content .jetpack_subscription_widget input[type="submit"] {
|
||||
font-size: inherit;
|
||||
padding: 0.84375em 0.875em 0.78125em;
|
||||
}
|
||||
|
||||
/* Testimonial */
|
||||
.entry-content .testimonial-entry {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-entry-content {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-entry-title,
|
||||
.entry-content .testimonial-entry-content p {
|
||||
font-size: 13px;
|
||||
font-size: 0.8125em;
|
||||
line-height: 1.615384615;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-entry-content p {
|
||||
margin-bottom: 1.615384615em;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-entry-title {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-entry-title a {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-entry-title a:hover {
|
||||
box-shadow: 0 1px 0 0 currentColor;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-featured-image img {
|
||||
float: left;
|
||||
max-width: 42px;
|
||||
}
|
||||
|
||||
/* Twitter-timeline */
|
||||
.twitter-timeline {
|
||||
margin-bottom: 1.75em !important;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Responsive Videos
|
||||
*/
|
||||
.hentry .jetpack-video-wrapper {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Related Posts
|
||||
*/
|
||||
|
||||
.entry-content #jp-relatedposts {
|
||||
margin: 0;
|
||||
padding: 1.75em 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.jp-relatedposts:before,
|
||||
.jp-relatedposts:last-child:after {
|
||||
background-color: currentColor;
|
||||
content: "";
|
||||
height: 1px;
|
||||
opacity: 0.2;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.jp-relatedposts:last-child:after {
|
||||
bottom: 0;
|
||||
top: auto;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts h3.jp-relatedposts-headline {
|
||||
color: inherit;
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
margin-bottom: 1.076923077em;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts h3.jp-relatedposts-headline em:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts h3.jp-relatedposts-headline em {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-headline em:after {
|
||||
content: ":";
|
||||
}
|
||||
|
||||
.jp-relatedposts-items:before,
|
||||
.jp-relatedposts-items:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.jp-relatedposts-items:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.entry-content .jp-relatedposts-post-aoverlay,
|
||||
.entry-content .jp-relatedposts-post-a {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
|
||||
margin-bottom: 1.75em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items p,
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
letter-spacing: 0;
|
||||
line-height: 1.615384615;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-date,
|
||||
.jp-relatedposts-post-context {
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-title,
|
||||
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post-excerpt,
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
|
||||
margin-bottom: 1.076923077em;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover,
|
||||
.entry-content .jp-relatedposts-post-aoverlay:hover + .jp-relatedposts-post-title .jp-relatedposts-post-a {
|
||||
box-shadow: 0 1px 0 0 currentColor;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover,
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date,
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.entry-content .jp-relatedposts-post-a:hover img.jp-relatedposts-post-img,
|
||||
.entry-content .jp-relatedposts-post-a:focus img.jp-relatedposts-post-img {
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img {
|
||||
margin-bottom: 0.875em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sharing
|
||||
*/
|
||||
|
||||
.sharedaddy {
|
||||
padding: 1.75em 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sharedaddy:before,
|
||||
.sharedaddy:last-child:after {
|
||||
background-color: currentColor;
|
||||
content: "";
|
||||
height: 1px;
|
||||
opacity: 0.2;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sharedaddy:last-child:after {
|
||||
bottom: 0;
|
||||
top: auto;
|
||||
}
|
||||
|
||||
.sd-block {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.sd-like {
|
||||
padding-bottom: 1.125em;
|
||||
}
|
||||
|
||||
.hentry div.sharedaddy h3.sd-title,
|
||||
.hentry h3.sd-title {
|
||||
color: inherit;
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
margin-bottom: 1.076923077em;
|
||||
}
|
||||
|
||||
.hentry div.sharedaddy h3.sd-title:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sd-social-icon-text .sd-content ul,
|
||||
.sd-social-text .sd-content ul {
|
||||
margin-bottom: -0.3125em !important;
|
||||
}
|
||||
|
||||
.sd-social-icon .sd-content ul {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.sd-social-official .sd-content ul {
|
||||
margin-bottom: -0.625em !important;
|
||||
}
|
||||
|
||||
.hentry #sharing_email .sharing_send,
|
||||
.hentry .sd-content ul li .option a.share-ustom,
|
||||
.hentry .sd-content ul li a.sd-button,
|
||||
.hentry .sd-content ul li.advanced a.share-more,
|
||||
.hentry .sd-content ul li.preview-item div.option.option-smart-off a,
|
||||
.hentry .sd-social-icon .sd-content ul li a.sd-button,
|
||||
.hentry .sd-social-icon-text .sd-content ul li a.sd-button,
|
||||
.hentry .sd-social-official .sd-content > ul > li .digg_button > a,
|
||||
.hentry .sd-social-official .sd-content > ul > li > a.sd-button,
|
||||
.hentry .sd-social-text .sd-content ul li a.sd-button {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Stats
|
||||
*/
|
||||
|
||||
#wpstats {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Tiled gallery
|
||||
*/
|
||||
|
||||
.entry-content .tiled-gallery {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Media Queries
|
||||
*/
|
||||
|
||||
@media screen and (min-width: 56.875em) {
|
||||
.widget-area .jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.4615384615em 0.5384615385em;
|
||||
}
|
||||
|
||||
.widget_contact_info .contact-map {
|
||||
margin-bottom: 1.615384615em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4,
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts img {
|
||||
margin-bottom: 1.076923077em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
line-height: 1.615384615em !important;
|
||||
margin: 0 0 1.615384615em !important;
|
||||
}
|
||||
|
||||
.widget_goodreads div[class^="gr_custom_each_container"] {
|
||||
margin-bottom: 1.615384615em;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile h4 {
|
||||
margin: 1.615384615em 0 0;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile .grofile-accounts {
|
||||
margin-top: 0.538461538em;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget ul {
|
||||
margin: 0 0 -0.538461538em;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget li {
|
||||
margin: 0 0 0.538461538em 0.538461538em;
|
||||
}
|
||||
|
||||
.widget_top-posts .widgets-list-layout .widgets-list-layout-blavatar {
|
||||
margin-top: 0.153846154em;
|
||||
}
|
||||
|
||||
.widget_top-posts .widgets-list-layout-links {
|
||||
width: -webkit-calc(100% - 4.153846154em);
|
||||
width: calc(100% - 4.153846154em);
|
||||
}
|
||||
|
||||
.widget_top-posts .widgets-list-layout li {
|
||||
margin-bottom: 1.076923077em;
|
||||
}
|
||||
|
||||
.widget_upcoming_events_widget .upcoming-events li {
|
||||
margin-bottom: 1.076923077em
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
|
||||
margin-bottom: 0;
|
||||
padding-left: 0.875em;
|
||||
width: 33%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 61.5625em) {
|
||||
body:not(.search-results) article:not(.type-page) .sharedaddy:last-child,
|
||||
body:not(.search-results) article:not(.type-page) .jp-relatedposts:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
body:not(.search-results) article:not(.type-page) .sharedaddy:last-child:after,
|
||||
body:not(.search-results) article:not(.type-page) .jp-relatedposts:last-child:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body:not(.search-results) article:not(.type-page) img.below-entry-meta {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,827 @@
|
||||
/**
|
||||
* Jetpack Comments
|
||||
*/
|
||||
|
||||
.comment-form iframe {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.comment-form .subscribe-label {
|
||||
font-weight: 400;
|
||||
letter-spacing: 0;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.comment-subscription-form {
|
||||
margin: 1.75em 0 0;
|
||||
}
|
||||
|
||||
.comment-subscription-form + .comment-subscription-form {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Extra Widgets
|
||||
*/
|
||||
|
||||
/* Blog Subscriptions Widget */
|
||||
.jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.625em 0.4375em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.jetpack_subscription_widget form > :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Contact Info Widget */
|
||||
.widget_contact_info .contact-map {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
/* Display WordPress Posts Widget */
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4 {
|
||||
font-size: inherit;
|
||||
margin: 0 0 0.875em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts img {
|
||||
margin-bottom: 0.875em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
font-size: inherit;
|
||||
line-height: 1.75 !important;
|
||||
margin: 0 0 1.75em !important;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts > :last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
/* Gallery Widget */
|
||||
.widget-gallery .slideshow-window {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* Goodreads Widget */
|
||||
.widget_goodreads div[class^="gr_custom_container"] {
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
color: inherit;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.widget_goodreads div[class^="gr_custom_container"] a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.widget_goodreads div[class^="gr_custom_each_container"] {
|
||||
border: 0;
|
||||
margin-bottom: 1.75em;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.widget_goodreads h2[class^="gr_custom_header"],
|
||||
.widget_goodreads div[class^="gr_custom_author"] {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
/* Gravatar Profile Widget */
|
||||
.widget-grofile .grofile-thumbnail {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile h4 {
|
||||
font-size: inherit;
|
||||
font-weight: 900;
|
||||
margin: 1.75em 0 0;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile .grofile-accounts {
|
||||
margin-top: 0.4375em;
|
||||
}
|
||||
|
||||
/* Image Widget */
|
||||
.widget_image .wp-caption {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* RSS Links Widget */
|
||||
.widget_rss_links img {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
/* Social Media Icon Widget */
|
||||
.widget.widget_wpcom_social_media_icons_widget ul {
|
||||
margin: 0 0 -0.4375em;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget ul:before,
|
||||
.widget.widget_wpcom_social_media_icons_widget ul:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget ul:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget li {
|
||||
float: left;
|
||||
margin: 0 0.4375em 0.4375em 0;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget li a {
|
||||
border: 1px solid currentColor;
|
||||
border-radius: 50%;
|
||||
color: inherit;
|
||||
display: block;
|
||||
height: 35px;
|
||||
position: relative;
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget li a:before {
|
||||
height: 33px;
|
||||
line-height: 33px;
|
||||
text-align: center;
|
||||
width: 33px;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget li a:hover:before,
|
||||
.widget.widget_wpcom_social_media_icons_widget li a:focus:before {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* Social Icons Widget */
|
||||
.widget.jetpack_widget_social_icons ul {
|
||||
margin: 0 0 -0.4375em;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul:before,
|
||||
.widget.jetpack_widget_social_icons ul:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons li {
|
||||
float: left;
|
||||
margin: 0 0.4375em 0.4375em 0;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons li a {
|
||||
border: 1px solid currentColor;
|
||||
border-radius: 50%;
|
||||
color: inherit;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons li a:hover,
|
||||
.widget.jetpack_widget_social_icons li a:focus {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul.size-small a {
|
||||
height: 38px;
|
||||
padding: 6px;
|
||||
width: 38px;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul.size-small svg {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul.size-medium a {
|
||||
height: 50px;
|
||||
padding: 8px;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul.size-medium svg {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul.size-large a {
|
||||
height: 70px;
|
||||
padding: 10px;
|
||||
width: 70px;
|
||||
}
|
||||
|
||||
.widget.jetpack_widget_social_icons ul.size-large svg {
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
}
|
||||
|
||||
/* Top Posts & Pages Widget */
|
||||
.widget_top-posts .widgets-list-layout .widgets-list-layout-blavatar {
|
||||
margin-top: 0.25em;
|
||||
}
|
||||
|
||||
.widget_top-posts .widgets-list-layout-links {
|
||||
width: -webkit-calc(100% - 3.375em);
|
||||
width: calc(100% - 3.375em);
|
||||
}
|
||||
|
||||
.widget_top-posts .widgets-list-layout li {
|
||||
margin-bottom: 0.875em;
|
||||
}
|
||||
|
||||
.widget_top-posts .widgets-list-layout li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.widget-grid-view-image:nth-child(odd) {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* Upcoming Events Widget */
|
||||
.widget_upcoming_events_widget .upcoming-events li {
|
||||
margin-bottom: 0.875em
|
||||
}
|
||||
|
||||
/**
|
||||
* Shortcodes
|
||||
*/
|
||||
|
||||
/* Contact Form */
|
||||
.entry-content .contact-form label {
|
||||
color: inherit;
|
||||
display: block;
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.076923077em;
|
||||
line-height: 1.6153846154;
|
||||
margin-bottom: 0.5384615385em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.entry-content .contact-form label span {
|
||||
color: inherit;
|
||||
letter-spacing: 0;
|
||||
opacity: 0.7;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.entry-content .contact-form input[type="text"],
|
||||
.entry-content .contact-form input[type="email"],
|
||||
.entry-content .contact-form textarea {
|
||||
margin-bottom: 1.75em;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.entry-content .contact-form label.checkbox,
|
||||
.entry-content .contact-form label.radio {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
letter-spacing: 0;
|
||||
margin-bottom: 0;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.entry-content .contact-form label.checkbox:nth-last-child(2),
|
||||
.entry-content .contact-form label.radio:nth-last-child(2) {
|
||||
margin-bottom: 0.875em;
|
||||
}
|
||||
|
||||
.entry-content .contact-form input[type="radio"],
|
||||
.entry-content .contact-form input[type="checkbox"] {
|
||||
margin-bottom: 0.875em;
|
||||
}
|
||||
|
||||
.entry-content .contact-form select {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
/* Facebook */
|
||||
.fb_iframe_widget {
|
||||
margin-bottom: 1.75em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.fb_iframe_widget span {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Gist */
|
||||
.gist table {
|
||||
table-layout: auto;
|
||||
}
|
||||
|
||||
.entry-content .gist .gist-file {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
/* Instagram */
|
||||
.instagram-media {
|
||||
margin-bottom: 1.75em !important;
|
||||
}
|
||||
|
||||
/* Mixclound */
|
||||
iframe[src^="http://api.mixcloud.com/"] {
|
||||
margin-left: -8px;
|
||||
max-width: -webkit-calc(100% + 8px);
|
||||
max-width: calc(100% + 8px);
|
||||
}
|
||||
|
||||
/* Crowdsignal */
|
||||
.PDS_Poll,
|
||||
.CSS_Poll {
|
||||
display: block !important;
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
.PDS_Poll .pds-box,
|
||||
.CSS_Poll .css-box {
|
||||
max-width: 100%;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* Portfolio */
|
||||
.entry-content .portfolio-entry {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-title,
|
||||
.entry-content .portfolio-entry-meta {
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-title a,
|
||||
.entry-content .portfolio-entry-meta a {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-title a:hover,
|
||||
.entry-content .portfolio-entry-meta a:hover {
|
||||
box-shadow: 0 1px 0 0 currentColor;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-meta span,
|
||||
.entry-content .portfolio-entry-meta a {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-title {
|
||||
font-size: inherit;
|
||||
line-height: 1.3125;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-featured-image + .portfolio-entry-title {
|
||||
margin-top: 0.875em;
|
||||
margin-bottom: 0.4375em;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-meta,
|
||||
.entry-content .portfolio-entry-content p {
|
||||
font-size: 13px;
|
||||
font-size: 0.8125em;
|
||||
line-height: 1.615384615;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-content p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-title + .portfolio-entry-meta {
|
||||
margin-top: 0.538461538em;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-content {
|
||||
margin-top: 0.875em;
|
||||
}
|
||||
|
||||
.entry-content .portfolio-entry-content p {
|
||||
margin-bottom: 1.615384615em;
|
||||
}
|
||||
|
||||
/* Presentation */
|
||||
.entry-content .presentation-wrapper {
|
||||
margin: 0 0 1.75em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.presentation {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Recipes */
|
||||
.entry-content .jetpack-recipe {
|
||||
border: 0;
|
||||
margin: 0 0 1.75em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.entry-content .jetpack-recipe-title {
|
||||
border: 0;
|
||||
margin-top: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.entry-content .jetpack-recipe .jetpack-recipe-meta {
|
||||
font-size: inherit;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Scribd */
|
||||
.scribd_iframe_embed + div {
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
/* Slideshow */
|
||||
.entry-content .slideshow-window {
|
||||
border-radius: 0;
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
/* Subscription Form */
|
||||
.entry-content .jetpack_subscription_widget {
|
||||
border-top: 0;
|
||||
font-size: inherit;
|
||||
margin-bottom: 1.75em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.entry-content #subscribe-email input {
|
||||
font-size: inherit;
|
||||
line-height: normal;
|
||||
padding: 0.625em 0.4375em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.entry-content .jetpack_subscription_widget input[type="submit"] {
|
||||
font-size: inherit;
|
||||
padding: 0.84375em 0.875em 0.78125em;
|
||||
}
|
||||
|
||||
/* Testimonial */
|
||||
.entry-content .testimonial-entry {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-entry-content {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-entry-title,
|
||||
.entry-content .testimonial-entry-content p {
|
||||
font-size: 13px;
|
||||
font-size: 0.8125em;
|
||||
line-height: 1.615384615;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-entry-content p {
|
||||
margin-bottom: 1.615384615em;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-entry-title {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-entry-title a {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-entry-title a:hover {
|
||||
box-shadow: 0 1px 0 0 currentColor;
|
||||
}
|
||||
|
||||
.entry-content .testimonial-featured-image img {
|
||||
float: right;
|
||||
max-width: 42px;
|
||||
}
|
||||
|
||||
/* Twitter-timeline */
|
||||
.twitter-timeline {
|
||||
margin-bottom: 1.75em !important;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Responsive Videos
|
||||
*/
|
||||
.hentry .jetpack-video-wrapper {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Related Posts
|
||||
*/
|
||||
|
||||
.entry-content #jp-relatedposts {
|
||||
margin: 0;
|
||||
padding: 1.75em 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.jp-relatedposts:before,
|
||||
.jp-relatedposts:last-child:after {
|
||||
background-color: currentColor;
|
||||
content: "";
|
||||
height: 1px;
|
||||
opacity: 0.2;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.jp-relatedposts:last-child:after {
|
||||
bottom: 0;
|
||||
top: auto;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts h3.jp-relatedposts-headline {
|
||||
color: inherit;
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
margin-bottom: 1.076923077em;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts h3.jp-relatedposts-headline em:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts h3.jp-relatedposts-headline em {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.jp-relatedposts-items:before,
|
||||
.jp-relatedposts-items:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.jp-relatedposts-items:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.entry-content .jp-relatedposts-post-aoverlay,
|
||||
.entry-content .jp-relatedposts-post-a {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
|
||||
margin-bottom: 1.75em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items p,
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
letter-spacing: 0;
|
||||
line-height: 1.615384615;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-date,
|
||||
.jp-relatedposts-post-context {
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
.jp-relatedposts-post-title,
|
||||
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post-excerpt,
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
|
||||
margin-bottom: 1.076923077em;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover,
|
||||
.entry-content .jp-relatedposts-post-aoverlay:hover + .jp-relatedposts-post-title .jp-relatedposts-post-a {
|
||||
box-shadow: 0 1px 0 0 currentColor;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover,
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date,
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.entry-content .jp-relatedposts-post-a:hover img.jp-relatedposts-post-img,
|
||||
.entry-content .jp-relatedposts-post-a:focus img.jp-relatedposts-post-img {
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img {
|
||||
margin-bottom: 0.875em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sharing
|
||||
*/
|
||||
|
||||
.sharedaddy {
|
||||
padding: 1.75em 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sharedaddy:before,
|
||||
.sharedaddy:last-child:after {
|
||||
background-color: currentColor;
|
||||
content: "";
|
||||
height: 1px;
|
||||
opacity: 0.2;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sharedaddy:last-child:after {
|
||||
bottom: 0;
|
||||
top: auto;
|
||||
}
|
||||
|
||||
.sd-block {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.sd-like {
|
||||
padding-bottom: 1.125em;
|
||||
}
|
||||
|
||||
.hentry div.sharedaddy h3.sd-title,
|
||||
.hentry h3.sd-title {
|
||||
color: inherit;
|
||||
font-family: Montserrat, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
font-size: 0.8125rem;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
margin-bottom: 1.076923077em;
|
||||
}
|
||||
|
||||
.hentry div.sharedaddy h3.sd-title:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sd-social-icon-text .sd-content ul,
|
||||
.sd-social-text .sd-content ul {
|
||||
margin-bottom: -0.3125em !important;
|
||||
}
|
||||
|
||||
.sd-social-icon .sd-content ul {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.sd-social-official .sd-content ul {
|
||||
margin-bottom: -0.625em !important;
|
||||
}
|
||||
|
||||
.hentry #sharing_email .sharing_send,
|
||||
.hentry .sd-content ul li .option a.share-ustom,
|
||||
.hentry .sd-content ul li a.sd-button,
|
||||
.hentry .sd-content ul li.advanced a.share-more,
|
||||
.hentry .sd-content ul li.preview-item div.option.option-smart-off a,
|
||||
.hentry .sd-social-icon .sd-content ul li a.sd-button,
|
||||
.hentry .sd-social-icon-text .sd-content ul li a.sd-button,
|
||||
.hentry .sd-social-official .sd-content > ul > li .digg_button > a,
|
||||
.hentry .sd-social-official .sd-content > ul > li > a.sd-button,
|
||||
.hentry .sd-social-text .sd-content ul li a.sd-button {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Stats
|
||||
*/
|
||||
|
||||
#wpstats {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Tiled gallery
|
||||
*/
|
||||
|
||||
.entry-content .tiled-gallery {
|
||||
margin-bottom: 1.75em;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Media Queries
|
||||
*/
|
||||
|
||||
@media screen and (min-width: 56.875em) {
|
||||
.widget-area .jetpack_subscription_widget #subscribe-email input {
|
||||
padding: 0.4615384615em 0.5384615385em;
|
||||
}
|
||||
|
||||
.widget_contact_info .contact-map {
|
||||
margin-bottom: 1.615384615em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4,
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts img {
|
||||
margin-bottom: 1.076923077em;
|
||||
}
|
||||
|
||||
.widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
|
||||
line-height: 1.615384615em !important;
|
||||
margin: 0 0 1.615384615em !important;
|
||||
}
|
||||
|
||||
.widget_goodreads div[class^="gr_custom_each_container"] {
|
||||
margin-bottom: 1.615384615em;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile h4 {
|
||||
margin: 1.615384615em 0 0;
|
||||
}
|
||||
|
||||
.widget-area .widget-grofile .grofile-accounts {
|
||||
margin-top: 0.538461538em;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget ul {
|
||||
margin: 0 0 -0.538461538em;
|
||||
}
|
||||
|
||||
.widget.widget_wpcom_social_media_icons_widget li {
|
||||
margin: 0 0.538461538em 0.538461538em 0;
|
||||
}
|
||||
|
||||
.widget_top-posts .widgets-list-layout .widgets-list-layout-blavatar {
|
||||
margin-top: 0.153846154em;
|
||||
}
|
||||
|
||||
.widget_top-posts .widgets-list-layout-links {
|
||||
width: -webkit-calc(100% - 4.153846154em);
|
||||
width: calc(100% - 4.153846154em);
|
||||
}
|
||||
|
||||
.widget_top-posts .widgets-list-layout li {
|
||||
margin-bottom: 1.076923077em;
|
||||
}
|
||||
|
||||
.widget_upcoming_events_widget .upcoming-events li {
|
||||
margin-bottom: 1.076923077em
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
|
||||
margin-bottom: 0;
|
||||
padding-right: 0.875em;
|
||||
width: 33%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 61.5625em) {
|
||||
body:not(.search-results) article:not(.type-page) .sharedaddy:last-child,
|
||||
body:not(.search-results) article:not(.type-page) .jp-relatedposts:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
body:not(.search-results) article:not(.type-page) .sharedaddy:last-child:after,
|
||||
body:not(.search-results) article:not(.type-page) .jp-relatedposts:last-child:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body:not(.search-results) article:not(.type-page) img.below-entry-meta {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File
|
||||
* See: http://jetpack.com/
|
||||
*/
|
||||
|
||||
function twentysixteen_jetpack_setup() {
|
||||
/**
|
||||
* Add theme support for Responsive Videos.
|
||||
*/
|
||||
add_theme_support( 'jetpack-responsive-videos' );
|
||||
|
||||
/**
|
||||
* Add theme support for geo-location.
|
||||
*/
|
||||
add_theme_support( 'jetpack-geo-location' );
|
||||
}
|
||||
add_action( 'after_setup_theme', 'twentysixteen_jetpack_setup' );
|
||||
|
||||
function twentysixteen_init_jetpack() {
|
||||
/**
|
||||
* Add our compat CSS file for custom widget stylings and such.
|
||||
* Set the version equal to filemtime for development builds, and the JETPACK__VERSION for production
|
||||
* or skip it entirely for wpcom.
|
||||
*/
|
||||
if ( ! is_admin() ) {
|
||||
$version = false;
|
||||
if ( method_exists( 'Jetpack', 'is_development_version' ) ) {
|
||||
$version = Jetpack::is_development_version() ? filemtime( plugin_dir_path( __FILE__ ) . 'twentysixteen.css' ) : JETPACK__VERSION;
|
||||
}
|
||||
wp_enqueue_style( 'twentysixteen-jetpack', plugins_url( 'twentysixteen.css', __FILE__ ), array(), $version );
|
||||
wp_style_add_data( 'twentysixteen-jetpack', 'rtl', 'replace' );
|
||||
}
|
||||
}
|
||||
add_action( 'init', 'twentysixteen_init_jetpack' );
|
||||
|
||||
/**
|
||||
* Alter gallery widget default width.
|
||||
*/
|
||||
function twentysixteen_gallery_widget_content_width( $width ) {
|
||||
return 390;
|
||||
}
|
||||
add_filter( 'gallery_widget_content_width', 'twentysixteen_gallery_widget_content_width' );
|
||||
|
||||
/**
|
||||
* Remove ratings from excerpts that are used as intro on blog index, single, and archive pages.
|
||||
*/
|
||||
function twentysixteen_remove_share() {
|
||||
if ( is_single() || is_archive() || is_home() ) {
|
||||
remove_filter( 'the_excerpt', 'sharing_display', 19 );
|
||||
if ( class_exists( 'Jetpack_Likes' ) ) {
|
||||
remove_filter( 'the_excerpt', array( Jetpack_Likes::init(), 'post_likes' ), 30, 1 );
|
||||
}
|
||||
}
|
||||
}
|
||||
add_action( 'loop_start', 'twentysixteen_remove_share' );
|
||||
|
||||
function twentysixteen_jetpack_lazy_images_compat() {
|
||||
// Since TwentySixteen outdents when window is resized, let's trigger a window resize
|
||||
// every time we lazy load an image on the TwentySixteen theme.
|
||||
wp_add_inline_script(
|
||||
'jetpack-lazy-images',
|
||||
"jQuery( document.body ).on( 'jetpack-lazy-loaded-image', function () { jQuery( window ).trigger( 'resize' ); } );"
|
||||
);
|
||||
}
|
||||
|
||||
// Priority needs to be 11 here so that we have already enqueued jetpack-lazy-images.
|
||||
add_action( 'wp_enqueue_scripts', 'twentysixteen_jetpack_lazy_images_compat', 11 );
|
||||
Reference in New Issue
Block a user