Browse Source

Merge branch 'master' into fix/issue753

Allan Cole 6 years ago
parent
commit
530217d6f8

+ 11 - 24
calm-business/sass/blocks/_blocks.scss

@@ -507,28 +507,6 @@
 			display: block;
 		}
 
-		.aligncenter {
-
-			@include postContentMaxWidth();
-
-			@include media(tablet) {
-				margin: 0 auto;
-				width: $size__site-tablet-content;
-
-				img {
-					margin: 0 auto;
-				}
-			}
-
-			@include media(desktop) {
-				width: $size__site-desktop-content;
-
-				img {
-					margin: 0 auto;
-				}
-			}
-		}
-
 		&.alignfull img {
 			width: 100vw;
 			max-width: calc( 100% + (2 * #{$size__spacing-unit}));
@@ -642,7 +620,7 @@
 		}
 		border: 0;
     	&:after {
-			background-color: $color__text-main-alt;
+			background-color: $color__background-hr;
 			content: '';
 			display: block;
 			height: 2px;
@@ -650,8 +628,13 @@
 		}
 
 		&.is-style-wide {
+			background-color: $color__background-hr;
 			max-width: 100%;
 			@include postContentMaxWidth();
+
+			&:after {
+				display: none;
+			}
 		}
 
 		&.is-style-dots {
@@ -663,11 +646,15 @@
 			text-align: center;
 
 			&:before {
-				color: $color__text-light;
+				color: $color__background-hr;
 				font-size: $font__size-lg;
 				letter-spacing: $font__size-sm;
 				padding-left: $font__size-sm;
 			}
+
+			&:after {
+				display: none;
+			}
 		}
 
 		/* Remove duplicate rule-line when a separator

+ 1 - 1
calm-business/sass/variables-site/_colors.scss

@@ -5,7 +5,7 @@ $color__background-body-dark: #6C6C74;
 $color__background-body-light: #fff;
 $color__background-input: #fff;
 $color__background-screen: #f1f1f1;
-$color__background-hr: #ccc;
+$color__background-hr: #2E2E2E;
 $color__background-button: #8D6708;
 $color__background-button-hover: #111;
 $color__background-pre: #eee;

File diff suppressed because it is too large
+ 347 - 529
calm-business/style-editor.css


+ 11 - 2
calm-business/style-editor.scss

@@ -593,7 +593,7 @@ hr {
 	max-width: calc(6*(100vw/12) - 28px) !important;
 	border: 0;
 	&:after {
-		background-color: $color__text-main-alt;
+		background-color: $color__background-hr;
 		content: '';
 		display: block;
 		height: 2px;
@@ -601,7 +601,12 @@ hr {
 	}
 
 	&.is-style-wide {
+		background-color: $color__background-hr;
 		@include postContentMaxWidth();
+
+		&:after {
+			display: none;
+		}
 	}
 
 	&.is-style-dots {
@@ -612,11 +617,15 @@ hr {
 		text-align: center;
 
 		&:before {
-			color: $color__text-light;
+			color: $color__background-hr;
 			font-size: $font__size-lg;
 			letter-spacing: $font__size-sm;
 			padding-left: $font__size-sm;
 		}
+
+		&:after {
+			display: none;
+		}
 	}
 
 	/* Remove duplicate rule-line when a separator

+ 25 - 46
calm-business/style-jetpack.css

@@ -7,24 +7,17 @@
 /* Infinite scroll */
 .site-main #infinite-handle span button {
   font-family: "Poppins", sans-serif;
-  background: #8D6708;
-}
-
-.site-main #infinite-handle span button:hover {
-  background: #111;
-  cursor: pointer;
-}
-
-.site-main #infinite-handle span button:visited {
-  color: #FAF8F5;
-  text-decoration: none;
-}
-
-.site-main #infinite-handle span button:focus {
-  background: #111;
-  outline: thin dotted;
-  outline-offset: -4px;
-}
+  background: #8D6708; }
+  .site-main #infinite-handle span button:hover {
+    background: #111;
+    cursor: pointer; }
+  .site-main #infinite-handle span button:visited {
+    color: #FAF8F5;
+    text-decoration: none; }
+  .site-main #infinite-handle span button:focus {
+    background: #111;
+    outline: thin dotted;
+    outline-offset: -4px; }
 
 /**
   * Responsive Videos
@@ -36,30 +29,24 @@
 .entry h3.sd-title {
   font-family: "Poppins", sans-serif;
   font-weight: 600;
-  letter-spacing: normal;
-}
+  letter-spacing: normal; }
 
 /**
   * Related Posts
   */
 .entry #jp-relatedposts h3.jp-relatedposts-headline {
   font-family: "Poppins", sans-serif;
