Initial Commit

This commit is contained in:
Rumperuu 2018-03-21 18:19:20 +00:00
parent 4c352bf02e
commit 1ab6e5f0b0
1085 changed files with 195258 additions and 0 deletions

View file

@ -0,0 +1,736 @@
/**
* 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;
}
/* Polldaddy */
.PDS_Poll {
display: block !important;
margin-bottom: 1.6em;
}
.PDS_Poll .pds-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,
.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,
.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,
.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,
.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,
.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,
.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;
}
}

View file

@ -0,0 +1,736 @@
/**
* 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;
}
/* Polldaddy */
.PDS_Poll {
display: block !important;
margin-bottom: 1.6em;
}
.PDS_Poll .pds-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,
.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,
.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,
.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,
.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,
.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,
.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;
}
}

View file

@ -0,0 +1,28 @@
<?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_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.
*/
$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' );

View file

@ -0,0 +1,367 @@
/**
* 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 {
color: #767676;
font-size: 11px;
text-transform: uppercase;
}
.pd-rating {
min-height: 23px;
margin-bottom: 5px;
}
.wp-multiplayer,
.PDS_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;
}
}

View file

@ -0,0 +1,367 @@
/**
* 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 {
color: #767676;
font-size: 11px;
text-transform: uppercase;
}
.pd-rating {
min-height: 23px;
margin-bottom: 5px;
}
.wp-multiplayer,
.PDS_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-right: 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 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;
}
}

View file

@ -0,0 +1,71 @@
<?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.
*/
$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' );

View file

@ -0,0 +1,763 @@
/**
* 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;
}
/* 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);
}
/* Polldaddy */
.PDS_Poll {
display: block !important;
margin-bottom: 1.75em;
}
.PDS_Poll .pds-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;
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;
}
}

View file

@ -0,0 +1,763 @@
/**
* 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;
}
/* 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);
}
/* Polldaddy */
.PDS_Poll {
display: block !important;
margin-bottom: 1.75em;
}
.PDS_Poll .pds-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;
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-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;
}
}

View file

@ -0,0 +1,49 @@
<?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_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.
*/
$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' );