Selaa lähdekoodia

Calm Business: Syncing up CSS files with latest fixes.

Laurel Fulford 6 vuotta sitten
vanhempi
commit
2fa4c826a4
2 muutettua tiedostoa jossa 53 lisäystä ja 2 poistoa
  1. 27 2
      calm-business/style-rtl.css
  2. 26 0
      calm-business/style.css

+ 27 - 2
calm-business/style-rtl.css

@@ -1,4 +1,3 @@
-/*THIS FILE IS COMPILED FROM AN .SCSS FILE - DO NOT EDIT DIRECTLY*/
 @charset "UTF-8";
 /*
 Theme Name: Calm Business
@@ -3290,13 +3289,17 @@ body.page .main-navigation {
 }
 
 /* 404 & Not found */
+.error-404.not-found .page-title,
 .error-404.not-found .page-content,
+.no-results.not-found .page-title,
 .no-results.not-found .page-content {
   margin: calc(3 * 1rem) 1rem;
 }
 
 @media only screen and (min-width: 768px) {
+  .error-404.not-found .page-title,
   .error-404.not-found .page-content,
+  .no-results.not-found .page-title,
   .no-results.not-found .page-content {
     margin: 32px auto;
     max-width: calc(6*(100vw/12) - 28px);
@@ -4466,6 +4469,28 @@ body.page .main-navigation {
   }
 }
 
+@media all and (-ms-high-contrast: none) {
+  .entry .entry-content .wp-block-media-text:after {
+    display: table;
+    content: "";
+    clear: both;
+  }
+  .entry .entry-content .wp-block-media-text figure {
+    float: right;
+    width: 50%;
+  }
+  .entry .entry-content .wp-block-media-text .wp-block-media-text__content {
+    float: left;
+    width: 50%;
+  }
+  .entry .entry-content .wp-block-media-text.has-media-on-the-right figure {
+    float: left;
+  }
+  .entry .entry-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
+    float: right;
+  }
+}
+
 .entry .entry-content .has-small-font-size {
   font-size: 0.88889em;
 }
@@ -4767,4 +4792,4 @@ svg {
 
 .gallery-item > div > a:focus {
   box-shadow: 0 0 0 2px #8d6708;
-}
+}

+ 26 - 0
calm-business/style.css

@@ -3295,13 +3295,17 @@ body.page .main-navigation {
 }
 
 /* 404 & Not found */
+.error-404.not-found .page-title,
 .error-404.not-found .page-content,
+.no-results.not-found .page-title,
 .no-results.not-found .page-content {
   margin: calc(3 * 1rem) 1rem;
 }
 
 @media only screen and (min-width: 768px) {
+  .error-404.not-found .page-title,
   .error-404.not-found .page-content,
+  .no-results.not-found .page-title,
   .no-results.not-found .page-content {
     margin: 32px auto;
     max-width: calc(6*(100vw/12) - 28px);
@@ -4477,6 +4481,28 @@ body.page .main-navigation {
   }
 }
 
+@media all and (-ms-high-contrast: none) {
+  .entry .entry-content .wp-block-media-text:after {
+    display: table;
+    content: "";
+    clear: both;
+  }
+  .entry .entry-content .wp-block-media-text figure {
+    float: left;
+    width: 50%;
+  }
+  .entry .entry-content .wp-block-media-text .wp-block-media-text__content {
+    float: right;
+    width: 50%;
+  }
+  .entry .entry-content .wp-block-media-text.has-media-on-the-right figure {
+    float: right;
+  }
+  .entry .entry-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
+    float: left;
+  }
+}
+
 .entry .entry-content .has-small-font-size {
   font-size: 0.88889em;
 }