-  font-weight: 600;
-}
-
-.entry #jp-relatedposts h3.jp-relatedposts-headline em {
-  font-weight: inherit;
-}
+  font-weight: 600; }
+  .entry #jp-relatedposts h3.jp-relatedposts-headline em {
+    font-weight: inherit; }
 
 .entry #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
 .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
-  font-family: "Poppins", sans-serif;
-}
+  font-family: "Poppins", sans-serif; }
 
 .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,
 .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date {
-  font-family: "Poppins", sans-serif;
-}
+  font-family: "Poppins", sans-serif; }
 
 /**
   * Stats
@@ -72,20 +59,17 @@
   */
 /* Authors Widget */
 .widget_authors > ul > li > a {
-  font-family: "Poppins", sans-serif;
-}
+  font-family: "Poppins", sans-serif; }
 
 /* Display WordPress Posts */
 /* GoodReads */
 /* EU cookie law */
 .widget_eu_cookie_law_widget #eu-cookie-law {
-  font-family: "Poppins", sans-serif;
-}
+  font-family: "Poppins", sans-serif; }
 
 /* RSS Links */
 .widget_rss_links li {
-  font-family: "Poppins", sans-serif;
-}
+  font-family: "Poppins", sans-serif; }
 
 /**
   * Content Options
@@ -95,24 +79,19 @@
  */
 /* Mailchimp Block - Temp Fix */
 .wp-block-jetpack-mailchimp input[type="email"] {
-  width: 100%;
-}
+  width: 100%; }
 
 .wp-block-jetpack-mailchimp #wp-block-jetpack-mailchimp_consent-text {
-  font-size: 0.71111em;
-}
+  font-size: 0.7111111111em; }
 
 /* Business Hours - Temp Fix */
 .jetpack-business-hours dt,
 .jetpack-business-hours dd {
-  float: left;
-}
+  float: left; }
 
 .jetpack-business-hours dt {
   clear: both;
-  margin-right: 0.5rem;
-}
+  margin-right: 0.5rem; }
 
 .jetpack-business-hours dd {
-  margin: 0;
-}
+  margin: 0; }

+ 0 - 31
calm-business/style-rtl.css

@@ -3970,37 +3970,6 @@ body.page .main-navigation {
   display: block;
 }
 
