Przeglądaj źródła

Syncing all remaining svn<>git differences

Jason Crist 4 lat temu
rodzic
commit
432a79d4c6

+ 60 - 25
affinity/blocks.css

@@ -192,31 +192,15 @@ p.has-drop-cap:not(:focus)::first-letter {
 	text-transform: uppercase;
 	letter-spacing: 1px;
 	font-weight: bold;
+	left: 4px;
 	line-height: 1;
-	padding: 16px 28px;
 	position: relative;
 	transition: 0.3s;
 	text-decoration: none;
 }
 
-.wp-block-button__link:not(.has-background) {
-	background-color: #99908a;
-	box-shadow: 0 0 0 4px #99908a;
+.wp-block-button:not(.is-style-outline) .wp-block-button__link {
 	border: 2px solid white;
-	left: 4px;
-	padding: 12px 24px;
-}
-
-.wp-block-button.is-style-outline .wp-block-button__link {
-	left: 0;
-	background-color: transparent;
-	border-color: currentColor;
-	box-shadow: none;
-	padding: 16px 28px;
-}
-
-.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) {
-	color: #99908a;
 }
 
 .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color),
@@ -226,19 +210,22 @@ p.has-drop-cap:not(:focus)::first-letter {
 	color: white;
 }
 
+.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) {
+	background-color: #99908a;
+	box-shadow: 0 0 0 4px #99908a;
+}
+
 .entry-content .wp-block-button .wp-block-button__link:active,
+.entry-content .wp-block-button .wp-block-button__link.has-background:active,
 .entry-content .wp-block-button .wp-block-button__link:focus,
