Skip to content

Commit

Permalink
Merge pull request #66 from manualdousuario/ClasseCSSDataFix
Browse files Browse the repository at this point in the history
Corrige conflito da nova classe `.data` com o Órbita
  • Loading branch information
claromes authored Jun 29, 2024
2 parents 10249f8 + aecfb83 commit b44ed49
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 10 deletions.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

if ( ! defined( '_S_VERSION' ) ) {
define( '_S_VERSION', '3.3' );
define( '_S_VERSION', '3.3.1' );
}

/**
Expand Down
9 changes: 7 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Tags: featured-images, threaded-comments
Requires at least: 4.5
Tested up to: 8.1.12
Requires PHP: 5.6
Stable tag: 3.3
Stable tag: 3.3.1
License: GNU General Public License v2 or later
License URI: LICENSE

Expand Down Expand Up @@ -43,7 +43,12 @@ Dez includes support for WooCommerce and for Infinite Scroll in Jetpack.

== Changelog ==

= 3.3 - Jun 19 2024 =
= 3.3.1 - Jun 22 2024 =
* Corrige conflito da nova classe `.data` com o Órbita. (Altera a classe para
`.data-home`).
* Formata classe para faixa no topo do site (`.dfad_pos_1`)

= 3.3 - Jun 21 2024 =
* Acrescenta blocos do plugin Shortcoder à capa (`index.php`): 1) aviso de conteúdos novos às sextas-feiras no topo; e 2) newsletters do diretório no meio dos posts
* Exibe datas apenas uma vez por dia na capa (`the_date();` em `template-parts/content.php`) e remove datas dos posts individuais, mantendo-as dentro dos posts
* Adiciona função/condicional `shortcode_exists()` onde precisava
Expand Down
19 changes: 15 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://manualdousuario.net/
Author: Rodrigo Ghedin
Author URI: https://rodrigo.ghed.in/
Description: Manual do Usuário Theme
Version: 3.3
Version: 3.3.1
Tested up to: 8.1.12
Requires PHP: 5.6
License: GNU General Public License v2 or later
Expand Down Expand Up @@ -321,6 +321,17 @@ a.comment-metadata {
padding: 0 1rem;
}

.dfad_pos_1 {
text-align: center;
background-color: var(--cor-destaques);
border-bottom: 1px solid var(--cor-bordas);
font-family: var(--ff-monospace);
font-size: calc( var(--fs-0) * .85);
padding: .35rem 1rem;
color: var(--cor-link-meta);
}


/* Cabeçalho
--------------------------------------------- */

Expand Down Expand Up @@ -426,12 +437,12 @@ article.hentry li:last-child {
margin-bottom: 0;
}

.data {
.data-home {
margin: 0 0 var(--med-salto-medio);
font-family: var(--ff-monospace);
font-size: var(--fs-0);
}
.data:first-letter {
.data-home:first-letter {
text-transform: capitalize;
}

Expand Down Expand Up @@ -1286,7 +1297,7 @@ table.dataTable-table tr:nth-child(even) {
margin-top: initial;
}

.data {
.data-home {
margin-bottom: var(--med-salto-pequeno);
}

Expand Down
Loading

0 comments on commit b44ed49

Please sign in to comment.