Browse Source

styles mostly mobile fixes

windhamdavid 4 months ago
parent
commit
9be46e4031
1 changed files with 35 additions and 0 deletions
  1. 35 0
      style.css

+ 35 - 0
style.css

@@ -20,6 +20,10 @@ Thanks:
   margin-block-start: 0;
 }
 
+.wp-block-outermost-mega-menu__collapsed-link {
+  color: var(--wp--preset--color--white);
+}
+
 /* https://wordpress.org/support/topic/wp-6-2-gutenberg-ul-has-background-sometimes-appears-and-sometimes-doesnt/ */
 /* https://github.com/WordPress/gutenberg/issues/50486 */
 ol.has-background, ul.has-background {
@@ -28,4 +32,35 @@ ol.has-background, ul.has-background {
 /* unset padding on the navigation block */ 
 .wp-block-navigation ul {
   padding: unset;
+}
+
+@media (max-width: 800px) {
+  .home-page-mobile {
+    background: #f8f8f8a0;
+  }
+  .header-info {
+    display: none !important;
+  }
+}
+
+/* rm default from 600 to 800px */
+@media (min-width: 800px) {
+  .wp-block-navigation__responsive-container-open:not(.always-shown) {
+      display: none !important;
+  }
+  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
+      display: block !important;
+      width: 100%;
+      position: relative;
+      z-index: auto;
+      background-color: inherit;
+  }
+}
+@media (min-width: 600px) {
+  .wp-block-navigation__responsive-container-open:not(.always-shown) {
+      display: flex;
+  }
+  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
+      display: none;
+  }
 }