-.entry-content .wp-block-button .wp-block-button__link:hover {
+.entry-content .wp-block-button .wp-block-button__link.has-background:focus,
+.entry-content .wp-block-button .wp-block-button__link:hover,
+.entry-content .wp-block-button .wp-block-button__link.has-background:hover {
+	box-shadow: 0 0 0 4px #5e5853;
 	background-color: #5e5853;
 	color: #fff;
 }
 
-.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):active,
-.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):focus,
-.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):hover {
-	box-shadow: 0 0 0 4px #5e5853;
-}
-
 /* Seperator */
 
 hr.wp-block-separator {
@@ -294,3 +281,51 @@ hr.wp-block-separator {
 .wp-block-latest-comments__comment-excerpt p:last-child {
 	margin-bottom: 0;
 }
+
+/*--------------------------------------------------------------
+6.0 Colors
+--------------------------------------------------------------*/
+
+.wp-block-button__link.has-pale-pink-background-color:link {
+	box-shadow: 0 0 0 4px #f78da7;
+}
+
+.wp-block-button__link.has-vivid-red-background-color:link {
+	box-shadow: 0 0 0 4px #cf2e2e;
+}
+
+.wp-block-button__link.has-luminous-vivid-orange-background-color:link {
+	box-shadow: 0 0 0 4px #ff6900;
+}
+
+.wp-block-button__link.has-luminous-vivid-amber-background-color:link {
+	box-shadow: 0 0 0 4px #fcb900;
+}
+
+.wp-block-button__link.has-light-green-cyan-background-color:link {
+	box-shadow: 0 0 0 4px #7bdcb5;
+}
+
+.wp-block-button__link.has-vivid-green-cyan-background-color:link {
+	box-shadow: 0 0 0 4px #00d084;
+}
+
+.wp-block-button__link.has-pale-cyan-blue-background-color:link {
+	box-shadow: 0 0 0 4px #8ed1fc;
+}
+
+.wp-block-button__link.has-vivid-cyan-blue-background-color:link {
+	box-shadow: 0 0 0 4px #0693e3;
+}
+
+.wp-block-button__link.has-very-light-gray-background-color:link {
+	box-shadow: 0 0 0 4px #eee;
+}
+
+.wp-block-button__link.has-cyan-bluish-gray-background-color:link {
+	box-shadow: 0 0 0 4px #abb8c3;
+}
+
+.wp-block-button__link.has-very-dark-gray-background-color:link {
+	box-shadow: 0 0 0 4px #313131;
+}

+ 24 - 5
altofocus/assets/js/jquery.flexslider.js

@@ -217,14 +217,33 @@
           if (slider.pagingCount > 1) {
             for (var i = 0; i < slider.pagingCount; i++) {
               slide = slider.slides.eq(i);
-              if ( undefined === slide.attr( 'data-thumb-alt' ) ) { slide.attr( 'data-thumb-alt', '' ); }
-              var altText = ( '' !== slide.attr( 'data-thumb-alt' ) ) ? altText = ' alt="' + slide.attr( 'data-thumb-alt' ) + '"' : '';
-              item = (slider.vars.controlNav === "thumbnails") ? '<img src="' + slide.attr( 'data-thumb' ) + '"' + altText + '/>' : '<a href="#">' + j + '</a>';
+
+              if ( undefined === slide.attr( 'data-thumb-alt' ) ) { 
+                slide.attr( 'data-thumb-alt', '' ); 
+              }
+              
+              item = $( '<a></a>' ).attr( 'href', '#' ).text( j );
+              if ( slider.vars.controlNav === "thumbnails" ) {
+                item = $( '<img/>' ).attr( 'src', slide.attr( 'data-thumb' ) );
+              }
+              
+              if ( '' !== slide.attr( 'data-thumb-alt' ) ) {
+                item.attr( 'alt', slide.attr( 'data-thumb-alt' ) );
+              }
+
               if ( 'thumbnails' === slider.vars.controlNav && true === slider.vars.thumbCaptions ) {
                 var captn = slide.attr( 'data-thumbcaption' );
-                if ( '' !== captn && undefined !== captn ) { item += '<span class="' + namespace + 'caption">' + captn + '</span>'; }
+                if ( '' !== captn && undefined !== captn ) { 
+                  var caption = $('<span></span>' ).addClass( namespace + 'caption' ).text( captn );
+                  item.append( caption );
+                }
               }
-              slider.controlNavScaffold.append('<li>' + item + '</li>');
+              
+              var liElement = $( '<li>' );
+              item.appendTo( liElement );
+              liElement.append( '</li>' );
+
+              slider.controlNavScaffold.append(liElement);
               j++;
             }
           }

+ 0 - 1003
altofocus/assets/stylesheets/style-wpcom.css

@@ -1,1003 +0,0 @@
-/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
-/**
- * WordPress.com specific styles
- *
- *
- */
-/* Variables & Mixins
---------------------------------------------------------------*/
-/*--------------------------------------------------------------*/
-/* !## Color Variables */
-/*--------------------------------------------------------------*/
-/*--------------------------------------------------------------*/
-/* !## Typographic Variables */
-/*--------------------------------------------------------------*/
-/*--------------------------------------------------------------*/
-/* !## Global Structure */
-/*--------------------------------------------------------------*/
-/*--------------------------------------------------------------
-# Typography
---------------------------------------------------------------*/
-/*--------------------------------------------------------------*/
-/* !## Typographic Mixins */
-/*--------------------------------------------------------------*/
-/*--------------------------------------------------------------
-# Animations
---------------------------------------------------------------*/
-/*--------------------------------------------------------------*/
-/* !## Animations */
-/*--------------------------------------------------------------*/
-@-webkit-keyframes bounce-reveal-y {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-  }
-
-  50% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-  }
-}
-
-@-moz-keyframes bounce-reveal-y {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-  }
-
-  50% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-  }
-}
-
-@-o-keyframes bounce-reveal-y {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-  }
-
-  50% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-  }
-}
-
-@keyframes bounce-reveal-y {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-  }
-
-  50% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 1.1, -2);
-  }
-}
-
-@-webkit-keyframes bounce-hide-y {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-  }
-
-  50% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-  }
-}
-
-@-moz-keyframes bounce-hide-y {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-  }
-
-  50% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-  }
-}
-
-@-o-keyframes bounce-hide-y {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-  }
-
-  50% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-  }
-}
-
-@keyframes bounce-hide-y {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 1, -2);
-  }
-
-  50% {
-    -webkit-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    -moz-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    -ms-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    -o-transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-    transform: str_insert(str_insert(scaleY, "()", -1), 0.9, -2);
-  }
-}
-
-@-webkit-keyframes bounce-reveal {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-  }
-}
-
-@-moz-keyframes bounce-reveal {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-  }
-}
-
-@-o-keyframes bounce-reveal {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-  }
-}
-
-@keyframes bounce-reveal {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-  }
-}
-
-@-webkit-keyframes bounce-left {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-  }
-}
-
-@-moz-keyframes bounce-left {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-  }
-}
-
-@-o-keyframes bounce-left {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-  }
-}
-
-@keyframes bounce-left {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 0, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), -10px, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 3px, -2);
-  }
-}
-
-@-webkit-keyframes bounce-right {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-  }
-}
-
-@-moz-keyframes bounce-right {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-  }
-}
-
-@-o-keyframes bounce-right {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-  }
-}
-
-@keyframes bounce-right {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 1, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), 10px, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    -moz-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    -ms-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    -o-transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-    transform: str_insert(str_insert(translateX, "()", -1), -3px, -2);
-  }
-}
-
-@-webkit-keyframes bounce-reveal-large {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-  }
-}
-
-@-moz-keyframes bounce-reveal-large {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-  }
-}
-
-@-o-keyframes bounce-reveal-large {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-  }
-}
-
-@keyframes bounce-reveal-large {
-  0%,
-  100% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-  }
-
-  33% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.25, -2);
-  }
-
-  66% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 0.85, -2);
-  }
-}
-
-@-webkit-keyframes bounce-zoom {
-  0% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-  }
-
-  25% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-  }
-
-  75% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-  }
-
-  100% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-  }
-}
-
-@-moz-keyframes bounce-zoom {
-  0% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-  }
-
-  25% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-  }
-
-  75% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-  }
-
-  100% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-  }
-}
-
-@-o-keyframes bounce-zoom {
-  0% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-  }
-
-  25% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-  }
-
-  75% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-  }
-
-  100% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-  }
-}
-
-@keyframes bounce-zoom {
-  0% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1, -2);
-  }
-
-  25% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.1, -2);
-  }
-
-  75% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 0.9, -2);
-  }
-
-  100% {
-    -webkit-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    -moz-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    -ms-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    -o-transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-    transform: str_insert(str_insert(scale, "()", -1), 1.125, -2);
-  }
-}
-
-/*--------------------------------------------------------------
-# UI
---------------------------------------------------------------*/
-/*--------------------------------------------------------------*/
-/* !## UI Mixins */
-/*--------------------------------------------------------------*/
-/**
- * Non obstructive border
- * - Src: http://stackoverflow.com/questions/11765642/sass-optimize-borders-into-one-line-of-code
- * - Usage: @include non-border(2px solid shade($ccblue, 10%), bottom, right);
- */
-/*--------------------------------------------------------------
-# Breakpoints
---------------------------------------------------------------*/
-/*--------------------------------------------------------------*/
-/* !## Breakpoint Mixins */
-/*--------------------------------------------------------------*/
-/*
-	Breakpoints
-	Src: https://responsivedesign.is/develop/getting-started-with-sass
-	Usage:
-	.grid-1-4 {
-		width: 100%;
-		@include breakpoint(phablet) {
-			width: 50%;
-		}
-		@include breakpoint(laptop) {
-			width: 25%;
-		}
-	 }
-*/
-/*--------------------------------------------------------------
-# Plugins
---------------------------------------------------------------*/
-/*--------------------------------------------------------------*/
-/* !## Highlander Comments */
-/*--------------------------------------------------------------*/
-.highlander-enabled #respond {
-  border-top: 1px solid rgba(0, 0, 0, 0.2);
-  margin-top: -1px !important;
-}
-.highlander-enabled #respond h3 {
-  margin-top: 0;
-  margin-bottom: 0;
-}
-.highlander-enabled #respond label,
-.highlander-enabled #respond form label {
-  color: #666666;
-}
-
-.page.highlander-enabled #respond {
-  border-top-width: 0;
-  margin-top: 0 !important;
-}
-
-.page.highlander-enabled .comment-list + #respond {
-  border-top-width: 1px;
-  margin-top: -1px !important;
-}
-
-/**
- * Stats
- */
-#wpstats {
-  display: none;
-}
-
-/**
- * Ads
- */
-.wpa .u > div,
-.wpadvert > div > * {
-  background-color: #efefef;
-}
-
-/**
- * Widgets
- */
-#secondary .time_machine_widget {
-  position: relative;
-}
-#secondary .time_machine_widget .time-machine-post {
-  width: 62.5%;
-  margin-left: calc(25%);
-}
-#secondary .time_machine_widget .time-machine-post-title {
-  font-size: 16.875px;
-  font-size: 1.125rem;
-  font-family: "Libre Baskerville", "Georgia", Georgia, "Times New Roman", Times, serif;
-  font-weight: 300;
-  line-height: 1.75em;
-  word-break: break-word;
-  margin: 0.875em 0;
-}
-#secondary .time_machine_widget .time-machine-navigation {
-  position: relative;
-}
-#secondary .time_machine_widget .time-machine-navigation {
-  font-size: 14.76563px;
-  font-size: 0.98438rem;
-  font-family: "Libre Baskerville", "Georgia", Georgia, "Times New Roman", Times, serif;
-  font-weight: 300;
-  font-style: italic;
-  line-height: 1.46563em;
-}
-@media screen and (min-width: 37.5em) {
-  #secondary .time_machine_widget .time-machine-navigation {
-    font-size: 16.875px;
-    font-size: 1.125rem;
-  }
-}
-#secondary .widget_wpcom_social_media_icons_widget ul li a {
-  padding: 0 3px;
-}
-#secondary .widget_wpcom_social_media_icons_widget ul li a:before {
-  font-size: 1.75em;
-}
-#secondary .widget_authors > ul > li > a {
-  display: block;
-  margin-bottom: 0.875em;
-}
-#secondary .widget_authors > ul > li > a img,
-#secondary .widget_authors > ul > li > a strong {
-  display: inline-block;
-  vertical-align: middle;
-}
-#secondary .widget_recent_entries ul {
-  margin-bottom: 0;
-}
-#secondary .widget_recent_entries ul li {
-  font-size: 14.76563px;
-  font-size: 0.98438rem;
-  font-family: "Libre Baskerville", "Georgia", Georgia, "Times New Roman", Times, serif;
-  font-weight: 300;
-  font-style: italic;
-  line-height: 1.46563em;
-  margin-bottom: 1.4em;
-}
-@media screen and (min-width: 37.5em) {
-  #secondary .widget_recent_entries ul li {
-    font-size: 16.875px;
-    font-size: 1.125rem;
-  }
-}
-#secondary .widget-grofile .grofile-meta h4 {
-  font-size: 14.76563px;
-  font-size: 0.98438rem;
-  font-family: "Libre Baskerville", "Georgia", Georgia, "Times New Roman", Times, serif;
-  font-weight: 300;
-  line-height: 1.75em;
-  word-break: break-word;
-  color: #888888;
-  margin: 0;
-}
-@media screen and (min-width: 37.5em) {
-  #secondary .widget-grofile .grofile-meta h4 {
-    font-size: 16.875px;
-    font-size: 1.125rem;
-  }
-}
-#secondary .widget_recent_comments .recentcommentstexttop,
-#secondary .widget_recent_comments .recentcommentstextend {
-  font-size: 14.76563px;
-  font-size: 0.98438rem;
-  font-family: "Libre Baskerville", "Georgia", Georgia, "Times New Roman", Times, serif;
-  font-weight: 300;
-  font-style: italic;
-  line-height: 1.46563em;
-}
-@media screen and (min-width: 37.5em) {
-  #secondary .widget_recent_comments .recentcommentstexttop,
-  #secondary .widget_recent_comments .recentcommentstextend {
-    font-size: 16.875px;
-    font-size: 1.125rem;
-  }
-}
-#secondary .aboutme_widget h2 {
-  clear: inherit;
-}
-#secondary #flickr_badge_wrapper {
-  border: rgba(0, 0, 0, 0.2);
-}
-
-@media screen and (min-width: 50em) {
-  #secondary .widget_author_grid > ul,
-  #secondary .widget_flickr > table,
-  #secondary .widget_recent_images .recent_images,
-  #secondary .jetpack_widget_social_icons .jetpack-social-widget-list {
-    padding-left: 12.5px;
-    padding-right: 12.5px;
-    width: calc(62.5%);
-  }
-  #secondary .time_machine_widget .time-machine-post {
-    width: 62.5%;
-    margin-left: calc(25%);
-  }
-  #secondary .time_machine_widget .time-machine-navigation {
-    position: absolute;
-    top: 2.625em;
-    left: 12.5px;
-  }
-  #secondary .time_machine_widget .time-machine-navigation {
-    font-size: 14.76563px;
-    font-size: 0.98438rem;
-    font-family: "Libre Baskerville", "Georgia", Georgia, "Times New Roman", Times, serif;
-    font-weight: 300;
-    font-style: italic;
-    line-height: 1.46563em;
-  }
-  #secondary .widget_jetpack_my_community > * {
-    margin-left: 25%;
-    padding-left: 12.5px;
-    padding-right: 12.5px;
-    width: calc(62.5%);
-  }
-  #secondary .widget-grofile {
-    padding-left: 25%;
-    position: relative;
-  }
-  #secondary .widget-grofile .grofile-meta {
-    padding-left: 12.5px;
-    padding-right: 12.5px;
-    width: calc(60%);
-  }
-  #secondary .widget-grofile .grofile-meta h4 {
-    position: absolute;
-    left: 0;
-    padding-left: 12.5px;
-    padding-right: 12.5px;
-    width: calc(25%);
-  }
-  #secondary .widget-grofile .grofile-thumbnail {
-    padding-left: 12.5px;
-    padding-right: 12.5px;
-    width: calc(40%);
-  }
-  #secondary .widget_recent_comments .recentcommentsavatar {
-    padding-left: 12.5px;
-    padding-right: 12.5px;
-    width: calc(62.5%);
-  }
-  #secondary .wp_widget_tag_cloud > *:not(.widget-title),
-  #secondary .wp_widget_tag_cloud > div {
-    padding-left: 12.5px;
-    padding-right: 12.5px;
-    width: calc(62.5%);
-  }
-}
-@media screen and (min-width: 50em) and (min-width: 37.5em) {
-  #secondary .time_machine_widget .time-machine-navigation {
-    font-size: 16.875px;
-    font-size: 1.125rem;
-  }
-}