-@media only screen and (min-width: 768px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    max-width: calc(8 * (100vw / 12) - 28px);
-  }
-}
-
-@media only screen and (min-width: 1168px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    max-width: calc(6 * (100vw / 12) - 28px);
-  }
-}
-
-@media only screen and (min-width: 768px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    margin: 0 auto;
-    width: calc(8 * (100vw / 12) - 28px);
-  }
-  .entry .entry-content .wp-block-image .aligncenter img {
-    margin: 0 auto;
-  }
-}
-
-@media only screen and (min-width: 1168px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    width: calc(6 * (100vw / 12) - 28px);
-  }
-  .entry .entry-content .wp-block-image .aligncenter img {
-    margin: 0 auto;
-  }
-}
-
 .entry .entry-content .wp-block-image.alignfull img {
   width: 100vw;
   max-width: calc( 100% + (2 * 1rem));

File diff suppressed because it is too large
+ 196 - 336
calm-business/style.css


+ 5 - 0
elegant-business/sass/blocks/_blocks.scss

@@ -819,6 +819,11 @@
 			.wp-block-column {
 				margin-left: #{0.5 * $size__spacing-unit};
 				margin-right: #{0.5 * $size__spacing-unit};
+      }
+    }
+    
+    @include media(tabletalt) {
+			.wp-block-column > * {
 
 				&:first-child {
 					margin-left: 0;

+ 6 - 0
elegant-business/sass/mixins/_utilities.scss

@@ -12,6 +12,12 @@
 		}
 	}
 
+	@if tabletalt == $res {
+		@media only screen and (min-width: $tablet_alt_width) {
+			@content;
+		}
+	}
+
 	@if desktop == $res {
 		@media only screen and (min-width: $desktop_width) {
 			@content;

+ 1 - 0
elegant-business/sass/variables-site/_structure.scss

@@ -12,6 +12,7 @@ $size__site-desktop-content: calc(6 * (100vw / 12) - 28px);
 
 $mobile_width: 600px;
 $tablet_width: 768px;
+$tablet_alt_width: 782px;
 $desktop_width: 1168px;
 $wide_width: 1379px;
 

+ 13 - 26
elegant-business/style-editor-customizer.css

@@ -19,8 +19,7 @@ html[lang="ckb"] .wp-block *,
 html[lang="fa-IR"] .wp-block *,
 html[lang="haz"] .wp-block *,
 html[lang="ps"] .wp-block * {
-  font-family: Tahoma, Arial, sans-serif !important;
-}
+  font-family: Tahoma, Arial, sans-serif !important; }
 
 /* Cyrillic */
 html[lang="be"] .wp-block *,
@@ -33,63 +32,51 @@ html[lang="sah"] .wp-block *,
 html[lang="sr-RS"] .wp-block *,
 html[lang="tt-RU"] .wp-block *,
 html[lang="uk"] .wp-block * {
-  font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif !important;
-}
+  font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif !important; }
 
 /* Chinese (Hong Kong) */
 html[lang="zh-HK"] .wp-block * {
-  font-family: -apple-system, BlinkMacSystemFont, 'PingFang HK', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important;
-}
+  font-family: -apple-system, BlinkMacSystemFont, 'PingFang HK', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important; }
 
 /* Chinese (Taiwan) */
 html[lang="zh-TW"] .wp-block * {
-  font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important;
-}
+  font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important; }
 
 /* Chinese (China) */
 html[lang="zh-CN"] .wp-block * {
-  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important;
-}
+  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important; }
 
 /* Devanagari */
 html[lang="bn-BD"] .wp-block *,
 html[lang="hi-IN"] .wp-block *,
 html[lang="mr"] .wp-block *,
 html[lang="ne-NP"] .wp-block * {
-  font-family: Arial, sans-serif !important;
-}
+  font-family: Arial, sans-serif !important; }
 
 /* Greek */
 html[lang="el"] .wp-block * {
-  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
-}
+  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important; }
 
 /* Gujarati */
 html[lang="gu"] .wp-block * {
-  font-family: Arial, sans-serif !important;
-}
+  font-family: Arial, sans-serif !important; }
 
 /* Hebrew */
 html[lang="he-IL"] .wp-block * {
-  font-family: 'Arial Hebrew', Arial, sans-serif !important;
-}
+  font-family: 'Arial Hebrew', Arial, sans-serif !important; }
 
 /* Japanese */
 html[lang="ja"] .wp-block * {
-  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", Meiryo, "Helvetica Neue", sans-serif !important;
-}
+  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", Meiryo, "Helvetica Neue", sans-serif !important; }
 
 /* Korean */
 html[lang="ko-KR"] .wp-block * {
-  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Nanum Gothic', Dotum, sans-serif !important;
-}
+  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Nanum Gothic', Dotum, sans-serif !important; }
 
 /* Thai */
 html[lang="th"] .wp-block * {
-  font-family: 'Sukhumvit Set', 'Helvetica Neue', helvetica, arial, sans-serif !important;
-}
+  font-family: 'Sukhumvit Set', 'Helvetica Neue', helvetica, arial, sans-serif !important; }
 
 /* Vietnamese */
 html[lang="vi"] .wp-block * {
-  font-family: 'Libre Franklin', sans-serif !important;
-}
+  font-family: 'Libre Franklin', sans-serif !important; }

File diff suppressed because it is too large
+ 287 - 461
elegant-business/style-editor.css


+ 18 - 35
elegant-business/style-jetpack.css

@@ -12,8 +12,7 @@
 .site-main #infinite-handle span button:hover,
 .site-main #infinite-handle span button:focus {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
