Olympique: fixes following Dotorg review

This commit is contained in:
henriqueiamarino 2024-08-22 10:44:02 +02:00
parent 0c65de7f19
commit 22c4a128c3
20 changed files with 14 additions and 20 deletions

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Olympique functions and definitions

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: 404

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: archive

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: front-page

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: 404

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Comments

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: No results

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Portfolio hero

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Post meta

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Post navigation

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Search

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: Sidebar

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: home

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: index

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: post-meta

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: List of posts without images, 1 column

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: search

View file

@ -1,4 +1,3 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: single
@ -34,7 +33,7 @@
<!-- wp:group {"tagName":"main","align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|30","padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","bottom":"var:preset|spacing|80","top":"var:preset|spacing|40"}},"border":{"top":{"width":"2px"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group alignwide" style="border-top-width:2px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)"><!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
<div class="wp-block-comments wp-block-comments-query-loop"><!-- wp:heading {"className":"is-style-default"} -->
<h2 class="wp-block-heading is-style-default"><?php esc_html_e('Comments', 'olympique');?></h2>
<h2 class="wp-block-heading is-style-default"><?php echo __('Comments', 'olympique');?></h2>
<!-- /wp:heading -->
<!-- wp:comments-title {"level":4} /-->

View file

@ -7,7 +7,7 @@ Description: A theme to celebrate the history of the games and the milestones th
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.0.1
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: olympique

View file

@ -676,6 +676,18 @@
}
},
"core/post-content": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--accent)"
}
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)",
"padding": {