+ 25 - 5
calm-business/print.css

@@ -1,3 +1,4 @@
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 /*
 Theme Name: Calm (Twenty Nineteen)
 
@@ -17,13 +18,16 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   /* Margins */
   @page {
     margin: 2cm;
-  }
+}
+
   .entry {
     margin-top: 1em;
   }
+
   .entry .entry-header, .site-footer .site-info {
     margin: 0;
   }
+
   /* Fonts */
   body {
     font: 13pt Georgia, "Times New Roman", Times, serif;
@@ -31,9 +35,11 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     background: #fff !important;
     color: #000;
   }
+
   h1 {
     font-size: 24pt;
   }
+
   h2,
   h3,
   h4,
@@ -45,13 +51,16 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     font-size: 14pt;
     margin-top: 25px;
   }
+
   /* Page breaks */
   a {
     page-break-inside: avoid;
   }
+
   blockquote {
     page-break-inside: avoid;
   }
+
   h1,
   h2,
   h3,
@@ -61,16 +70,20 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     page-break-after: avoid;
     page-break-inside: avoid;
   }
+
   img {
     page-break-inside: avoid;
     page-break-after: avoid;
   }
+
   table, pre {
     page-break-inside: avoid;
   }
+
   ul, ol, dl {
     page-break-before: avoid;
   }
+
   /* Links */
   a:link, a:visited, a {
     background: transparent;
@@ -78,21 +91,27 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     text-decoration: underline;
     text-align: left;
   }
+
   a {
     page-break-inside: avoid;
   }
+
   a[href^=http]:after {
     content: " < " attr(href) "> ";
   }
+
   a:after > img {
     content: "";
   }
+
   article a[href^="#"]:after {
     content: "";
   }
+
   a:not(:local-link):after {
     content: " < " attr(href) "> ";
   }
+
   /* Visibility */
   .main-navigation,
   .site-title + .main-navigation,
@@ -108,11 +127,13 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   .comment .comment-metadata .edit-link {
     display: none;
   }
+
   .entry .entry-content .wp-block-button .wp-block-button__link,
   .entry .entry-content .button {
     color: #000;
     background: none;
   }
+
   /* Site Header (With Featured Image) */
   .site-header.featured-image {
     min-height: 0;
@@ -129,8 +150,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   .site-header.featured-image .main-navigation li,
   .site-header.featured-image .social-navigation li,
   .site-header.featured-image .entry-meta,
-  .site-header.featured-image .entry-title,
-  .site-header.featured-image#masthead .site-title a {
+  .site-header.featured-image .entry-title, .site-header.featured-image#masthead .site-title a {
     color: #000;
     text-shadow: none;
   }
@@ -143,13 +163,13 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     position: relative;
     height: initial;
     width: initial;
-    -o-object-fit: none;
-       object-fit: none;
+    object-fit: none;
     min-width: 0;
     min-height: 0;
     max-width: 100%;
     margin-top: 1rem;
   }
+
   /* Remove image filters from featured image */
   .image-filters-enabled *:after {
     display: none !important;

+ 1 - 0
calm-business/style-editor-customizer.css

@@ -1,3 +1,4 @@
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 /*!
 Twenty Nineteen Customizer Styles & Non-latin Font Fallbacks
 

+ 8 - 3
calm-business/style-editor.css

@@ -297,6 +297,7 @@ body.page .main-navigation {
 @media only screen and (min-width: 768px) {
   .main-navigation .sub-menu {
     width: auto;
+    min-width: -moz-max-content;
     min-width: -webkit-max-content;
     min-width: max-content;
   }
@@ -403,6 +404,7 @@ body.page .main-navigation {
     top: auto;
     bottom: auto;
     height: auto;
+    min-width: -moz-max-content;
     min-width: -webkit-max-content;
     min-width: max-content;
     transform: none;
@@ -422,6 +424,7 @@ body.page .main-navigation {
     left: auto;
     display: block;
     width: -webkit-max-content;
+    width: -moz-max-content;
     width: max-content;
   }
 }
@@ -455,7 +458,7 @@ body.page .main-navigation {
 .main-navigation .main-menu .menu-item-has-children:not(.off-canvas):focus-within > .sub-menu .sub-menu > li > a::before {
   font-family: "Poppins", sans-serif;
   font-weight: normal;
-  content: "– " counters(submenu, "– ", none);
+  content: "– " counters(submenu, "– ", none);
   counter-increment: submenu;
 }
 
@@ -486,6 +489,7 @@ body.page .main-navigation {
     top: auto;
     bottom: auto;
     height: auto;
+    min-width: -moz-max-content;
     min-width: -webkit-max-content;
     min-width: max-content;
     transform: none;
@@ -509,6 +513,7 @@ body.page .main-navigation {
     left: auto;
     display: table;
     width: -webkit-max-content;
+    width: -moz-max-content;
     width: max-content;
   }
 }
@@ -551,7 +556,7 @@ body.page .main-navigation {
 .main-navigation .main-menu .menu-item-has-children.is-focused:not(.off-canvas) > .sub-menu .sub-menu > li > a::before {
   font-family: "Poppins", sans-serif;
   font-weight: normal;
-  content: "– " counters(submenu, "– ", none);
+  content: "– " counters(submenu, "– ", none);
   counter-increment: submenu;
 }
 
@@ -1637,7 +1642,7 @@ ul.wp-block-archives li ul,
   font-size: 0.88889em;
   font-weight: 600;
   line-height: 1.2;
-  content: "– " counters(submenu, "– ", none);
+  content: "– " counters(submenu, "– ", none);
   counter-increment: submenu;
 }
 

+ 2 - 0
calm-business/style-jetpack.css

@@ -1,3 +1,5 @@
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 /* Reset font-family styles for Jetpack
  *
  * See: https://github.com/Automattic/jetpack/blob/master/modules/theme-tools/compat/twentynineteen.css

+ 1 - 1
canard/blocks.css

@@ -21,7 +21,7 @@ Description: Used to style Gutenberg Blocks.
 /* Captions */
 
 [class^="wp-block-"] figcaption {
-	color: inherit;
+	color: #777;
 	font-family: Lato, sans-serif;
 	font-size: 16px;
 	line-height: 1.25;

+ 6 - 0
canard/readme.txt

@@ -90,6 +90,12 @@ Social networks that aren't currently supported will be indicated by a generic s
 
 == Changelog ==
 
+= 1.0.12 - Jun 10 2020 =
+* Add block editor styles and support to the theme.
+* Improve contact form styles
+* Clean up header elements
+* Support for Content Options - Featured Images
+
 = 1.0.6 - Sep 29 2015 =
 * Update screenshot.
 

+ 1 - 1
canard/style.css

@@ -13,7 +13,7 @@ Tags: author-bio, blog, blog-excerpts, classic-menu, clean, collaboration, conte
 This theme, like WordPress, is licensed under the GPL.
 Use it to make something cool, have fun, and share what you've learned with others.
 
-Canard is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
+Canard is based on Underscores http://underscores.me/, (C) 2012-2020 Automattic, Inc.
 
 Normalizing styles have been helped along thanks to the fine work of
 Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/

+ 1 - 1
dara/inc/woocommerce.php

@@ -327,4 +327,4 @@ function dara_woocommerce_is_shop_page() {
 	}
 
 	return $is_shop_page;
-}
+}

+ 0 - 1
dara/style.css

@@ -9,7 +9,6 @@ License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: dara
 Tags: business, blog, bright, modern, professional, blue, light, one-column, two-columns, right-sidebar, author-bio, blog-excerpts, classic-menu, custom-background, custom-colors, custom-header, custom-menu, featured-content-with-pages, featured-images, flexible-header, full-width-template, infinite-scroll, post-slider, rtl-language-support, site-logo, social-menu, testimonials, theme-options, threaded-comments, translation-ready
-Status: inactive
 
 This theme, like WordPress, is licensed under the GPL.
 Use it to make something cool, have fun, and share what you've learned with others.

+ 25 - 5
elegant-business/print.css

@@ -1,3 +1,4 @@
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 /*
 Theme Name: Twenty Nineteen
 
@@ -17,13 +18,16 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   /* Margins */
   @page {
     margin: 2cm;
-  }
+}
+
   .entry {
     margin-top: 1em;
   }
+
   .entry .entry-header, .site-footer .site-info {
     margin: 0;
   }
+
   /* Fonts */
   body {
     font: 13pt Georgia, "Times New Roman", Times, serif;
@@ -31,9 +35,11 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     background: #fff !important;
     color: #000;
   }