-  background: #c43d80;
-}
+  background: #c43d80; }
 
 .site-main #infinite-handle span button,
 .site-main #infinite-handle span button:hover,
@@ -21,44 +20,37 @@
 div.sharedaddy > *,
 #content div.sharedaddy > *,
 #main div.sharedaddy > * {
-  margin-bottom: 1rem;
-}
+  margin-bottom: 1rem; }
 
 .entry div.sharedaddy h3.sd-title,
 .entry h3.sd-title {
   font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-  letter-spacing: normal;
-}
+  letter-spacing: normal; }
 
 .entry div.sharedaddy h3.sd-title:before,
 .entry h3.sd-title:before,
 .entry #jp-relatedposts h3.jp-relatedposts-headline:before {
-  display: none;
-}
+  display: none; }
 
 /**
  * Related Posts
  */
 .entry #jp-relatedposts h3.jp-relatedposts-headline {
   font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-  letter-spacing: normal;
-}
+  letter-spacing: normal; }
 
 .entry #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
 .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
   font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-  letter-spacing: normal;
-}
+  letter-spacing: normal; }
 
 .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,
 .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date {
-  font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-}
+  font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif; }
 
 div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
-  font-size: 0.88889em;
-  font-weight: 700;
-}
+  font-size: 0.8888888889em;
+  font-weight: 700; }
 
 /**
  * Stats
@@ -71,20 +63,17 @@ div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedp
  */
 /* Authors Widget */
 .widget_authors > ul > li > a {
-  font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-}
+  font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif; }
 
 /* Display WordPress Posts */
 /* GoodReads */
 /* EU cookie law */
 .widget_eu_cookie_law_widget #eu-cookie-law {
-  font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-}
+  font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif; }
 
 /* RSS Links */
 .widget_rss_links li {
-  font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-}
+  font-family: "Source Serif Pro", "Baskerville Old Face", Garamond, "Times New Roman", serif; }
 
 /**
  * Content Options
@@ -94,29 +83,23 @@ div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedp
  */
 /* Content Form */
 .contact-form label span {
-  color: #767676;
-}
+  color: #767676; }
 
 /* Mailchimp Block - Temp Fix */
 .wp-block-jetpack-mailchimp input[type="email"] {
-  width: 100%;
-}
+  width: 100%; }
 
 .wp-block-jetpack-mailchimp #wp-block-jetpack-mailchimp_consent-text {
-  font-size: 0.71111em;
-}
+  font-size: 0.7111111111em; }
 
 /* Business Hours - Temp Fix */
 .jetpack-business-hours dt,
 .jetpack-business-hours dd {
-  float: left;
-}
+  float: left; }
 
 .jetpack-business-hours dt {
   clear: both;
-  margin-right: 0.5rem;
-}
+  margin-right: 0.5rem; }
 
 .jetpack-business-hours dd {
-  margin: 0;
-}
+  margin: 0; }

File diff suppressed because it is too large
+ 1068 - 1864
elegant-business/style.css


+ 0 - 22
friendly-business/sass/blocks/_blocks.scss

@@ -497,28 +497,6 @@
 			display: block;
 		}
 
-		.aligncenter {
-
-			@include postContentMaxWidth();
-
-			@include media(tablet) {
-				margin: 0;
-				width: $size__site-tablet-content;
-
-				img {
-					margin: 0 auto;
-				}
-			}
-
-			@include media(desktop) {
-				width: $size__site-desktop-content;
-
-				img {
-					margin: 0 auto;
-				}
-			}
-		}
-
 		&.alignfull img {
 			width: 100vw;
 			max-width: calc( 100% + (2 * #{$size__spacing-unit}));

+ 0 - 31
friendly-business/style.css

@@ -3815,37 +3815,6 @@ body.page .main-navigation {
   display: block;
 }
 
-@media only screen and (min-width: 768px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    max-width: calc(8 * (100vw / 12) - 28px);
-  }
-}
-
-@media only screen and (min-width: 1168px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    max-width: calc(6 * (100vw / 12) - 28px);
-  }
-}
-
-@media only screen and (min-width: 768px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    margin: 0;
-    width: calc(8 * (100vw / 12) - 28px);
-  }
-  .entry .entry-content .wp-block-image .aligncenter img {
-    margin: 0 auto;
-  }
-}
-
-@media only screen and (min-width: 1168px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    width: calc(6 * (100vw / 12) - 28px);
-  }
-  .entry .entry-content .wp-block-image .aligncenter img {
-    margin: 0 auto;
-  }
-}
-
 .entry .entry-content .wp-block-image.alignfull img {
   width: 100vw;
   max-width: calc( 100% + (2 * 1rem));

+ 0 - 26
modern-business/sass/blocks/_blocks.scss

@@ -637,32 +637,6 @@
 			display: block;
 		}
 
