Browse Source

Calm Business: Temp style enhancements for Mailchimp block

Takashi Irie 6 years ago
parent
commit
115c318d7d

+ 5 - 0
calm-business/style-editor.css

@@ -903,3 +903,8 @@ ul.wp-block-archives li ul,
 [data-type="core/media-text"] a {
   color: inherit;
 }
+
+/** === Mailchimp Block - Temp Fix === */
+.wp-block-jetpack-mailchimp p {
+  font-size: 0.71111em;
+}

+ 7 - 0
calm-business/style-editor.scss

@@ -858,3 +858,10 @@ ul.wp-block-archives,
 		color: inherit;
 	}
 }
+
+/** === Mailchimp Block - Temp Fix === */
+.wp-block-jetpack-mailchimp {
+	p {
+		font-size: $font__size-xs;
+	}
+}

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

@@ -90,3 +90,11 @@
 /**
   * Content Options
   */
+/* Mailchimp Block - Temp Fix */
+.wp-block-jetpack-mailchimp input[type="email"] {
+  width: 100%;
+}
+
+.wp-block-jetpack-mailchimp #wp-block-jetpack-mailchimp_consent-text {
+  font-size: 0.71111em;
+}

+ 28 - 17
calm-business/style-jetpack.scss

@@ -26,26 +26,26 @@
 		outline-offset: -4px;
 	}
  }
- 
+
  /**
   * Responsive Videos
   */
- 
+
  /**
   * Sharing
   */
- 
+
  .entry div.sharedaddy h3.sd-title,
  .entry h3.sd-title {
      font-family: $font__heading;
      font-weight: $font__weight_semi_bold;
      letter-spacing: normal;
  }
- 
+
  /**
   * Related Posts
   */
- 
+
  .entry #jp-relatedposts h3.jp-relatedposts-headline {
      font-family: $font__heading;
      font-weight: $font__weight_semi_bold;
@@ -53,48 +53,59 @@
          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: $font__body;
  }
- 
+
  .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: $font__body;
  }
- 
+
  /**
   * Stats
   */
- 
+
  /**
   * Comments
   */
- 
+
  /**
   * Widgets
   */
- 
+
  /* Authors Widget */
  .widget_authors > ul > li > a {
      font-family: $font__body;
  }
- 
+
  /* Display WordPress Posts */
- 
+
  /* GoodReads */
- 
+
  /* EU cookie law */
  .widget_eu_cookie_law_widget #eu-cookie-law {
      font-family: $font__body;
  }
- 
+
  /* RSS Links */
  .widget_rss_links li {
      font-family: $font__body;
  }
- 
+
  /**
   * Content Options
-  */
+  */
+
+ /* Mailchimp Block - Temp Fix */
+.wp-block-jetpack-mailchimp {
+  input[type="email"] {
+    width: 100%;
+  }
+
+  #wp-block-jetpack-mailchimp_consent-text {
+    font-size: $font__size-xs;
+  }
+}