+
   h1 {
     font-size: 24pt;
   }
+
   h2,
   h3,
   h4,
@@ -45,13 +51,16 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     font-size: 14pt;
     margin-top: 25px;
   }
+
   /* Page breaks */
   a {
     page-break-inside: avoid;
   }
+
   blockquote {
     page-break-inside: avoid;
   }
+
   h1,
   h2,
   h3,
@@ -61,16 +70,20 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     page-break-after: avoid;
     page-break-inside: avoid;
   }
+
   img {
     page-break-inside: avoid;
     page-break-after: avoid;
   }
+
   table, pre {
     page-break-inside: avoid;
   }
+
   ul, ol, dl {
     page-break-before: avoid;
   }
+
   /* Links */
   a:link, a:visited, a {
     background: transparent;
@@ -78,21 +91,27 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     text-decoration: underline;
     text-align: left;
   }
+
   a {
     page-break-inside: avoid;
   }
+
   a[href^=http]:after {
     content: " < " attr(href) "> ";
   }
+
   a:after > img {
     content: "";
   }
+
   article a[href^="#"]:after {
     content: "";
   }
+
   a:not(:local-link):after {
     content: " < " attr(href) "> ";
   }
+
   /* Visibility */
   .main-navigation,
   .site-title + .main-navigation,
@@ -108,11 +127,13 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   .comment .comment-metadata .edit-link {
     display: none;
   }
+
   .entry .entry-content .wp-block-button .wp-block-button__link,
   .entry .entry-content .button {
     color: #000;
     background: none;
   }
+
   /* Site Header (With Featured Image) */
   .site-header.featured-image {
     min-height: 0;
@@ -129,8 +150,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   .site-header.featured-image .main-navigation li,
   .site-header.featured-image .social-navigation li,
   .site-header.featured-image .entry-meta,
-  .site-header.featured-image .entry-title,
-  .site-header.featured-image#masthead .site-title a {
+  .site-header.featured-image .entry-title, .site-header.featured-image#masthead .site-title a {
     color: #000;
     text-shadow: none;
   }
@@ -143,13 +163,13 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     position: relative;
     height: initial;
     width: initial;
-    -o-object-fit: none;
-       object-fit: none;
+    object-fit: none;
     min-width: 0;
     min-height: 0;
     max-width: 100%;
     margin-top: 1rem;
   }