-		@include media(tablet) {
-			max-width: calc(6 * (100vw / 12) - 28px);
-		}
-
-		.aligncenter {
-
-			@include postContentMaxWidth();
-
-			@include media(tablet) {
-				margin: 0;
-				width: $size__site-tablet-content;
-
-				img {
-					margin: 0 auto;
-				}
-			}
-
-			@include media(desktop) {
-				width: $size__site-desktop-content;
-
-				img {
-					margin: 0 auto;
-				}
-			}
-		}
-
 		&.alignfull img {
 			width: 100vw;
 			max-width: calc( 100% + (2 * #{$size__spacing-unit}));

+ 0 - 31
modern-business/style-rtl.css

@@ -4010,37 +4010,6 @@ body.page .main-navigation {
   }
 }
 
-@media only screen and (min-width: 768px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    max-width: calc(8 * (100vw / 12) - 28px);
-  }
-}
-
-@media only screen and (min-width: 1168px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    max-width: calc(6 * (100vw / 12) - 28px);
-  }
-}
-
-@media only screen and (min-width: 768px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    margin: 0;
-    width: calc(8 * (100vw / 12) - 28px);
-  }
-  .entry .entry-content .wp-block-image .aligncenter img {
-    margin: 0 auto;
-  }
-}
-
-@media only screen and (min-width: 1168px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    width: calc(6 * (100vw / 12) - 28px);
-  }
-  .entry .entry-content .wp-block-image .aligncenter img {
-    margin: 0 auto;
-  }
-}
-
 .entry .entry-content .wp-block-image.alignfull img {
   width: 100vw;
   max-width: calc( 100% + (2 * 1rem));

+ 0 - 37
modern-business/style.css

@@ -4016,43 +4016,6 @@ body.page .main-navigation {
   display: block;
 }
 
-@media only screen and (min-width: 768px) {
-  .entry .entry-content .wp-block-image {
-    max-width: calc(6 * (100vw / 12) - 28px);
-  }
-}
-
-@media only screen and (min-width: 768px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    max-width: calc(8 * (100vw / 12) - 28px);
-  }
-}
-
-@media only screen and (min-width: 1168px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    max-width: calc(6 * (100vw / 12) - 28px);
-  }
-}
-
-@media only screen and (min-width: 768px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    margin: 0;
-    width: calc(8 * (100vw / 12) - 28px);
-  }
-  .entry .entry-content .wp-block-image .aligncenter img {
-    margin: 0 auto;
-  }
-}
-
-@media only screen and (min-width: 1168px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    width: calc(6 * (100vw / 12) - 28px);
-  }
-  .entry .entry-content .wp-block-image .aligncenter img {
-    margin: 0 auto;
-  }
-}
-
 .entry .entry-content .wp-block-image.alignfull img {
   width: 100vw;
   max-width: calc( 100% + (2 * 1rem));

+ 4 - 1
professional-business/sass/blocks/_blocks.scss

@@ -819,11 +819,14 @@
 			padding-right: $size__spacing-unit;
 		}
 
