init
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,783 @@
|
||||
/**
|
||||
* 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 .jetpack-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 .jetpack-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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Responsive Videos
|
||||
*/
|
||||
|
||||
.jetpack-video-wrapper {
|
||||
margin-bottom: 1.6em;
|
||||
}
|
||||
|
||||
.jetpack-video-wrapper > embed,
|
||||
.jetpack-video-wrapper > iframe,
|
||||
.jetpack-video-wrapper > object,
|
||||
.jetpack-video-wrapper > .wp-video {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 .jetpack-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 .jetpack-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 .jetpack-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 .jetpack-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 .jetpack-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 .jetpack-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,43 @@
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File
|
||||
* See: https://jetpack.com/
|
||||
*
|
||||
* @package automattic/jetpack
|
||||
*/
|
||||
|
||||
/**
|
||||
* Add Jetpack theme supports for Twenty Fifteen.
|
||||
*/
|
||||
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' );
|
||||
|
||||
/**
|
||||
* Enqueue Jetpack compat styles for Twenty Fifteen.
|
||||
*/
|
||||
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,373 @@
|
||||
/**
|
||||
* 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 .jetpack-slideshow-window {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.entry-content .gist table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.entry-content .jetpack-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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File
|
||||
* See: https://jetpack.com/
|
||||
*
|
||||
* @package automattic/jetpack
|
||||
*/
|
||||
|
||||
if ( ! function_exists( 'twentyfourteen_featured_content_post_ids' ) ) {
|
||||
/**
|
||||
* A last try to show posts, in case the Featured Content plugin returns no IDs.
|
||||
*
|
||||
* @param array $featured_ids Array of 'featured' post 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' );
|
||||
}
|
||||
|
||||
if ( ! function_exists( 'twentyfourteen_customizer_default' ) ) {
|
||||
/**
|
||||
* 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' );
|
||||
}
|
||||
|
||||
if ( ! function_exists( 'twentyfourteen_featured_content_default_settings' ) ) {
|
||||
/**
|
||||
* Sets a default tag of 'featured' for Featured Content.
|
||||
*
|
||||
* @param array $settings Featured content 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 );
|
||||
|
||||
/**
|
||||
* Enqueue Jetpack compat styles for Twenty Fourteen.
|
||||
*/
|
||||
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,360 @@
|
||||
/* 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: #2271b1;
|
||||
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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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,230 @@
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File
|
||||
* See: https://jetpack.com/
|
||||
*
|
||||
* @package automattic/jetpack
|
||||
*/
|
||||
|
||||
/**
|
||||
* Add Jetpack theme supports for Twenty Nineteen.
|
||||
*/
|
||||
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' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Enqueue Jetpack compat styles for Twenty Nineteen.
|
||||
*/
|
||||
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() {
|
||||
return 390;
|
||||
}
|
||||
add_filter( 'gallery_widget_content_width', 'twentynineteen_gallery_widget_content_width' );
|
||||
|
||||
if ( ! function_exists( 'twentynineteen_override_post_thumbnail' ) ) {
|
||||
/**
|
||||
* Alter featured-image default visibility for content-options.
|
||||
*/
|
||||
function twentynineteen_override_post_thumbnail() {
|
||||
$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' );
|
||||
|
||||
/**
|
||||
* Load AMP theme specific hooks for infinite scroll.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function amp_twentynineteen_infinite_scroll_render_hooks() {
|
||||
add_filter( 'jetpack_amp_infinite_footers', 'twentynineteen_amp_infinite_footers', 10, 2 );
|
||||
add_filter( 'jetpack_amp_infinite_output', 'twentynineteen_amp_infinite_output' );
|
||||
add_filter( 'jetpack_amp_infinite_older_posts', 'twentynineteen_amp_infinite_older_posts' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the theme specific footers.
|
||||
*
|
||||
* @param array $footers The footers of the themes.
|
||||
* @param string $buffer Contents of the output buffer.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
function twentynineteen_amp_infinite_footers( $footers, $buffer ) {
|
||||
// Collect the footer wrapper.
|
||||
preg_match(
|
||||
'/<footer id="colophon".*<!-- #colophon -->/s',
|
||||
$buffer,
|
||||
$footer
|
||||
);
|
||||
$footers[] = reset( $footer );
|
||||
|
||||
return $footers;
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide and remove various elements from next page load.
|
||||
*
|
||||
* @param string $buffer Contents of the output buffer.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function twentynineteen_amp_infinite_output( $buffer ) {
|
||||
// Hide site header on next page load.
|
||||
$buffer = preg_replace(
|
||||
'/id="masthead"/',
|
||||
'$0 next-page-hide',
|
||||
$buffer
|
||||
);
|
||||
|
||||
// Hide pagination on next page load.
|
||||
$buffer = preg_replace(
|
||||
'/class=".*navigation pagination.*"/',
|
||||
'$0 next-page-hide hidden',
|
||||
$buffer
|
||||
);
|
||||
|
||||
// Remove the footer as it will be added back to amp next page footer.
|
||||
$buffer = preg_replace(
|
||||
'/<footer id="colophon".*<!-- #colophon -->/s',
|
||||
'',
|
||||
$buffer
|
||||
);
|
||||
|
||||
return $buffer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter the AMP infinite scroll older posts button
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function twentynineteen_amp_infinite_older_posts() {
|
||||
ob_start();
|
||||
?>
|
||||
<div id="infinite-handle" style="text-align: center;">
|
||||
<span>
|
||||
<a href="{{url}}">
|
||||
<button>
|
||||
<?php esc_html_e( 'Older posts', 'jetpack' ); ?>
|
||||
</button>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
<?php
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File
|
||||
* See: https://jetpack.com/
|
||||
*
|
||||
* @package automattic/jetpack
|
||||
*/
|
||||
|
||||
/**
|
||||
* Add Jetpack theme supports for Twenty Seventeen.
|
||||
*/
|
||||
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,819 @@
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 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,814 @@
|
||||
/**
|
||||
* 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 .jetpack-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 .jetpack-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;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 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,64 @@
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File
|
||||
* See: https://jetpack.com/
|
||||
*
|
||||
* @package automattic/jetpack
|
||||
*/
|
||||
|
||||
/**
|
||||
* Add Jetpack theme supports for Twenty Sixteen.
|
||||
*/
|
||||
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' );
|
||||
|
||||
/**
|
||||
* Enqueue Jetpack compat styles for Twenty Sixteen.
|
||||
*/
|
||||
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() {
|
||||
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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
add_action( 'loop_start', 'twentysixteen_remove_share' );
|
||||
@@ -0,0 +1 @@
|
||||
#infinite-footer{z-index:1}.infinite-scroll .pagination-wrapper,.infinite-scroll.neverending #site-footer,.infinite-scroll.neverending .footer-nav-widgets-wrapper{display:none}.infinite-end.neverending .footer-nav-widgets-wrapper,.infinity-end.neverending #site-footer{display:block}.infinity-end.neverending #site-footer{margin:8rem 0 0}.infinite-loader{margin:5rem auto}.infinite-loader .spinner{margin:0 auto;right:inherit!important}#site-content #infinite-handle{margin:5rem auto;max-width:58rem;width:calc(100% - 8rem)}#site-content #infinite-handle span{background:#0000;display:block;font-size:1.7rem;text-align:center}#site-content #infinite-handle span button,#site-content #infinite-handle span button:focus,#site-content #infinite-handle span button:hover{-webkit-appearance:none;-moz-appearance:none;background:#cd2653;border:none;border-radius:0;color:#fff;cursor:pointer;display:inline-block;font-size:1.5rem;font-weight:600;letter-spacing:.0333em;line-height:1.25;margin:0;opacity:1;padding:1.1em 1.44em;text-align:center;text-decoration:none;text-transform:uppercase;transition:opacity .15s linear}#site-content #infinite-handle span button:hover{text-decoration:underline}#site-content .infinite-wrap .hentry:first-of-type{padding:4rem 0 0}.entry-content #jp-relatedposts h3.jp-relatedposts-headline,.entry-content div.sharedaddy h3.sd-title,.entry-content h3.sd-title{font-size:2.8rem;font-weight:700;letter-spacing:-.016875em;line-height:1.5}@media (min-width:700px){.entry-content #jp-relatedposts h3.jp-relatedposts-headline,.entry-content div.sharedaddy h3.sd-title,.entry-content h3.sd-title{font-size:4rem}}.entry-content #jp-relatedposts h3.jp-relatedposts-headline em:before,.entry-content div.sharedaddy h3.sd-title:before,.entry-content h3.sd-title:before{border:0}.widget_authors ul{list-style:none;margin-right:0}.widget_authors li{list-style:none;margin-top:1rem}.widget_authors li:first-child{margin-top:2rem}.widget_flickr .flickr-size-thumbnail .flickr-images{justify-content:left}.widget_eu_cookie_law_widget #eu-cookie-law,.widget_eu_cookie_law_widget #eu-cookie-law .accept{font-size:1.6rem;font-weight:500;padding:2rem}.widget_eu_cookie_law_widget #eu-cookie-law .accept{font-size:1.4rem;font-weight:600;letter-spacing:.0333em;line-height:1.25;padding:1.1em 1.44em;text-decoration:none;text-transform:uppercase;transition:opacity .15s linear}@media (max-width:600px){.widget_eu_cookie_law_widget #eu-cookie-law{font-size:1.4rem;padding:1.5rem 1.5rem 6.5rem}.widget_eu_cookie_law_widget #eu-cookie-law .accept{bottom:1.5rem;font-size:1.2rem;left:auto;margin:0;padding:1rem;right:1.5rem}}.jetpack_subscription_widget .widget-title label{font-size:2.8rem;font-weight:700;margin:0}@media (min-width:700px){.jetpack_subscription_widget .widget-title label{font-size:4rem}}.widget_blog_subscription form p:not(#subscribe-email) input[type=text]{padding:1.5rem 1.8rem!important;width:100%!important}.entry-content #jp-relatedposts{margin:1em auto;max-width:120rem;width:calc(100% - 4rem)}@media (min-width:700px){.entry-content #jp-relatedposts{width:calc(100% - 8rem)}}#jp-relatedposts .jp-relatedposts-grid{box-sizing:border-box;display:flex;flex-basis:0;flex-grow:1;justify-content:space-between}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,#jp-relatedposts .jp-relatedposts-post{margin-left:0;margin-right:0;width:calc(33% - 2rem)}@media only screen and (max-width:640px){#jp-relatedposts .jp-relatedposts-grid{flex-direction:column}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,#jp-relatedposts .jp-relatedposts-post{width:100%}}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{padding-left:0}#jp-relatedposts#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{font-size:inherit;line-height:1.5}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:0}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img{width:100%}.entry-content .tiled-gallery{margin:0 auto 1.5em}.entry-content .jetpack-recipe{margin:1em auto}.entry-content .fb-video{display:block}.jp-related-posts-i2__post li{margin:0}.wp-block-jetpack-gif{margin:1em auto!important}.entry-content img.latex{display:inline}.admin-bar{position:unset!important}.screen-reader-text{position:absolute}.contact-form input.grunion-field[type=checkbox]{height:1.5rem;padding:0;width:1.5rem}
|
||||
@@ -0,0 +1,308 @@
|
||||
/**
|
||||
* Infinite scroll
|
||||
*/
|
||||
|
||||
#infinite-footer {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* Globally hidden elements when Infinite Scroll is supported and in use. */
|
||||
.infinite-scroll .pagination-wrapper,
|
||||
.infinite-scroll.neverending .footer-nav-widgets-wrapper,
|
||||
.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. */
|
||||
.infinite-end.neverending .footer-nav-widgets-wrapper,
|
||||
.infinity-end.neverending #site-footer {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.infinity-end.neverending #site-footer {
|
||||
margin: 8rem 0 0;
|
||||
}
|
||||
|
||||
.infinite-loader {
|
||||
margin: 5rem auto;
|
||||
}
|
||||
|
||||
.infinite-loader .spinner {
|
||||
margin: 0 auto;
|
||||
left: inherit !important;
|
||||
}
|
||||
|
||||
#site-content #infinite-handle {
|
||||
margin: 5rem auto;
|
||||
max-width: 58rem;
|
||||
width: calc(100% - 8rem);
|
||||
}
|
||||
|
||||
#site-content #infinite-handle span {
|
||||
background: transparent;
|
||||
display: block;
|
||||
font-size: 1.7rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#site-content #infinite-handle span button,
|
||||
#site-content #infinite-handle span button:hover,
|
||||
#site-content #infinite-handle span button:focus {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
border: none;
|
||||
background: #cd2653;
|
||||
border-radius: 0;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.0333em;
|
||||
line-height: 1.25;
|
||||
margin: 0;
|
||||
opacity: 1;
|
||||
padding: 1.1em 1.44em;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
transition: opacity 0.15s linear;
|
||||
}
|
||||
|
||||
#site-content #infinite-handle span button:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#site-content .infinite-wrap .hentry:first-of-type {
|
||||
padding: 4rem 0 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sharing & Related Posts
|
||||
*/
|
||||
|
||||
.entry-content div.sharedaddy h3.sd-title,
|
||||
.entry-content h3.sd-title,
|
||||
.entry-content #jp-relatedposts h3.jp-relatedposts-headline {
|
||||
font-size: 2.8rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.016875em;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
@media (min-width: 700px) {
|
||||
.entry-content div.sharedaddy h3.sd-title,
|
||||
.entry-content h3.sd-title,
|
||||
.entry-content #jp-relatedposts h3.jp-relatedposts-headline {
|
||||
font-size: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
.entry-content div.sharedaddy h3.sd-title:before,
|
||||
.entry-content h3.sd-title:before {
|
||||
border: 0 none;
|
||||
}
|
||||
|
||||
.entry-content #jp-relatedposts h3.jp-relatedposts-headline em:before {
|
||||
border: 0 none;
|
||||
}
|
||||
|
||||
/* Authors widget */
|
||||
.widget_authors ul {
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.widget_authors li {
|
||||
margin-top: 1rem;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.widget_authors li:first-child {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
/* Flickr */
|
||||
.widget_flickr .flickr-size-thumbnail .flickr-images {
|
||||
justify-content: left;
|
||||
}
|
||||
|
||||
/* EU cookie law */
|
||||
.widget_eu_cookie_law_widget #eu-cookie-law,
|
||||
.widget_eu_cookie_law_widget #eu-cookie-law .accept {
|
||||
font-size: 1.6rem;
|
||||
font-weight: 500;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.widget_eu_cookie_law_widget #eu-cookie-law .accept {
|
||||
font-size: 1.4rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.0333em;
|
||||
line-height: 1.25;
|
||||
padding: 1.1em 1.44em;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
transition: opacity 0.15s linear;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.widget_eu_cookie_law_widget #eu-cookie-law {
|
||||
font-size: 1.4rem;
|
||||
padding: 1.5rem 1.5rem 6.5rem;
|
||||
}
|
||||
|
||||
.widget_eu_cookie_law_widget #eu-cookie-law .accept {
|
||||
font-size: 1.2rem;
|
||||
bottom: 1.5rem;
|
||||
right: auto;
|
||||
left: 1.5rem;
|
||||
padding: 1rem;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Subscriptions Widget */
|
||||
|
||||
.jetpack_subscription_widget .widget-title label {
|
||||
font-size: 2.8rem;
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
}
|
||||
@media ( min-width: 700px ) {
|
||||
.jetpack_subscription_widget .widget-title label {
|
||||
font-size: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This overwrites inline styles added to the wpcom widget,
|
||||
* hence the use of !important
|
||||
*/
|
||||
.widget_blog_subscription form p:not(#subscribe-email) input[type="text"] {
|
||||
padding: 1.5rem 1.8rem !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
/* Related Posts */
|
||||
|
||||
.entry-content #jp-relatedposts {
|
||||
max-width: 120rem;
|
||||
margin: 1em auto;
|
||||
width: calc(100% - 4rem);
|
||||
}
|
||||
|
||||
@media (min-width: 700px) {
|
||||
.entry-content #jp-relatedposts {
|
||||
width: calc(100% - 8rem);
|
||||
}
|
||||
}
|
||||
|
||||
#jp-relatedposts .jp-relatedposts-grid {
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
flex-basis: 0;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,
|
||||
#jp-relatedposts .jp-relatedposts-post {
|
||||
width: calc(33% - 2rem);
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 640px) {
|
||||
#jp-relatedposts .jp-relatedposts-grid {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,
|
||||
#jp-relatedposts .jp-relatedposts-post {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#jp-relatedposts#jp-relatedposts .jp-relatedposts-items p,
|
||||
#jp-relatedposts#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
|
||||
font-size: inherit;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
#jp-relatedposts .jp-relatedposts-items-visual {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Tiled Galleries in Classic Blocks */
|
||||
.entry-content .tiled-gallery {
|
||||
margin: 0 auto 1.5em;
|
||||
}
|
||||
|
||||
/**
|
||||
* Shortcodes
|
||||
*/
|
||||
|
||||
/* Recipe */
|
||||
.entry-content .jetpack-recipe {
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
/* Facebook */
|
||||
.entry-content .fb-video {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* Blocks
|
||||
*/
|
||||
|
||||
/* Related Posts Block */
|
||||
.jp-related-posts-i2__post li {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* GIF Block */
|
||||
.wp-block-jetpack-gif {
|
||||
/* Uses !important because the gif block styles are loaded in the footer after this file */
|
||||
margin: 1em auto !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* Images
|
||||
*/
|
||||
|
||||
/* Beautiful Math */
|
||||
.entry-content img.latex {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/**
|
||||
* .com Toolbar
|
||||
*/
|
||||
|
||||
/* fix site position when overflow nav modal */
|
||||
.admin-bar {
|
||||
position: unset !important;
|
||||
}
|
||||
|
||||
.screen-reader-text {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
/* Contact form */
|
||||
/* See https: //core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentytwenty/style.css?rev=58726#L710 */
|
||||
.contact-form input.grunion-field[type="checkbox"] {
|
||||
padding: 0;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
}
|
||||
@@ -0,0 +1,273 @@
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File
|
||||
* See: https://jetpack.com/
|
||||
*
|
||||
* @package automattic/jetpack
|
||||
*/
|
||||
|
||||
/**
|
||||
* Add Jetpack extra functionality to Twenty Twenty.
|
||||
*
|
||||
* See: https://jetpack.com/support/infinite-scroll/
|
||||
* See: https://jetpack.com/support/responsive-videos/
|
||||
* See: https://jetpack.com/support/content-options/
|
||||
*/
|
||||
function twentytwenty_jetpack_setup() {
|
||||
/**
|
||||
* Add theme support for Infinite Scroll.
|
||||
*/
|
||||
add_theme_support(
|
||||
'infinite-scroll',
|
||||
array(
|
||||
'type' => 'click',
|
||||
'container' => 'site-content',
|
||||
'render' => 'twentytwenty_infinite_scroll_render',
|
||||
'footer' => 'site-content',
|
||||
'footer_widgets' => array(
|
||||
'sidebar-1',
|
||||
'sidebar-2',
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
// Add theme support for Content Options.
|
||||
add_theme_support(
|
||||
'jetpack-content-options',
|
||||
array(
|
||||
'post-details' => array(
|
||||
'stylesheet' => 'twentytwenty-style',
|
||||
'date' => '.post-date',
|
||||
'categories' => '.entry-categories',
|
||||
'tags' => '.post-tags',
|
||||
'author' => '.post-author',
|
||||
),
|
||||
'featured-images' => array(
|
||||
'archive' => true,
|
||||
'post' => true,
|
||||
'page' => true,
|
||||
'fallback' => false,
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* Add theme support for geo-location.
|
||||
*/
|
||||
add_theme_support( 'jetpack-geo-location' );
|
||||
}
|
||||
add_action( 'after_setup_theme', 'twentytwenty_jetpack_setup' );
|
||||
|
||||
/**
|
||||
* Custom render function for Infinite Scroll.
|
||||
*/
|
||||
function twentytwenty_infinite_scroll_render() {
|
||||
while ( have_posts() ) {
|
||||
echo '<hr class="post-separator styled-separator is-style-wide section-inner" aria-hidden="true" />';
|
||||
the_post();
|
||||
get_template_part( 'template-parts/content', get_post_type() );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove Sharing buttons and Likes from excerpts that are used as intro on single post views.
|
||||
*/
|
||||
function twentytwenty_no_sharing_on_excerpts() {
|
||||
if ( is_single() ) {
|
||||
// Remove sharing buttons.
|
||||
remove_filter( 'the_excerpt', 'sharing_display', 19 );
|
||||
|
||||
// Remove Likes.
|
||||
if ( class_exists( 'Jetpack_Likes' ) ) {
|
||||
remove_filter( 'the_excerpt', array( Jetpack_Likes::init(), 'post_likes' ), 30 );
|
||||
}
|
||||
}
|
||||
}
|
||||
add_action( 'loop_start', 'twentytwenty_no_sharing_on_excerpts' );
|
||||
|
||||
/**
|
||||
* We do not need to display the Likes Heading here.
|
||||
*
|
||||
* @param string $heading Headline structure.
|
||||
* @param string $title Title.
|
||||
* @param string $module Module name.
|
||||
*/
|
||||
function twentytwenty_no_likes_heading( $heading, $title, $module ) {
|
||||
if ( 'likes' === $module ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return $heading;
|
||||
}
|
||||
add_filter( 'jetpack_sharing_headline_html', 'twentytwenty_no_likes_heading', 10, 3 );
|
||||
|
||||
/**
|
||||
* Disable Ads in post excerpts, that are used as intro on single post views.
|
||||
*/
|
||||
add_filter( 'wordads_excerpt_disable', '__return_true' );
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
function twentytwenty_enqueue_jetpack_style() {
|
||||
$version = Jetpack::is_development_version()
|
||||
? filemtime( JETPACK__PLUGIN_DIR . 'modules/theme-tools/compat/twentytwenty.css' )
|
||||
: JETPACK__VERSION;
|
||||
|
||||
wp_enqueue_style( 'twentytwenty-jetpack', plugins_url( 'twentytwenty.css', __FILE__ ), array(), $version );
|
||||
wp_style_add_data( 'twentytwenty-jetpack', 'rtl', 'replace' );
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'twentytwenty_enqueue_jetpack_style' );
|
||||
|
||||
/**
|
||||
* Add inline custom CSS with custom accent color if there is any set.
|
||||
*/
|
||||
function twentytwenty_infinity_accent_color_css() {
|
||||
// Bail early if no custom color was set.
|
||||
if (
|
||||
'custom' !== get_theme_mod( 'accent_hue_active' )
|
||||
|| empty( get_theme_mod( 'accent_accessible_colors' ) )
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
$color_info = get_theme_mod( 'accent_accessible_colors' );
|
||||
$custom_css = sprintf(
|
||||
'
|
||||
.infinite-scroll #site-content #infinite-handle span button,
|
||||
.infinite-scroll #site-content #infinite-handle span button:hover,
|
||||
.infinite-scroll #site-content #infinite-handle span button:focus {
|
||||
background: %1$s;
|
||||
color: %2$s;
|
||||
}
|
||||
#site-content .entry-content div.sharedaddy h3.sd-title,
|
||||
#site-content .entry-content h3.sd-title,
|
||||
#site-content .entry-content #jp-relatedposts h3.jp-relatedposts-headline {
|
||||
color: %3$s;
|
||||
}
|
||||
',
|
||||
$color_info['content']['accent'],
|
||||
$color_info['content']['background'],
|
||||
$color_info['content']['secondary']
|
||||
);
|
||||
|
||||
// Add our custom style to the existing Twenty Twenty CSS compat file.
|
||||
wp_add_inline_style( 'twentytwenty-jetpack', $custom_css );
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'twentytwenty_infinity_accent_color_css' );
|
||||
|
||||
/**
|
||||
* Load AMP theme specific hooks for infinite scroll.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function amp_twentytwenty_infinite_scroll_render_hooks() {
|
||||
add_filter( 'jetpack_amp_infinite_footers', 'twentytwenty_amp_infinite_footers', 10, 2 );
|
||||
add_filter( 'jetpack_amp_infinite_output', 'twentytwenty_amp_infinite_output' );
|
||||
add_filter( 'jetpack_amp_infinite_separator', 'twentytwenty_amp_infinite_separator' );
|
||||
add_filter( 'jetpack_amp_infinite_older_posts', 'twentytwenty_amp_infinite_older_posts' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the theme specific footers.
|
||||
*
|
||||
* @param array $footers The footers of the themes.
|
||||
* @param string $buffer Contents of the output buffer.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
function twentytwenty_amp_infinite_footers( $footers, $buffer ) {
|
||||
// Collect the footer wrapper.
|
||||
preg_match(
|
||||
'/<div class="footer-nav-widgets-wrapper.*<!-- .footer-nav-widgets-wrapper -->/s',
|
||||
$buffer,
|
||||
$footer
|
||||
);
|
||||
$footers[] = reset( $footer );
|
||||
|
||||
// Collect the footer wrapper.
|
||||
preg_match(
|
||||
'/<footer id="site-footer".*<!-- #site-footer -->/s',
|
||||
$buffer,
|
||||
$footer
|
||||
);
|
||||
$footers[] = reset( $footer );
|
||||
|
||||
return $footers;
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide and remove various elements from next page load.
|
||||
*
|
||||
* @param string $buffer Contents of the output buffer.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function twentytwenty_amp_infinite_output( $buffer ) {
|
||||
// Hide site header on next page load.
|
||||
$buffer = preg_replace(
|
||||
'/id="site-header"/',
|
||||
'$0 next-page-hide',
|
||||
$buffer
|
||||
);
|
||||
|
||||
// Hide pagination on next page load.
|
||||
$buffer = preg_replace(
|
||||
'/class=".*pagination-wrapper.*"/',
|
||||
'$0 next-page-hide hidden',
|
||||
$buffer
|
||||
);
|
||||
|
||||
// Remove the footer as it will be added back to amp next page footer.
|
||||
$buffer = preg_replace(
|
||||
'/<div class="footer-nav-widgets-wrapper.*<!-- .footer-nav-widgets-wrapper -->/s',
|
||||
'',
|
||||
$buffer
|
||||
);
|
||||
|
||||
// Remove the footer as it will be added back to amp next page footer.
|
||||
$buffer = preg_replace(
|
||||
'/<footer id="site-footer".*<!-- #site-footer -->/s',
|
||||
'',
|
||||
$buffer
|
||||
);
|
||||
|
||||
return $buffer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter the AMP infinite scroll separator
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function twentytwenty_amp_infinite_separator() {
|
||||
ob_start();
|
||||
?>
|
||||
<hr class="post-separator styled-separator is-style-wide section-inner" aria-hidden="true">
|
||||
<?php
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter the AMP infinite scroll older posts button
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function twentytwenty_amp_infinite_older_posts() {
|
||||
ob_start();
|
||||
?>
|
||||
<div id="infinite-handle" class="read-more-button-wrap">
|
||||
<span>
|
||||
<a href="{{url}}" class="more-link" rel="amphtml">
|
||||
<span class="faux-button">
|
||||
<?php esc_html_e( 'Older posts', 'jetpack' ); ?>
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
<?php
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
.entry-content #jp-relatedposts{margin-left:auto;margin-right:auto;max-width:var(--responsive--aligndefault-width)}.infinite-scroll .pagination,.infinite-scroll.neverending .widget-area,.infinite-scroll.neverending footer#colophon{display:none}.infinity-end.neverending .widget-area,.infinity-end.neverending footer#colophon{display:block}body[class*=" infinity-"] main#main>article:last-of-type .entry-footer{border-bottom:var(--separator--height) solid var(--separator--border-color)}body.infinity-end .site-main>div:last-of-type>article:last-of-type .entry-footer,body:not(.infinity-end) .site-main>div:nth-last-child(2)>article:last-of-type .entry-footer{border:none}.site-main>.infinite-wrap>article>.entry-footer{border-bottom:var(--separator--height) solid var(--separator--border-color);margin-top:var(--global--spacing-vertical);padding-bottom:calc(var(--global--spacing-vertical)*3);padding-top:var(--global--spacing-unit)}.site-main>.infinite-wrap>*{margin-bottom:calc(var(--global--spacing-vertical)*3);margin-top:calc(var(--global--spacing-vertical)*3)}#infinite-handle{text-align:center}.infinite-loader{margin:3rem auto}#infinite-handle span{background-color:var(--global--color-secondary);border-radius:0;border-width:3px;color:var(--global--color-background);font-family:var(--global--font-primary);font-size:var(--global--font-size-base);font-weight:500;line-height:1.5;margin:auto;max-width:170px;padding:15px calc(var(--button--padding-vertical)*2)}#infinite-handle span:hover{border-color:var(--global--color-secondary);border-style:solid}#infinite-handle span:active,#infinite-handle span:hover{background-color:var(--global--color-background);color:var(--global--color-secondary)}#infinite-handle span:active{border-color:var(--global--color-secondary)}.widget-area .widget_block{min-width:0}@media only screen and (min-width:1024px){.widget-area{grid-template-columns:repeat(3,minmax(0,1fr))}}@supports (-webkit-appearance:none) or (-moz-appearance:none){.contact-form input.grunion-field[type=checkbox],.contact-form input.grunion-field[type=radio]{height:25px;width:25px}}
|
||||
@@ -0,0 +1,108 @@
|
||||
/**
|
||||
* Related Posts
|
||||
*/
|
||||
|
||||
.entry-content #jp-relatedposts {
|
||||
max-width: var(--responsive--aligndefault-width);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Infinite Scroll
|
||||
*/
|
||||
|
||||
/* Globally hidden elements when Infinite Scroll is supported and in use. */
|
||||
.infinite-scroll .pagination,
|
||||
.infinite-scroll.neverending .widget-area,
|
||||
.infinite-scroll.neverending footer#colophon {
|
||||
/* 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 .widget-area,
|
||||
.infinity-end.neverending footer#colophon {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body[class*=" infinity-"] main#main > article:last-of-type .entry-footer {
|
||||
border-bottom: var(--separator--height) solid var(--separator--border-color);
|
||||
}
|
||||
|
||||
body:not(.infinity-end) .site-main > div:nth-last-child(2) > article:last-of-type .entry-footer,
|
||||
body.infinity-end .site-main > div:last-of-type > article:last-of-type .entry-footer {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.site-main > .infinite-wrap > article > .entry-footer {
|
||||
margin-top: var(--global--spacing-vertical);
|
||||
padding-top: var(--global--spacing-unit);
|
||||
padding-bottom: calc(3 * var(--global--spacing-vertical));
|
||||
border-bottom: var(--separator--height) solid var(--separator--border-color);
|
||||
}
|
||||
|
||||
.site-main > .infinite-wrap > * {
|
||||
margin-top: calc(3 * var(--global--spacing-vertical));
|
||||
margin-bottom: calc(3 * var(--global--spacing-vertical));
|
||||
}
|
||||
|
||||
#infinite-handle {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.infinite-loader {
|
||||
margin: calc(3 * 1rem) auto;
|
||||
}
|
||||
|
||||
#infinite-handle span {
|
||||
color: var(--global--color-background);
|
||||
background-color: var(--global--color-secondary);;
|
||||
font-family: var(--global--font-primary);
|
||||
font-size: var(--global--font-size-base);
|
||||
font-weight: 500;
|
||||
line-height: 1.5;
|
||||
border-width: 3px;
|
||||
border-radius: 0;
|
||||
padding: 15px calc(2 * var(--button--padding-vertical));
|
||||
max-width: 170px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
#infinite-handle span:hover {
|
||||
color: var(--global--color-secondary);
|
||||
background-color: var(--global--color-background);
|
||||
border-color: var(--global--color-secondary);
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
#infinite-handle span:active {
|
||||
color: var(--global--color-secondary);
|
||||
background-color: var(--global--color-background);
|
||||
border-color: var(--global--color-secondary);
|
||||
}
|
||||
|
||||
/* Customizer */
|
||||
.widget-area .widget_block {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1024px) {
|
||||
.widget-area {
|
||||
/*
|
||||
Fix: minimum width of 0
|
||||
See: https://css-tricks.com/preventing-a-grid-blowout/
|
||||
*/
|
||||
grid-template-columns: repeat( 3, minmax(0, 1fr) );
|
||||
}
|
||||
}
|
||||
|
||||
/* Contact form */
|
||||
/* See https: //core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentytwentyone/style.css?rev=58726#L1276 */
|
||||
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
|
||||
.contact-form input.grunion-field[type=checkbox],
|
||||
.contact-form input.grunion-field[type=radio] {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* Jetpack Compatibility File
|
||||
* See: https://jetpack.com/
|
||||
*
|
||||
* @package automattic/jetpack
|
||||
*/
|
||||
|
||||
/**
|
||||
* Add Jetpack extra functionality to Twenty Twenty One.
|
||||
*/
|
||||
function twentytwentyone_jetpack_setup() {
|
||||
|
||||
/**
|
||||
* Add theme support for Infinite Scroll.
|
||||
*/
|
||||
add_theme_support(
|
||||
'infinite-scroll',
|
||||
array(
|
||||
'type' => 'click',
|
||||
'container' => 'main',
|
||||
'render' => 'twentytwentyone_infinite_scroll_render',
|
||||
'footer' => 'main',
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* 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' => 'twenty-twenty-one-style',
|
||||
'date' => '.posted-on',
|
||||
'categories' => '.cat-links',
|
||||
),
|
||||
'featured-images' => array(
|
||||
'archive' => true,
|
||||
'post' => true,
|
||||
'page' => true,
|
||||
),
|
||||
)
|
||||
);
|
||||
}
|
||||
add_action( 'after_setup_theme', 'twentytwentyone_jetpack_setup' );
|
||||
|
||||
/**
|
||||
* Custom render function for Infinite Scroll.
|
||||
*/
|
||||
function twentytwentyone_infinite_scroll_render() {
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
get_template_part( 'template-parts/content/content', get_theme_mod( 'display_excerpt_or_full_post', 'excerpt' ) );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add our compat CSS file for custom styles.
|
||||
* Set the version equal to filemtime for development builds, and the JETPACK__VERSION for production
|
||||
* or skip it entirely for wpcom.
|
||||
*/
|
||||
function twentytwentyone_enqueue_jetpack_style() {
|
||||
$version = Jetpack::is_development_version()
|
||||
? filemtime( JETPACK__PLUGIN_DIR . 'modules/theme-tools/compat/twentytwentyone.css' )
|
||||
: JETPACK__VERSION;
|
||||
|
||||
wp_enqueue_style( 'twentytwentyone-jetpack', plugins_url( 'twentytwentyone.css', __FILE__ ), array(), $version );
|
||||
wp_style_add_data( 'twentytwentyone-jetpack', 'rtl', 'replace' );
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'twentytwentyone_enqueue_jetpack_style' );
|
||||
Reference in New Issue
Block a user