+
   /* Remove image filters from featured image */
   .image-filters-enabled *:after {
     display: none !important;

+ 1 - 0
elegant-business/style-editor-customizer.css

@@ -1,3 +1,4 @@
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 /*!
 Twenty Nineteen Customizer Styles & Non-latin Font Fallbacks
 

+ 2 - 0
elegant-business/style-jetpack.css

@@ -1,3 +1,5 @@
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 /* Reset font-family styles for Jetpack
  *
  * See: https://github.com/Automattic/jetpack/blob/master/modules/theme-tools/compat/twentynineteen.css

+ 170 - 200
independent-publisher-2/functions.php

@@ -6,154 +6,138 @@
  */
 
 if ( ! function_exists( 'independent_publisher_2_setup' ) ) :
-	/**
-	 * Sets up theme defaults and registers support for various WordPress features.
+/**
+ * Sets up theme defaults and registers support for various WordPress features.
+ *
+ * Note that this function is hooked into the after_setup_theme hook, which
+ * runs before the init hook. The init hook is too late for some features, such
+ * as indicating support for post thumbnails.
+ */
+function independent_publisher_2_setup() {
+	/*
+	 * Make theme available for translation.
+	 * Translations can be filed in the /languages/ directory.
+	 * If you're building a theme based on Independent Publisher 2, use a find and replace
+	 * to change 'independent-publisher-2' to the name of your theme in all the template files
+	 */
+	load_theme_textdomain( 'independent-publisher-2', get_template_directory() . '/languages' );
+
+	// Add default posts and comments RSS feed links to head.
+	add_theme_support( 'automatic-feed-links' );
+
+	/*
+	 * Let WordPress manage the document title.
+	 * By adding theme support, we declare that this theme does not use a
+	 * hard-coded <title> tag in the document head, and expect WordPress to
+	 * provide it for us.
+	 */
+	add_theme_support( 'title-tag' );
+
+
+	add_theme_support( 'customize_selective_refresh_widgets' );
+
+	/*
+	 * Enable support for Post Thumbnails on posts and pages.
 	 *
-	 * Note that this function is hooked into the after_setup_theme hook, which
-	 * runs before the init hook. The init hook is too late for some features, such
-	 * as indicating support for post thumbnails.
+	 * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
 	 */
-	function independent_publisher_2_setup() {
-		/*
-		 * Make theme available for translation.
-		 * Translations can be filed in the /languages/ directory.
-		 * If you're building a theme based on Independent Publisher 2, use a find and replace
-		 * to change 'independent-publisher-2' to the name of your theme in all the template files
-		 */
-		load_theme_textdomain( 'independent-publisher-2', get_template_directory() . '/languages' );
-
-		// Add default posts and comments RSS feed links to head.
-		add_theme_support( 'automatic-feed-links' );
-
-		/*
-		 * Let WordPress manage the document title.
-		 * By adding theme support, we declare that this theme does not use a
-		 * hard-coded <title> tag in the document head, and expect WordPress to
-		 * provide it for us.
-		 */
-		add_theme_support( 'title-tag' );
-
-		add_theme_support( 'customize_selective_refresh_widgets' );
-
-		/*
-		 * Enable support for Post Thumbnails on posts and pages.
-		 *
-		 * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
-		 */
-		add_theme_support( 'post-thumbnails' );
-		set_post_thumbnail_size( 740, 430, true );
-		add_image_size( 'independent-publisher-2-banner', 1440, 600, true );
-		add_image_size( 'independent-publisher-2-full-width', 1100, 9999 );
-
-		// This theme uses wp_nav_menu() in one location.
-		register_nav_menus(
-			array(
-				'menu-1' => esc_html__( 'Header', 'independent-publisher-2' ),
-			)
-		);
-
-		/**
-		 * Add custom logo support
-		 */
-		add_theme_support(
-			'custom-logo',
-			array(
-				'height'     => 300,
-				'width'      => 1500,
-				'flex-width' => true,
-			)
-		);
-
-		/*
-		 * Switch default core markup for search form, comment form, and comments
-		 * to output valid HTML5.
-		 */
-		add_theme_support(
-			'html5',
-			array(
-				'search-form',
-				'comment-form',
-				'comment-list',
-				'gallery',
-				'caption',
-			)
-		);
-
-		// Set up the WordPress core custom background feature.
-		add_theme_support(
-			'custom-background',
-			apply_filters(
-				'independent_publisher_2_custom_background_args',
-				array(
-					'default-color' => 'ffffff',
-				)
-			)
-		);
-
-		// Load regular editor styles into the new block-based editor.
-		add_theme_support( 'editor-styles' );
-
-		// Add support for Block Styles.
-		add_theme_support( 'wp-block-styles' );
-
-		// Add support for responsive embeds.
-		add_theme_support( 'responsive-embeds' );
-
-		// Add support for full and wide align images.
-		add_theme_support( 'align-wide' );
-
-		// Add support for custom color scheme.
-		add_theme_support(
-			'editor-color-palette',
-			array(
-				array(
-					'name'  => __( 'Medium Blue', 'independent-publisher-2' ),
-					'slug'  => 'medium-blue',
-					'color' => '#0087be',
-				),
-				array(
-					'name'  => __( 'Bright Blue', 'independent-publisher-2' ),
-					'slug'  => 'bright-blue',
-					'color' => '#00aadc',
-				),
-				array(
-					'name'  => __( 'Dark Gray', 'independent-publisher-2' ),
-					'slug'  => 'dark-gray',
-					'color' => '#4d4d4b',
-				),
-				array(
-					'name'  => __( 'Light Gray', 'independent-publisher-2' ),
-					'slug'  => 'light-gray',
-					'color' => '#b3b3b1',
-				),
-				array(
-					'name'  => __( 'White', 'independent-publisher-2' ),
-					'slug'  => 'white',
-					'color' => '#fff',
-				),
-			)
-		);
-	}
+	add_theme_support( 'post-thumbnails' );
+	set_post_thumbnail_size( 740, 430, true );
+	add_image_size( 'independent-publisher-2-banner', 1440, 600, true );
+	add_image_size( 'independent-publisher-2-full-width', 1100, 9999 );
+
+	// This theme uses wp_nav_menu() in one location.
+	register_nav_menus( array(
+		'menu-1' => esc_html__( 'Header', 'independent-publisher-2' ),
+	) );
+
+	/**
+	 * Add custom logo support
+	 */
+	add_theme_support( 'custom-logo', array(
+		'height'      => 300,
+		'width'       => 1500,
+		'flex-width'  => true,
+	) );
+
+	/*
+	 * Switch default core markup for search form, comment form, and comments
+	 * to output valid HTML5.
+	 */
+	add_theme_support( 'html5', array(
+		'search-form',
+		'comment-form',
+		'comment-list',
+		'gallery',
+		'caption',
+	) );
+
+	// Set up the WordPress core custom background feature.
+	add_theme_support( 'custom-background', apply_filters( 'independent_publisher_2_custom_background_args', array(
+		'default-color' => 'ffffff',
+	) ) );
+
+	// Load regular editor styles into the new block-based editor.
+	add_theme_support( 'editor-styles' );
+
+	// Add support for Block Styles.
+	add_theme_support( 'wp-block-styles' );
+
+	// Add support for responsive embeds.
+	add_theme_support( 'responsive-embeds' );
+
+	// Add support for full and wide align images.
+	add_theme_support( 'align-wide' );
+
+	// Add support for custom color scheme.
+	add_theme_support( 'editor-color-palette', array(
+		array(
+			'name'  => __( 'Medium Blue', 'independent-publisher-2' ),
+			'slug'  => 'medium-blue',
+			'color' => '#0087be',
+		),
+		array(
+			'name'  => __( 'Bright Blue', 'independent-publisher-2' ),
+			'slug'  => 'bright-blue',
+			'color' => '#00aadc',
+		),
+		array(
+			'name'  => __( 'Dark Gray', 'independent-publisher-2' ),
+			'slug'  => 'dark-gray',
+			'color' => '#4d4d4b',
+		),
+		array(
+			'name'  => __( 'Light Gray', 'independent-publisher-2' ),
+			'slug'  => 'light-gray',
+			'color' => '#b3b3b1',
+		),
+		array(
+			'name'  => __( 'White', 'independent-publisher-2' ),
+			'slug'  => 'white',
+			'color' => '#fff',
+		),
+	) );
+}
 endif; // independent_publisher_2_setup
 add_action( 'after_setup_theme', 'independent_publisher_2_setup' );
 
 if ( ! function_exists( 'independent_publisher_2_word_count' ) ) :
-	/**
-	 * Gets the number of words in the post content.
-	 *
-	 * @link http://php.net/str_word_count
-	 * @link http://php.net/number_format
-	 */
-	function independent_publisher_2_word_count() {
-		$content = get_post_field( 'post_content', get_the_ID() );
-		$count   = str_word_count( strip_tags( $content ) );
-		$time    = $count / 250; //Roughly 250 wpm reading time
-		// if time less than 1 explicitly set to 1.
-		if ( $time < 1 ) {
-			$time = 1;
-		}
-		return number_format( $time );
+/**
+ * Gets the number of words in the post content.
+ *
+ * @link http://php.net/str_word_count
+ * @link http://php.net/number_format
+ */
+function independent_publisher_2_word_count() {
+	$content = get_post_field( 'post_content', get_the_ID() );
+	$count   = str_word_count( strip_tags( $content ) );
+	$time    = $count / 250; //Roughly 250 wpm reading time
+	// if time less than 1 explicitly set to 1.
+	if( $time < 1 ) {
+		$time = 1;
 	}
+	return number_format( $time );
+}
 endif; // independent_publisher_2_word_count
 
 /**
@@ -174,50 +158,42 @@ add_action( 'after_setup_theme', 'independent_publisher_2_content_width', 0 );
  * @link http://codex.wordpress.org/Function_Reference/register_sidebar
  */
 function independent_publisher_2_widgets_init() {
-	register_sidebar(
-		array(
-			'name'          => esc_html__( 'Sidebar', 'independent-publisher-2' ),
-			'id'            => 'sidebar-1',
-			'description'   => '',
-			'before_widget' => '<aside id="%1$s" class="widget %2$s">',
-			'after_widget'  => '</aside>',
-			'before_title'  => '<h1 class="widget-title">',
-			'after_title'   => '</h1>',
-		)
-	);
-	register_sidebar(
-		array(
-			'name'          => esc_html__( 'Footer 1', 'independent-publisher-2' ),
-			'id'            => 'sidebar-2',
-			'description'   => '',
-			'before_widget' => '<aside id="%1$s" class="widget %2$s">',
-			'after_widget'  => '</aside>',
-			'before_title'  => '<h1 class="widget-title">',
-			'after_title'   => '</h1>',
-		)
-	);
-	register_sidebar(
-		array(
-			'name'          => esc_html__( 'Footer 2', 'independent-publisher-2' ),
-			'id'            => 'sidebar-3',
-			'description'   => '',
-			'before_widget' => '<aside id="%1$s" class="widget %2$s">',
-			'after_widget'  => '</aside>',
-			'before_title'  => '<h1 class="widget-title">',
-			'after_title'   => '</h1>',
-		)
-	);
-	register_sidebar(
-		array(
-			'name'          => esc_html__( 'Footer 3', 'independent-publisher-2' ),
-			'id'            => 'sidebar-4',
-			'description'   => '',
-			'before_widget' => '<aside id="%1$s" class="widget %2$s">',
-			'after_widget'  => '</aside>',
-			'before_title'  => '<h1 class="widget-title">',
-			'after_title'   => '</h1>',
-		)
-	);
+	register_sidebar( array(
+		'name'          => esc_html__( 'Sidebar', 'independent-publisher-2' ),
+		'id'            => 'sidebar-1',
+		'description'   => '',
+		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
+		'after_widget'  => '</aside>',
+		'before_title'  => '<h1 class="widget-title">',
+		'after_title'   => '</h1>',
+	) );
+	register_sidebar( array(
+		'name'          => esc_html__( 'Footer 1', 'independent-publisher-2' ),
+		'id'            => 'sidebar-2',
+		'description'   => '',
+		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
+		'after_widget'  => '</aside>',
+		'before_title'  => '<h1 class="widget-title">',
+		'after_title'   => '</h1>',
+	) );
+	register_sidebar( array(
+		'name'          => esc_html__( 'Footer 2', 'independent-publisher-2' ),
+		'id'            => 'sidebar-3',
+		'description'   => '',
+		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
+		'after_widget'  => '</aside>',
+		'before_title'  => '<h1 class="widget-title">',
+		'after_title'   => '</h1>',
+	) );
+	register_sidebar( array(
+		'name'          => esc_html__( 'Footer 3', 'independent-publisher-2' ),
+		'id'            => 'sidebar-4',
+		'description'   => '',
+		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
+		'after_widget'  => '</aside>',
+		'before_title'  => '<h1 class="widget-title">',
+		'after_title'   => '</h1>',
+	) );
 }
 add_action( 'widgets_init', 'independent_publisher_2_widgets_init' );
 
@@ -241,20 +217,17 @@ function independent_publisher_2_scripts() {
 	}
 
 	// If there's an active Video widget, and it's (hopefully) in the footer widget area
-	if ( is_active_widget( '', '', 'media_video' ) && ( is_active_sidebar( 'sidebar-2' ) || is_active_sidebar( 'sidebar-3' ) || is_active_sidebar( 'sidebar-4' ) ) ) {
+	if ( is_active_widget( '','', 'media_video' ) && ( is_active_sidebar( 'sidebar-2' ) || is_active_sidebar( 'sidebar-3' ) || is_active_sidebar( 'sidebar-4' ) ) ) {
 		wp_enqueue_script( 'independent-publisher-2-video-widget', get_template_directory_uri() . '/js/video-widget.js', array( 'jquery' ), '20170608', true );
 	}
 
 	wp_enqueue_script( 'independent-publisher-2-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20170315', true );
 
 	if ( independent_publisher_2_has_header_image() ) {
-		wp_add_inline_style(
-			'independent-publisher-2-style',
-			sprintf(
-				'#hero-header { background: url("%s") no-repeat center; background-size: cover; background-attachment: scroll; }',
-				esc_url( get_header_image() )
-			)
-		);
+		wp_add_inline_style( 'independent-publisher-2-style', sprintf(
+			'#hero-header { background: url("%s") no-repeat center; background-size: cover; background-attachment: scroll; }',
+			esc_url( get_header_image() )
+		) );
 	}
 
 	if ( is_singular() ) {
@@ -277,13 +250,10 @@ function independent_publisher_2_scripts() {
 			//Grab the first URL
 			$banner = $banner_matches[0][0];
 
-			wp_add_inline_style(
-				'independent-publisher-2-style',
-				sprintf(
-					'#hero-header { background: url("%s") no-repeat center; background-size: cover; background-attachment: scroll; }',
-					esc_url( $banner )
-				)
-			);
+			wp_add_inline_style( 'independent-publisher-2-style', sprintf(
+				'#hero-header { background: url("%s") no-repeat center; background-size: cover; background-attachment: scroll; }',
+				esc_url( $banner )
+			) );
 		}
 	}
 }

+ 0 - 1
intergalactic-2/blocks.css

@@ -83,7 +83,6 @@ Description: Used to style Gutenberg Blocks.
 /* Captions */
 
 [class^="wp-block-"] figcaption {
-	color: inherit;	
 	font-size: .778em;
 }
 

+ 2 - 1
libre-2/inc/woocommerce.php

@@ -132,6 +132,7 @@ function libre_2_woocommerce_related_products_args( $args ) {
 		'posts_per_page' => 3,
 		'columns'        => 3,
 	) );
+
 	return $args;
 }
 add_filter( 'woocommerce_output_related_products_args', 'libre_2_woocommerce_related_products_args' );
