Tweak some css in message and posting display.

This commit is contained in:
Retro_Guy 2024-11-11 06:01:34 -07:00
parent bad48f5e0d
commit 11d274f3ee
3 changed files with 27 additions and 13 deletions

View File

@ -500,13 +500,14 @@
text-decoration: none;
color: var(--color-highlight);
font-family: Arial, Helvetica, sans-serif;
font-size: 0.8em;
font-size: 0.9em;
}
/* short header Followup-To: */
.short_header_followup-to {
margin-top: 0;
margin-bottom: 0;
margin-left: 0.4em;
text-decoration: none;
color: var(--color-highlight);
font-family: Arial, Helvetica, sans-serif;
@ -517,6 +518,7 @@
.short_header_references {
margin-top: 0;
margin-bottom: 0;
margin-left: 0.4em;
text-decoration: none;
color: var(--color-highlight);
font-family: Arial, Helvetica, sans-serif;
@ -527,6 +529,7 @@
.short_header_attachments {
margin-top: 0;
margin-bottom: 0;
margin-left: 0.4em;
text-decoration: none;
color: var(--color-highlight);
font-family: Arial, Helvetica, sans-serif;
@ -537,6 +540,7 @@
.short_header_javascript_links {
margin-top: 0;
margin-bottom: 0;
margin-left: 0.4em;
text-decoration: none;
color: var(--color-highlight);
font-family: Arial, Helvetica, sans-serif;
@ -1274,11 +1278,16 @@ h1.np_post_headline {
text-align: right;
}
.post_followup-to_notice {
color: var(--color-text);
font-family: Arial, Helvetica, sans-serif;
font-size: 0.6em;
}
.np_post_header_newsgroups {
color: var(--color-text);
font-family: Arial, Helvetica, sans-serif;
font-size: 0.6em;
;
text-align: right;
}
@ -1286,7 +1295,6 @@ h1.np_post_headline {
color: var(--color-text);
font-family: Arial, Helvetica, sans-serif;
font-size: 0.6em;
;
text-align: right;
}
@ -1294,7 +1302,6 @@ h1.np_post_headline {
color: var(--color-text);
font-family: Arial, Helvetica, sans-serif;
font-size: 0.6em;
;
text-align: right;
}
@ -1302,7 +1309,6 @@ h1.np_post_headline {
color: var(--color-text);
font-family: Arial, Helvetica, sans-serif;
font-size: 0.6em;
;
text-align: right;
}
@ -1310,15 +1316,13 @@ h1.np_post_headline {
color: var(--color-text);
font-family: Arial, Helvetica, sans-serif;
font-size: 0.6em;
;
text-align: right;
}
.np_post_header_or {
color: var(--color-text);
font-family: Arial, Helvetica, sans-serif;
font-size: 0.7em;
;
font-size: 0.6em;
text-align: right;
}
@ -1331,7 +1335,6 @@ h1.np_post_headline {
color: var(--color-text);
font-family: Arial, Helvetica, sans-serif;
font-size: 0.5em;
;
text-align: right;
}

View File

@ -651,10 +651,18 @@ function show_header_short($head, $group, $local_poster = false)
echo '</span>';
}
if (isset($head->followup) && ($article_show["Followup"]) && ($head->followup != "")) {
echo '<div class="short_header_followup-to">';
echo '<b>' . $text_header["followup"] . '</b>' . htmlspecialchars($head->followup) . "<br>\n";
echo '<b>' . $text_header["followup"] . '</b>';
$ngroups = preg_replace("/\,|\ /", "\t", $head->followup);
$ngroups = explode("\t", $ngroups);
foreach ($ngroups as $onegroup) {
if (get_section_by_group($onegroup)) {
echo '<a href="' . $file_thread . '?group=' . urlencode($onegroup) . '" title="Visit ' . $onegroup . '"> ' . $onegroup . " </a>";
} else {
echo " " . $onegroup . " ";
}
}
echo '</div>';
}

View File

@ -517,7 +517,8 @@ if ($show == 1) {
if (isset($has_followup) && $has_followup !== false) {
echo '<td class="np_post_header_newsgroups"><b>Newsgroups:&nbsp;</b>';
echo '</td><td>';
echo '</td>';
echo '<td class="post_followup-to_notice">';
echo '<input type="radio" id="hasfollowup" name="fgroups" value="' . $head->followup . '" checked>';
echo '&nbsp;';
@ -528,10 +529,12 @@ if ($show == 1) {
echo ')</label></td>';
echo '</tr><tr>';
echo '<td class="np_post_header_or"><b>or:&nbsp;</b>';
echo '</td><td>';
echo '</td>';
echo '<td class="post_followup-to_notice">';
echo '<input type="radio" id="nofollowup" name="fgroups" value="' . $head->newsgroups . '">';
echo '&nbsp;';
echo '<label for="newsgroups">' . $head->newsgroups . '</label>';
echo '</td>';
echo '</tr><tr>';
} else {
if (!isset($OVERRIDES['disable_ngs_edit']) || $OVERRIDES['disable_ngs_edit'] == false) {