-		@include media(tablet) {
+		@include media(tabletalt) {
 
 			.wp-block-column {
 				margin-left: #{0.5 * $size__spacing-unit};
 				margin-right: #{0.5 * $size__spacing-unit};
+      }
+
+      .wp-block-column > * {
 
 				&:first-child {
 					margin-left: 0;

+ 6 - 0
professional-business/sass/mixins/_utilities.scss

@@ -12,6 +12,12 @@
 		}
 	}
 
+	@if tabletalt == $res {
+		@media only screen and (min-width: $tablet_alt_width) {
+			@content;
+		}
+	}
+
 	@if desktop == $res {
 		@media only screen and (min-width: $desktop_width) {
 			@content;

+ 1 - 0
professional-business/sass/variables-site/_structure.scss

@@ -12,6 +12,7 @@ $size__site-desktop-content: calc(6 * (100vw / 12) - 28px);
 
 $mobile_width: 600px;
 $tablet_width: 768px;
+$tablet_alt_width: 782px;
 $desktop_width: 1168px;
 $wide_width: 1379px;
 

+ 13 - 26
professional-business/style-editor-customizer.css

@@ -19,8 +19,7 @@ html[lang="ckb"] .wp-block *,
 html[lang="fa-IR"] .wp-block *,
 html[lang="haz"] .wp-block *,
 html[lang="ps"] .wp-block * {
-  font-family: Tahoma, Arial, sans-serif !important;
-}
+  font-family: Tahoma, Arial, sans-serif !important; }
 
 /* Cyrillic */
 html[lang="be"] .wp-block *,
@@ -33,63 +32,51 @@ html[lang="sah"] .wp-block *,
 html[lang="sr-RS"] .wp-block *,
 html[lang="tt-RU"] .wp-block *,
 html[lang="uk"] .wp-block * {
-  font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif !important;
-}
+  font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif !important; }
 
 /* Chinese (Hong Kong) */
 html[lang="zh-HK"] .wp-block * {
-  font-family: -apple-system, BlinkMacSystemFont, 'PingFang HK', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important;
-}
+  font-family: -apple-system, BlinkMacSystemFont, 'PingFang HK', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important; }
 
 /* Chinese (Taiwan) */
 html[lang="zh-TW"] .wp-block * {
-  font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important;
-}
+  font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important; }
 
 /* Chinese (China) */
 html[lang="zh-CN"] .wp-block * {
-  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important;
-}
+  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', "Microsoft YaHei New", STHeiti Light, sans-serif !important; }
 
 /* Devanagari */
 html[lang="bn-BD"] .wp-block *,
 html[lang="hi-IN"] .wp-block *,
 html[lang="mr"] .wp-block *,
 html[lang="ne-NP"] .wp-block * {
-  font-family: Arial, sans-serif !important;
-}
+  font-family: Arial, sans-serif !important; }
 
 /* Greek */
 html[lang="el"] .wp-block * {
-  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
-}
+  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important; }
 
 /* Gujarati */
 html[lang="gu"] .wp-block * {
-  font-family: Arial, sans-serif !important;
-}
+  font-family: Arial, sans-serif !important; }
 
 /* Hebrew */
 html[lang="he-IL"] .wp-block * {
-  font-family: 'Arial Hebrew', Arial, sans-serif !important;
-}
+  font-family: 'Arial Hebrew', Arial, sans-serif !important; }
 
 /* Japanese */
 html[lang="ja"] .wp-block * {
-  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", Meiryo, "Helvetica Neue", sans-serif !important;
-}
+  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", Meiryo, "Helvetica Neue", sans-serif !important; }
 
 /* Korean */
 html[lang="ko-KR"] .wp-block * {
-  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Nanum Gothic', Dotum, sans-serif !important;
-}
+  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Nanum Gothic', Dotum, sans-serif !important; }
 
 /* Thai */
 html[lang="th"] .wp-block * {
-  font-family: 'Sukhumvit Set', 'Helvetica Neue', helvetica, arial, sans-serif !important;
-}
+  font-family: 'Sukhumvit Set', 'Helvetica Neue', helvetica, arial, sans-serif !important; }
 
 /* Vietnamese */
 html[lang="vi"] .wp-block * {
-  font-family: 'Libre Franklin', sans-serif !important;
-}
+  font-family: 'Libre Franklin', sans-serif !important; }

File diff suppressed because it is too large
+ 295 - 479
professional-business/style-editor.css


+ 13 - 26
professional-business/style-jetpack.css

@@ -8,8 +8,7 @@
 .site-main #infinite-handle span button,
 .site-main #infinite-handle span button:hover,
 .site-main #infinite-handle span button:focus {