@@ -328,4 +329,4 @@ function libre_2_woocommerce_is_shop_page() {
 		$is_shop_page = is_shop();
 	}
 	return $is_shop_page;
-}
+}

+ 333 - 0
modern-business/inc/fse-template-data.php

@@ -0,0 +1,333 @@
+<?php
+/**
+ * Template data inserter file.
+ *
+ * @package full-site-editing
+ */
+
+/**
+ * Class A8C_WP_Template_Data_Inserter
+ */
+class A8C_WP_Template_Data_Inserter {
+	/**
+	 * This function will be called on plugin activation hook.
+	 */
+	public function insert_default_template_data() {
+		$current_theme_name = get_option( 'stylesheet' );
+		/**
+		 * This site option will be used to indicate that template data has already been
+		 * inserted for this theme, in order to prevent this functionality from running
+		 * more than once.
+		 */
+		$fse_template_data_option = $current_theme_name . '-fse-template-data';
+
+		if ( get_option( $fse_template_data_option ) ) {
+			/*
+			 * Bail here to prevent inserting the FSE data twice for any given theme.
+			 * Multiple themes will still be able to insert different template parts.
+			 */
+			return;
+		}
+
+		$this->register_template_post_types();
+
+		$header_id = wp_insert_post(
+			[
+				'post_title'     => 'Header',
+				'post_content'   => $this->get_header_content(),
+				'post_status'    => 'publish',
+				'post_type'      => 'wp_template_part',
+				'comment_status' => 'closed',
+				'ping_status'    => 'closed',
+			]
+		);
+
+		if ( ! term_exists( "$current_theme_name-header", 'wp_template_part_type' ) ) {
+			wp_insert_term( "$current_theme_name-header", 'wp_template_part_type' );
+		}
+
+		wp_set_object_terms( $header_id, "$current_theme_name-header", 'wp_template_part_type' );
+
+		$footer_id = wp_insert_post(
+			[
+				'post_title'     => 'Footer',
+				'post_content'   => $this->get_footer_content(),
+				'post_status'    => 'publish',
+				'post_type'      => 'wp_template_part',
+				'comment_status' => 'closed',
+				'ping_status'    => 'closed',
+			]
+		);
+
+		if ( ! term_exists( "$current_theme_name-footer", 'wp_template_part_type' ) ) {
+			wp_insert_term( "$current_theme_name-footer", 'wp_template_part_type' );
+		}
+
+		wp_set_object_terms( $footer_id, "$current_theme_name-footer", 'wp_template_part_type' );
+
+		$page_template_id = wp_insert_post(
+			[
+				'post_title'     => 'Page Template',
+				'post_content'   => $this->get_template_content( $header_id, $footer_id ),
+				'post_status'    => 'publish',
+				'post_type'      => 'wp_template',
+				'comment_status' => 'closed',
+				'ping_status'    => 'closed',
+			]
+		);
+
+		if ( ! term_exists( "$current_theme_name-page-template", 'wp_template_type' ) ) {
+			wp_insert_term( "$current_theme_name-page-template", 'wp_template_type' );
+		}
+
+		wp_set_object_terms( $page_template_id, "$current_theme_name-page-template", 'wp_template_type' );
+
+		add_option( $fse_template_data_option, true );
+	}
+
+	/**
+	 * Returns default header template part content.
+	 *
+	 * @return string
+	 */
+	public function get_header_content() {
+		// TODO: replace with header blocks once they are ready.
+		return '<!-- wp:group {"className":"site-header site-branding"} -->' .
+		       '<div class="wp-block-group site-header site-branding">' .
+		       '<div class="wp-block-group__inner-container">' .
+		       '<!-- wp:a8c/site-description /-->' .
+		       '<!-- wp:a8c/site-title /-->' .
+		       '<!-- wp:a8c/navigation-menu /-->' .
+		       '</div></div>' .
+		       '<!-- /wp:group -->';
+	}
+
+	/**
+	 * Returns default footer template part content.
+	 *
+	 * @return string
+	 */
+	public function get_footer_content() {
+		return '<!-- wp:group {"align":"full","className":"site-footer"} -->' .
+			   '<div class="wp-block-group alignfull site-footer">' .
+			   '<div class="wp-block-group__inner-container">' .
+			   '<!-- wp:separator {"className":"is-style-default"} -->' .
+			   '<hr class="wp-block-separator is-style-default"/>' .
+			   '<!-- /wp:separator -->' .
+			   '<!-- wp:a8c/navigation-menu /-->' .
+			   '</div>' .
+			   '</div>' .
+			   '<!-- /wp:group -->';
+	}
+
+	/**
+	 * Returns default page template content.
+	 *
+	 * @param int $header_id ID of referenced header template part CPT.
+	 * @param int $footer_id ID of referenced footer template part CPT.
+	 *
+	 * @return string
+	 */
+	public function get_template_content( $header_id, $footer_id ) {
+		return "<!-- wp:a8c/template {\"templateId\":$header_id} /-->" .
+		       '<!-- wp:a8c/post-content /-->' .
+		       "<!-- wp:a8c/template {\"templateId\":$footer_id} /-->";
+	}
+
+	/**
+	 * Register post types.
+	 */
+	public function register_template_post_types() {
+		register_post_type(
+			'wp_template',
+			array(
+				'labels'                => array(
+					'name'                     => _x( 'Templates', 'post type general name', 'full-site-editing' ),
+					'singular_name'            => _x( 'Template', 'post type singular name', 'full-site-editing' ),
+					'menu_name'                => _x( 'Templates', 'admin menu', 'full-site-editing' ),
+					'name_admin_bar'           => _x( 'Template', 'add new on admin bar', 'full-site-editing' ),
+					'add_new'                  => _x( 'Add New', 'Template', 'full-site-editing' ),
+					'add_new_item'             => __( 'Add New Template', 'full-site-editing' ),
+					'new_item'                 => __( 'New Template', 'full-site-editing' ),
+					'edit_item'                => __( 'Edit Template', 'full-site-editing' ),
+					'view_item'                => __( 'View Template', 'full-site-editing' ),
+					'all_items'                => __( 'All Templates', 'full-site-editing' ),
+					'search_items'             => __( 'Search Templates', 'full-site-editing' ),
+					'not_found'                => __( 'No templates found.', 'full-site-editing' ),
+					'not_found_in_trash'       => __( 'No templates found in Trash.', 'full-site-editing' ),
+					'filter_items_list'        => __( 'Filter templates list', 'full-site-editing' ),
+					'items_list_navigation'    => __( 'Templates list navigation', 'full-site-editing' ),
+					'items_list'               => __( 'Templates list', 'full-site-editing' ),
+					'item_published'           => __( 'Template published.', 'full-site-editing' ),
+					'item_published_privately' => __( 'Template published privately.', 'full-site-editing' ),
+					'item_reverted_to_draft'   => __( 'Template reverted to draft.', 'full-site-editing' ),
+					'item_scheduled'           => __( 'Template scheduled.', 'full-site-editing' ),
+					'item_updated'             => __( 'Template updated.', 'full-site-editing' ),
+				),
+				'menu_icon'             => 'dashicons-layout',
+				'public'                => false,
+				'show_ui'               => true,
+				'show_in_menu'          => true,
+				'rewrite'               => false,
+				'show_in_rest'          => true,
+				'rest_base'             => 'templates',
+				'rest_controller_class' => 'A8C_REST_Templates_Controller',
+				'capability_type'       => 'template',
+				'capabilities'          => array(
+					// You need to be able to edit posts, in order to read templates in their raw form.
+					'read'                   => 'edit_posts',
+					// You need to be able to customize, in order to create templates.
+					'create_posts'           => 'edit_theme_options',
+					'edit_posts'             => 'edit_theme_options',
+					'delete_posts'           => 'edit_theme_options',
+					'edit_published_posts'   => 'edit_theme_options',
+					'delete_published_posts' => 'edit_theme_options',
+					'edit_others_posts'      => 'edit_theme_options',
+					'delete_others_posts'    => 'edit_theme_options',
+					'publish_posts'          => 'edit_theme_options',
+				),
+				'map_meta_cap'          => true,
+				'supports'              => array(
+					'title',
+					'editor',
+				),
+			)
+		);
+
+		register_post_type(
+			'wp_template_part',
+			array(
+				'labels'                => array(
+					'name'                     => _x( 'Template Parts', 'post type general name', 'full-site-editing' ),
+					'singular_name'            => _x( 'Template Part', 'post type singular name', 'full-site-editing' ),
+					'menu_name'                => _x( 'Template Parts', 'admin menu', 'full-site-editing' ),
+					'name_admin_bar'           => _x( 'Template Part', 'add new on admin bar', 'full-site-editing' ),
+					'add_new'                  => _x( 'Add New', 'Template Part', 'full-site-editing' ),
+					'add_new_item'             => __( 'Add New Template Part', 'full-site-editing' ),
+					'new_item'                 => __( 'New Template Part', 'full-site-editing' ),
+					'edit_item'                => __( 'Edit Template Part', 'full-site-editing' ),
+					'view_item'                => __( 'View Template Part', 'full-site-editing' ),
+					'all_items'                => __( 'All Template Parts', 'full-site-editing' ),
+					'search_items'             => __( 'Search Template Parts', 'full-site-editing' ),
+					'not_found'                => __( 'No template parts found.', 'full-site-editing' ),
+					'not_found_in_trash'       => __( 'No template parts found in Trash.', 'full-site-editing' ),
+					'filter_items_list'        => __( 'Filter template parts list', 'full-site-editing' ),
+					'items_list_navigation'    => __( 'Template parts list navigation', 'full-site-editing' ),
+					'items_list'               => __( 'Template parts list', 'full-site-editing' ),
+					'item_published'           => __( 'Template part published.', 'full-site-editing' ),
+					'item_published_privately' => __( 'Template part published privately.', 'full-site-editing' ),
+					'item_reverted_to_draft'   => __( 'Template part reverted to draft.', 'full-site-editing' ),
+					'item_scheduled'           => __( 'Template part scheduled.', 'full-site-editing' ),
+					'item_updated'             => __( 'Template part updated.', 'full-site-editing' ),
+				),
+				'menu_icon'             => 'dashicons-layout',
+				'public'                => false,
+				'show_ui'               => true,
+				'show_in_menu'          => true,
+				'rewrite'               => false,
+				'show_in_rest'          => true,
+				'rest_base'             => 'template_parts',
+				'rest_controller_class' => 'A8C_REST_Templates_Controller',
+				'capability_type'       => 'template_part',
+				'capabilities'          => array(
+					// You need to be able to edit posts, in order to read templates in their raw form.
+					'read'                   => 'edit_posts',
+					// You need to be able to customize, in order to create templates.
+					'create_posts'           => 'edit_theme_options',
+					'edit_posts'             => 'edit_theme_options',
+					'delete_posts'           => 'edit_theme_options',
+					'edit_published_posts'   => 'edit_theme_options',
+					'delete_published_posts' => 'edit_theme_options',
+					'edit_others_posts'      => 'edit_theme_options',
+					'delete_others_posts'    => 'edit_theme_options',
+					'publish_posts'          => 'edit_theme_options',
+				),
+				'map_meta_cap'          => true,
+				'supports'              => array(
+					'title',
+					'editor',
+				),
+			)
+		);
+
+		register_taxonomy(
+			'wp_template_type',
+			'wp_template',
+			array(
+				'labels'             => array(
+					'name'              => _x( 'Template Types', 'taxonomy general name', 'full-site-editing' ),
+					'singular_name'     => _x( 'Template Type', 'taxonomy singular name', 'full-site-editing' ),
+					'menu_name'         => _x( 'Template Types', 'admin menu', 'full-site-editing' ),
+					'all_items'         => __( 'All Template Types', 'full-site-editing' ),
+					'edit_item'         => __( 'Edit Template Type', 'full-site-editing' ),
+					'view_item'         => __( 'View Template Type', 'full-site-editing' ),
+					'update_item'       => __( 'Update Template Type', 'full-site-editing' ),
+					'add_new_item'      => __( 'Add New Template Type', 'full-site-editing' ),
+					'new_item_name'     => __( 'New Template Type', 'full-site-editing' ),
+					'parent_item'       => __( 'Parent Template Type', 'full-site-editing' ),
+					'parent_item_colon' => __( 'Parent Template Type:', 'full-site-editing' ),
+					'search_items'      => __( 'Search Template Types', 'full-site-editing' ),
+					'not_found'         => __( 'No template types found.', 'full-site-editing' ),
+					'back_to_items'     => __( 'Back to template types', 'full-site-editing' ),
+				),
+				'public'             => false,
+				'publicly_queryable' => true,
+				'show_ui'            => true,
+				'show_in_menu'       => false,
+				'show_in_nav_menu'   => false,
+				'show_in_rest'       => true,
+				'rest_base'          => 'template_types',
+				'show_tagcloud'      => false,
+				'show_admin_column'  => true,
+				'hierarchical'       => true,
+				'rewrite'            => false,
+				'capabilities'       => array(
+					'manage_terms' => 'edit_theme_options',
+					'edit_terms'   => 'edit_theme_options',
+					'delete_terms' => 'edit_theme_options',
+					'assign_terms' => 'edit_theme_options',
+				),
+			)
+		);
+
+		register_taxonomy(
+			'wp_template_part_type',
+			'wp_template_part',
+			array(
+				'labels'             => array(
+					'name'              => _x( 'Template Part Types', 'taxonomy general name', 'full-site-editing' ),
+					'singular_name'     => _x( 'Template Part Type', 'taxonomy singular name', 'full-site-editing' ),
+					'menu_name'         => _x( 'Template Part Types', 'admin menu', 'full-site-editing' ),
+					'all_items'         => __( 'All Template Part Types', 'full-site-editing' ),
+					'edit_item'         => __( 'Edit Template Part Type', 'full-site-editing' ),
+					'view_item'         => __( 'View Template Part Type', 'full-site-editing' ),
+					'update_item'       => __( 'Update Template Part Type', 'full-site-editing' ),
+					'add_new_item'      => __( 'Add New Template Part Type', 'full-site-editing' ),
+					'new_item_name'     => __( 'New Template Part Type', 'full-site-editing' ),
+					'parent_item'       => __( 'Parent Template Part Type', 'full-site-editing' ),
+					'parent_item_colon' => __( 'Parent Template Part Type:', 'full-site-editing' ),
+					'search_items'      => __( 'Search Template Part Types', 'full-site-editing' ),
+					'not_found'         => __( 'No template part types found.', 'full-site-editing' ),
+					'back_to_items'     => __( 'Back to template part types', 'full-site-editing' ),
+				),
+				'public'             => false,
+				'publicly_queryable' => true,
+				'show_ui'            => true,
+				'show_in_menu'       => false,
+				'show_in_nav_menu'   => false,
+				'show_in_rest'       => true,
+				'rest_base'          => 'template_part_types',
+				'show_tagcloud'      => false,
+				'show_admin_column'  => true,
+				'hierarchical'       => true,
+				'rewrite'            => false,
+				'capabilities'       => array(
+					'manage_terms' => 'edit_theme_options',
+					'edit_terms'   => 'edit_theme_options',
+					'delete_terms' => 'edit_theme_options',
+					'assign_terms' => 'edit_theme_options',
+				),
+			)
+		);
+	}
+}

