Browse Source

Archeo: update layout sizing and spacing (#5447)

* Change wideSize setting

* Adjust nav block gap size

* Add dynamic padding to footer

* Change small spacing setting
Sarah Norris 3 years ago
parent
commit
c8243596f7
3 changed files with 5 additions and 5 deletions
  1. 2 2
      archeo/parts/footer.html
  2. 1 1
      archeo/parts/header.html
  3. 2 2
      archeo/theme.json

+ 2 - 2
archeo/parts/footer.html

@@ -1,6 +1,6 @@
-<!-- wp:group {"layout":{"type":"flex","justifyContent":"space-between"},"style":{"spacing":{"padding":{"bottom":"100px","top":"100px"}}}} -->
+<!-- wp:group {"layout":{"type":"flex","justifyContent":"space-between"},"style":{"spacing":{"padding":{"bottom":"var(--wp--custom--spacing--medium)","top":"var(--wp--custom--spacing--medium)"}}}} -->
 <div class="wp-block-group" style="padding-top: 100px; padding-bottom: 100px;">
-	<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center"},"overlayMenu":"never","style":{"typography":{"fontStyle":"normal"}},"fontSize":"small"} /-->
+	<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center"},"overlayMenu":"never","style":{"typography":{"fontStyle":"normal"},"spacing":{"blockGap":"50px"}},"fontSize":"small"} /-->
 
 	<!-- wp:paragraph {"align":"center","fontSize":"small","style":{"spacing":{"margin":{"top":0}}}} -->
 	<p class="has-text-align-center has-small-font-size" style="margin-top: 0;">Proudly Powered by <a href="https://wordpress.org" rel="nofollow">WordPress</a></p>

+ 1 - 1
archeo/parts/header.html

@@ -16,7 +16,7 @@
         </div>
         <!-- /wp:group -->
     
-        <!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"},"overlayBackgroundColor":"background","overlayTextColor":"foreground","style":{"typography":{"fontStyle":"normal"}},"fontSize":"small"} -->
+        <!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"},"overlayBackgroundColor":"background","overlayTextColor":"foreground","style":{"typography":{"fontStyle":"normal"},"spacing":{"blockGap":"50px"}},"fontSize":"small"} -->
             <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /-->
         <!-- /wp:navigation -->
         

+ 2 - 2
archeo/theme.json

@@ -39,7 +39,7 @@
 		},
 		"custom": {
 			"spacing": {
-				"small": "clamp(20px, 4vw, 90px)",
+				"small": "clamp(20px, 4vw, 40px)",
 				"medium": "clamp(30px, 8vw, 100px)",
 				"large": "clamp(100px, 12vw, 460px)",
 				"outer": "min(4vw, 90px)"
@@ -47,7 +47,7 @@
 		},
 		"layout": {
 			"contentSize": "620px",
-			"wideSize": "835px"
+			"wideSize": "1260px"
 		},
 		"typography": {
 			"fontFamilies": [