-  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-}
+  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif; }
 
 /**
  * Responsive Videos
@@ -19,25 +18,21 @@
  */
 .entry div.sharedaddy h3.sd-title,
 .entry h3.sd-title {
-  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-}
+  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif; }
 
 /**
  * Related Posts
  */
 .entry #jp-relatedposts h3.jp-relatedposts-headline {
-  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-}
+  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif; }
 
 .entry #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title,
 .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
-  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-}
+  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif; }
 
 .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,
 .entry #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date {
-  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-}
+  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif; }
 
 /**
  * Stats
@@ -50,20 +45,17 @@
  */
 /* Authors Widget */
 .widget_authors > ul > li > a {
-  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-}
+  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif; }
 
 /* Display WordPress Posts */
 /* GoodReads */
 /* EU cookie law */
 .widget_eu_cookie_law_widget #eu-cookie-law {
-  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-}
+  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif; }
 
 /* RSS Links */
 .widget_rss_links li {
-  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif;
-}
+  font-family: "Crimson Text", "Baskerville Old Face", Garamond, "Times New Roman", serif; }
 
 /**
  * Content Options
@@ -73,24 +65,19 @@
  */
 /* Mailchimp Block - Temp Fix */
 .wp-block-jetpack-mailchimp input[type="email"] {
-  width: 100%;
-}
+  width: 100%; }
 
 .wp-block-jetpack-mailchimp #wp-block-jetpack-mailchimp_consent-text {
-  font-size: 0.71111em;
-}
+  font-size: 0.7111111111em; }
 
 /* Business Hours - Temp Fix */
 .jetpack-business-hours dt,
 .jetpack-business-hours dd {
-  float: left;
-}
+  float: left; }
 
 .jetpack-business-hours dt {
   clear: both;
-  margin-right: 0.5rem;
-}
+  margin-right: 0.5rem; }
 
 .jetpack-business-hours dd {
-  margin: 0;
-}
+  margin: 0; }

File diff suppressed because it is too large
+ 1463 - 2253
professional-business/style.css


+ 1 - 21
sophisticated-business/sass/blocks/_blocks.scss

@@ -513,32 +513,12 @@
 
 	//! Image
 	.wp-block-image {
+		max-width: 100%;
 
 		img {
 			display: block;
 		}
 
-		.aligncenter {
-
-			@include postContentMaxWidth();
-
-			@include media(tablet) {
-				width: $size__site-tablet-content;
-
-				img {
-					margin: 0 auto;
-				}
-			}
-
-			@include media(desktop) {
-				width: $size__site-desktop-content;
-
-				img {
-					margin: 0 auto;
-				}
-			}
-		}
-
 		&.alignfull img {
 			width: 100vw;
 			max-width: calc( 100% + (2 * #{$size__spacing-unit}));

+ 4 - 0
sophisticated-business/style-rtl.css

@@ -3835,6 +3835,10 @@ body.page .main-navigation {
   }
 }
 
+.entry .entry-content .wp-block-image {
+  max-width: 100%;
+}
+
 .entry .entry-content .wp-block-image img {
   display: block;
 }

+ 4 - 30
sophisticated-business/style.css

@@ -3847,38 +3847,12 @@ body.page .main-navigation {
   }
 }
 
-.entry .entry-content .wp-block-image img {
-  display: block;
-}
-
-@media only screen and (min-width: 768px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    max-width: calc(8 * (100vw / 12) - 28px);
-  }
-}
-
-@media only screen and (min-width: 1168px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    max-width: calc(6 * (100vw / 12) - 28px);
-  }
-}
-
-@media only screen and (min-width: 768px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    width: calc(8 * (100vw / 12) - 28px);
-  }
-  .entry .entry-content .wp-block-image .aligncenter img {
-    margin: 0 auto;
-  }
+.entry .entry-content .wp-block-image {
+  max-width: 100%;
 }
 
-@media only screen and (min-width: 1168px) {
-  .entry .entry-content .wp-block-image .aligncenter {
-    width: calc(6 * (100vw / 12) - 28px);
-  }
-  .entry .entry-content .wp-block-image .aligncenter img {
-    margin: 0 auto;
-  }
+.entry .entry-content .wp-block-image img {
+  display: block;
 }
 
 .entry .entry-content .wp-block-image.alignfull img {

Some files were not shown because too many files changed in this diff