+ 25 - 5
professional-business/print.css

@@ -1,3 +1,4 @@
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 /*
 Theme Name: Professional Business
 
@@ -17,13 +18,16 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   /* Margins */
   @page {
     margin: 2cm;
-  }
+}
+
   .entry {
     margin-top: 1em;
   }
+
   .entry .entry-header, .site-footer .site-info {
     margin: 0;
   }
+
   /* Fonts */
   body {
     font: 13pt Georgia, "Times New Roman", Times, serif;
@@ -31,9 +35,11 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     background: #fff !important;
     color: #000;
   }
+
   h1 {
     font-size: 24pt;
   }
+
   h2,
   h3,
   h4,
@@ -45,13 +51,16 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     font-size: 14pt;
     margin-top: 25px;
   }
+
   /* Page breaks */
   a {
     page-break-inside: avoid;
   }
+
   blockquote {
     page-break-inside: avoid;
   }
+
   h1,
   h2,
   h3,
@@ -61,16 +70,20 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     page-break-after: avoid;
     page-break-inside: avoid;
   }
+
   img {
     page-break-inside: avoid;
     page-break-after: avoid;
   }
+
   table, pre {
     page-break-inside: avoid;
   }
+
   ul, ol, dl {
     page-break-before: avoid;
   }
+
   /* Links */
   a:link, a:visited, a {
     background: transparent;
@@ -78,21 +91,27 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     text-decoration: underline;
     text-align: left;
   }
+
   a {
     page-break-inside: avoid;
   }
+
   a[href^=http]:after {
     content: " < " attr(href) "> ";
   }
+
   a:after > img {
     content: "";
   }
+
   article a[href^="#"]:after {
     content: "";
   }
+
   a:not(:local-link):after {
     content: " < " attr(href) "> ";
   }
+
   /* Visibility */
   .main-navigation,
   .site-title + .main-navigation,
@@ -108,11 +127,13 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   .comment .comment-metadata .edit-link {
     display: none;
   }
+
   .entry .entry-content .wp-block-button .wp-block-button__link,
   .entry .entry-content .button {
     color: #000;
     background: none;
   }
