Explorar o código

Vetro: fix page template alignment (#6774)

* Fix alignment and margins.

* Fix attributions.
Jeff Ong %!s(int64=2) %!d(string=hai) anos
pai
achega
4217c91108
Modificáronse 2 ficheiros con 5 adicións e 5 borrados
  1. 2 2
      vetro/style.css
  2. 3 3
      vetro/templates/page.html

+ 2 - 2
vetro/style.css

@@ -1,8 +1,8 @@
 /*
 /*
 Theme Name: Vetro
 Theme Name: Vetro
-Theme URI: https://vetro.mystagingwebsite.com/
+Theme URI: https://wordpress.com/themes/vetro
 Author: Automattic
 Author: Automattic
-Author URI: https://wordpress.org/themes/
+Author URI: https://automattic.com/
 Description: Vetro was designed to be a portfolio theme, and is composed by wide width layouts with the impact of generous imagery and typography. Its simple pages are aligned left with fair right paddings and large content blocks to grant viewers focus on visuals and short paragraphs.
 Description: Vetro was designed to be a portfolio theme, and is composed by wide width layouts with the impact of generous imagery and typography. Its simple pages are aligned left with fair right paddings and large content blocks to grant viewers focus on visuals and short paragraphs.
 Requires at least: 5.8
 Requires at least: 5.8
 Tested up to: 6.1
 Tested up to: 6.1

+ 3 - 3
vetro/templates/page.html

@@ -1,8 +1,8 @@
 <!-- wp:template-part {"slug":"header","tagName":"header"} /-->
 <!-- wp:template-part {"slug":"header","tagName":"header"} /-->
 
 
-<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"blockGap":"0px","margin":{"top":"0px","bottom":"0px"}}}} -->
-<main class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"0px","right":"25%","bottom":"0px","left":"0px"},"margin":{"top":"180px","bottom":"90px"},"blockGap":"0px"}},"layout":{"type":"default"}} -->
-<div class="wp-block-group alignwide" style="margin-top:180px;margin-bottom:90px;padding-top:0px;padding-right:25%;padding-bottom:0px;padding-left:0px"><!-- wp:post-title {"level":1,"isLink":true,"align":"wide","style":{"typography":{"fontSize":"4rem","fontStyle":"normal","fontWeight":"600","letterSpacing":"-3px"},"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}},"fontFamily":"inter"} /-->
+<!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"0px","margin":{"top":"160px","bottom":"80px"}}},"layout":{"type":"constrained"}} -->
+<main class="wp-block-group" style="margin-top:160px;margin-bottom:80px"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"0px","right":"25%","bottom":"0px","left":"0px"},"blockGap":"0px","margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"default"}} -->
+<div class="wp-block-group alignwide" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:25%;padding-bottom:0px;padding-left:0px"><!-- wp:post-title {"level":1,"isLink":true,"align":"wide","style":{"typography":{"fontSize":"4rem","fontStyle":"normal","fontWeight":"600","letterSpacing":"-3px"},"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}},"fontFamily":"inter"} /-->
 
 
 <!-- wp:spacer {"height":"30px"} -->
 <!-- wp:spacer {"height":"30px"} -->
 <div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
 <div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>