Skip to content

Commit d7f6f76

Browse files
authored
Merge pull request #163 from manualdousuario/116-Correcoes
Pequenas correções
2 parents b391c3e + f060222 commit d7f6f76

File tree

4 files changed

+18
-22
lines changed

4 files changed

+18
-22
lines changed

orbita.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Plugin Name: Órbita
1212
* Plugin URI: https://gnun.es
1313
* Description: Órbita é o plugin para criar um sistema Hacker News-like para o Manual do Usuário
14-
* Version: 1.16
14+
* Version: 1.16.1
1515
* Author: Gabriel Nunes
1616
* Author URI: https://gnun.es
1717
* License: GPL v3
@@ -41,7 +41,7 @@
4141
* Define plugin version constant
4242
*/
4343

44-
define( 'ORBITA_VERSION', '1.16' );
44+
define( 'ORBITA_VERSION', '1.16.1' );
4545
define( 'ORBITA_IMAGE_MAX_SIZE', '10' ); // MB
4646

4747
/**
@@ -282,8 +282,8 @@ function orbita_get_header_html() {
282282
$html .= ' </div>';
283283
$html .= '</div>';
284284
$html .= '<p class="orbita-follow">';
285-
$html .= ' Siga no ';
286-
$html .= ' <a href="https://bolha.us/@orbita" title="Perfil no Mastodon">Mastodon</a>, ';
285+
$html .= ' <a href="https://bsky.app/profile/orbita.manualdousuario.net" title="Perfil no Bluesky">Bluesky</a>, ';
286+
$html .= ' <a href="https://mastodon.social/@orbita" title="Perfil no Mastodon">Mastodon</a>, ';
287287
$html .= ' <a href="https://t.me/orbitafeed" title="Canal no Telegram">Telegram</a> e ';
288288
$html .= ' <a href="/feed/?post_type=orbita_post" title="RSS/Atom">RSS</a>';
289289
$html .= '</p>';

public/main.css

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[data-theme="dark"] .orbita-header .post img, [data-theme="dark"] .orbita-header .sort img, [data-theme="dark"] .orbita-header .trend img {
22
filter: invert(100%);
33
}
4-
[data-theme="dark"] .orbita-vote-button img {
5-
filter: invert(100%);
4+
[data-theme="dark"] .orbita-list .vote button, [data-theme="dark"] .orbita_post .orbita-meta button {
5+
filter: invert(1);
66
}
77
.orbita_post-template-default .navigation {
88
margin: var(--med-salto-grande) 0 !important;
99
}
1010
.orbita_post .orbita-meta {
1111
display: flex;
12-
align-items: center;
12+
align-items: start;
1313
column-gap: 0.25rem;
1414
}
1515
.orbita-list {
@@ -63,6 +63,8 @@
6363
background: transparent !important;
6464
overflow: hidden;
6565
font-size: 1.25rem;
66+
min-width: fit-content;
67+
line-height: 1.15;
6668
}
6769
a.traduzir, a.sem-paywall {
6870
padding: 2px 4px;
@@ -239,16 +241,12 @@
239241
.orbita-follow {
240242
font-size: var(--fs-0);
241243
font-family: var(--ff-monospace);
244+
text-align: right;
242245
}
243246
.orbita-follow a:visited {
244247
color: var(--cor-link-ori);
245248
}
246249
.orbita-follow a:hover {
247250
color: var(--cor-link-est);
248251
}
249-
@media only screen and (min-width : 700px) {
250-
.orbita-follow {
251-
text-align: left;
252-
}
253-
}
254252

public/main.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/main.scss

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ $desktop: "only screen and (min-width : 700px)";
1010
}
1111
}
1212

13-
[data-theme="dark"] .orbita-vote-button {
14-
img {
15-
filter: invert(100%);
16-
}
13+
[data-theme="dark"] .orbita-list .vote button,
14+
[data-theme="dark"] .orbita_post .orbita-meta button {
15+
filter: invert(1);
1716
}
1817

1918
.orbita_post-template-default {
@@ -25,7 +24,7 @@ $desktop: "only screen and (min-width : 700px)";
2524
.orbita_post {
2625
.orbita-meta {
2726
display: flex;
28-
align-items: center;
27+
align-items: start;
2928
column-gap: .25rem;
3029
}
3130
}
@@ -90,6 +89,8 @@ $desktop: "only screen and (min-width : 700px)";
9089
background: transparent !important;
9190
overflow: hidden;
9291
font-size: 1.25rem;
92+
min-width: fit-content;
93+
line-height: 1.15;
9394
}
9495

9596
a.traduzir,
@@ -307,6 +308,7 @@ a.sem-paywall:hover {
307308
.orbita-follow {
308309
font-size: var(--fs-0);
309310
font-family: var(--ff-monospace);
311+
text-align: right;
310312

311313
a {
312314
&:visited {
@@ -317,8 +319,4 @@ a.sem-paywall:hover {
317319
color: var(--cor-link-est);
318320
}
319321
}
320-
321-
@media #{$desktop} {
322-
text-align: left;
323-
}
324322
}

0 commit comments

Comments
 (0)