+
   /* Site Header (With Featured Image) */
   .site-header.featured-image {
     min-height: 0;
@@ -129,8 +150,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   .site-header.featured-image .main-navigation li,
   .site-header.featured-image .social-navigation li,
   .site-header.featured-image .entry-meta,
-  .site-header.featured-image .entry-title,
-  .site-header.featured-image#masthead .site-title a {
+  .site-header.featured-image .entry-title, .site-header.featured-image#masthead .site-title a {
     color: #000;
     text-shadow: none;
   }
@@ -143,13 +163,13 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     position: relative;
     height: initial;
     width: initial;
-    -o-object-fit: none;
-       object-fit: none;
+    object-fit: none;
     min-width: 0;
     min-height: 0;
     max-width: 100%;
     margin-top: 1rem;
   }
+
   /* Remove image filters from featured image */
   .image-filters-enabled *:after {
     display: none !important;

+ 25 - 0
professional-business/sass/js/block-editor-filters.js

@@ -0,0 +1,25 @@
+/**
+ * Block Editor filters
+ *
+ * Filters the default block settings for various blocks.
+ */
+
+function defaultPropModifications( settings, name ) {
+    if ( name === 'core/media-text' ) {
+        return lodash.assign( {}, settings, {
+            attributes: lodash.assign( {}, settings.attributes, {
+                align: lodash.assign( {}, settings.attributes.align, {
+                    default: 'wide',
+                } ),
+            } ),
+        } );
+    }
+
+    return settings;
+}
+
+wp.hooks.addFilter(
+    'blocks.registerBlockType',
+    'professional2019/block-modifications',
+    defaultPropModifications
+);

+ 1 - 0
professional-business/style-editor-customizer.css

@@ -1,3 +1,4 @@
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 /*!
 Professional Business Customizer Styles & Non-latin Font Fallbacks
 

+ 2 - 0
professional-business/style-jetpack.css

@@ -1,3 +1,5 @@
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 /* Reset font-family styles for Jetpack
  *
  * See: https://github.com/Automattic/jetpack/blob/master/modules/theme-tools/compat/twentynineteen.css

+ 2 - 1
rebalance/inc/style-wpcom.css

@@ -109,7 +109,8 @@ div#jp-relatedposts h3.jp-relatedposts-headline em:before {
 	margin-bottom: 0 !important;
 }
 
-.highlander-enabled #respond .comment-subscription-form label {
+.highlander-enabled #respond .comment-subscription-form label,
+.highlander-enabled #respond .post-subscription-form label {
 	padding-left: 10px;
 	right: inherit;
 	text-align: left;

+ 3 - 2
rebalance/style.css

@@ -3199,12 +3199,13 @@ object {
 	font-weight: 400;
 }
 
-#respond p.comment-subscription-form label {
+#respond p.comment-subscription-form label,
+#respond p.post-subscription-form label {
 	font-weight: 400;
 	padding-left: 10px;
 	right: inherit;
 	text-align: left;
-	width: 50%;
+	width: 75%;
 }
 
 .comment-respond p input,

+ 0 - 32
sophisticated-business/functions.php

@@ -34,38 +34,6 @@ function sophisticated_business_setup() {
 			'header-text' => array( 'site-title' ),
 		)
 	);
-
-	// Editor color palette.
-	add_theme_support(
-		'editor-color-palette',
-		array(
-			array(
-				'name'  => __( 'Primary', 'sophisticated-business' ),
-				'slug'  => 'primary',
-				'color' => '#caab57', // $color__link
-			),
-			array(
-				'name'  => __( 'Secondary', 'sophisticated-business' ),
-				'slug'  => 'secondary',
-				'color' => '#b59439', // $color__border-link-hover
-			),
-			array(
-				'name'  => __( 'Dark Gray', 'sophisticated-business' ),
-				'slug'  => 'dark-gray',
-				'color' => '#1c1c1c', // $color__text-screen
-			),
-			array(
-				'name'  => __( 'Light Gray', 'sophisticated-business' ),
-				'slug'  => 'light-gray',
-				'color' => '#cccccc', // $color__text-light
-			),
-			array(
-				'name'  => __( 'White', 'sophisticated-business' ),
-				'slug'  => 'white',
-				'color' => '#ffffff',
-			),
-		)
-	);
 }
 endif; // sophisticated_business_setup
 add_action( 'after_setup_theme', 'sophisticated_business_setup', 30 );

+ 25 - 5
sophisticated-business/print.css

@@ -1,3 +1,4 @@
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 /*
 Theme Name: Sophisticated Business
 
@@ -17,13 +18,16 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   /* Margins */
   @page {
     margin: 2cm;
-  }
+}
+
   .entry {
     margin-top: 1em;
   }
+
   .entry .entry-header, .site-footer .site-info {
     margin: 0;
   }
+
   /* Fonts */
   body {
     font: 13pt Georgia, "Times New Roman", Times, serif;
@@ -31,9 +35,11 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     background: #fff !important;
     color: #000;
   }
+
   h1 {
     font-size: 24pt;
   }
+
   h2,
   h3,
   h4,
@@ -45,13 +51,16 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     font-size: 14pt;
     margin-top: 25px;
   }
+
   /* Page breaks */
   a {
     page-break-inside: avoid;
   }
+
   blockquote {
     page-break-inside: avoid;
   }
+
   h1,
   h2,
   h3,
@@ -61,16 +70,20 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     page-break-after: avoid;
     page-break-inside: avoid;
   }
+
   img {
     page-break-inside: avoid;
     page-break-after: avoid;
   }
+
   table, pre {
     page-break-inside: avoid;
   }
+
   ul, ol, dl {
     page-break-before: avoid;
   }
+
   /* Links */
   a:link, a:visited, a {
     background: transparent;
@@ -78,21 +91,27 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     text-decoration: underline;
     text-align: left;
   }
+
   a {
     page-break-inside: avoid;
   }
+
   a[href^=http]:after {
     content: " < " attr(href) "> ";
   }
+
   a:after > img {
     content: "";
   }
+
   article a[href^="#"]:after {
     content: "";
   }
+
   a:not(:local-link):after {
     content: " < " attr(href) "> ";
   }
+
   /* Visibility */
   .main-navigation,
   .site-title + .main-navigation,
@@ -108,11 +127,13 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   .comment .comment-metadata .edit-link {
     display: none;
   }
+
   .entry .entry-content .wp-block-button .wp-block-button__link,
   .entry .entry-content .button {
     color: #000;
     background: none;
   }
+
   /* Site Header (With Featured Image) */
   .site-header.featured-image {
     min-height: 0;
@@ -129,8 +150,7 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
   .site-header.featured-image .main-navigation li,
   .site-header.featured-image .social-navigation li,
   .site-header.featured-image .entry-meta,
-  .site-header.featured-image .entry-title,
-  .site-header.featured-image#masthead .site-title a {
+  .site-header.featured-image .entry-title, .site-header.featured-image#masthead .site-title a {
     color: #000;
     text-shadow: none;
   }
@@ -143,13 +163,13 @@ Andreas Hecht in https://www.jotform.com/blog/css-perfect-print-stylesheet-98272
     position: relative;
     height: initial;
     width: initial;
-    -o-object-fit: none;
-       object-fit: none;
+    object-fit: none;
     min-width: 0;
     min-height: 0;
     max-width: 100%;
     margin-top: 1rem;
   }
+
   /* Remove image filters from featured image */
   .image-filters-enabled *:after {
     display: none !important;

+ 2 - 1
sophisticated-business/style-editor-customizer.css

@@ -1,3 +1,4 @@
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 /*!
 Sophisticated Business Customizer Styles & Non-latin Font Fallbacks
 
@@ -106,7 +107,7 @@ html[lang="vi"] .wp-block * {
 .is-dark-theme .editor-block-list__layout .editor-block-list__layout .editor-block-mover__control:hover {
   background: #fff;
   color: #191e23;
-  box-shadow: inset 0 0 0 1px #e2e4e7, inset 0 0 0 2px #fff, 0 1px 1px rgba(25, 30, 35, 0.2);
+  box-shadow: inset 0 0 0 1px #e2e4e7, inset 0 0 0 2px white, 0 1px 1px rgba(25, 30, 35, 0.2);
 }
 
 .is-dark-theme .editor-block-list__layout .editor-block-list__layout .editor-block-mover__control[aria-disabled=true] {

+ 2 - 0
sophisticated-business/style-jetpack.css

@@ -1,3 +1,5 @@
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
+/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 /* Reset font-family styles for Jetpack
  *
  * See: https://github.com/Automattic/jetpack/blob/master/modules/theme-tools/compat/twentynineteen.css

+ 5 - 0
textbook/assets/js/functions.js

@@ -53,6 +53,11 @@
 			nextText: '<span class="screen-reader-text">Next</span><svg version="1.1" id="next-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 16 16" xml:space="preserve"><polygon points="8,12.7 1.3,6 2.7,4.6 8,9.9 13.3,4.6 14.7,6 "/></svg>'
 		});
 
+		// Fade in body
+		wrapper.animate({
+			opacity: 1,
+		}, 30);
+
 		// Triggers resize event to make sure video widgets in the footer maintain the correct aspect ratio
 		setTimeout( function(){
 			if ( typeof( Event ) === 'function' ) {