Skip to content

Commit ea5fc12

Browse files
committed
v3.0.6 テンプレートの見た目を微調整。
1 parent b59aa3c commit ea5fc12

3 files changed

Lines changed: 23 additions & 11 deletions

File tree

petitnote/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
//https://paintbbs.sakura.ne.jp/
44
//1スレッド1ログファイル形式のスレッド式画像掲示板
55

6-
$petit_ver='v2.11.7';
7-
$petit_lot='lot.20260806';
6+
$petit_ver='v3.0.6';
7+
$petit_lot='lot.20260807.5';
88

99
$lang = ($http_langs = $_SERVER['HTTP_ACCEPT_LANGUAGE'] ?? '')
1010
? explode( ',', $http_langs )[0] : '';

petitnote/template/basic/index.css

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ https://developer.mozilla.org/ja/docs/Web/CSS/Using_CSS_custom_properties
1212
--a-color: var(--text-color);
1313
/* リンクホバー */
1414
--a-hover-color: var(--text-color);
15+
/* SNS共有 */
16+
--sns-share-text-color: hsl(0 0% 36% / 1);
17+
/* いいね */
18+
--clap-text-color: var(--sns-share-text-color);
1519
/* 背景色 */
1620
--background-color: #fff;
1721
/* 掲示板タイトルの文字色 */
@@ -62,19 +66,23 @@ https://developer.mozilla.org/ja/docs/Web/CSS/Using_CSS_custom_properties
6266
/* ダークモードの配色 */
6367

6468
/* 文字色 */
65-
--text-color: hsl(211 12% 92% / 1);
69+
--text-color: #e7ebf1;
6670
/* リンクの色 */
67-
--a-color: hsl(211 18% 79% / 1);
71+
--a-color: #b8bfcb;
6872
/* リンクホバー */
6973
--a-hover-color: var(--a-color);
74+
/* SNS共有 */
75+
--sns-share-text-color: hsl(211 10% 62% / 1);
76+
/* いいね */
77+
--clap-text-color: var(--sns-share-text-color);
7078
/* 背景色 */
71-
--background-color: hsl(211 22% 14% / 1);
79+
--background-color: hsl(212 24% 12% / 1);
7280
/* 掲示板タイトルの文字色 */
7381
--title-a-color: var(--a-color);
7482
/* 記事タイトルの文字色 */
7583
--article-title-color: var(--a-color);
7684
/* 記事タイトルの背景色 */
77-
--accent-background-color: hsl(211 23% 25% / 1);
85+
--accent-background-color: hsl(211 26% 22% / 1);
7886
/* 記事タイトル背景色のアクセント */
7987
--strong-accent-background-color: hsl(208 28% 37% / 1);
8088
/* チェック済みのフォームのラベルの色 */
@@ -179,12 +187,12 @@ a:hover {
179187
span[data-shareurl] {
180188
text-decoration: none;
181189
cursor: pointer;
182-
color: var(--a-color);
190+
color: var(--sns-share-text-color);
183191
}
184192

185193
span[data-shareurl]:hover {
186194
text-decoration: none;
187-
color: var(--a-hover-color);
195+
color: var(--sns-share-text-color);
188196
}
189197
span[data-downloadurl],
190198
span#pch_close {
@@ -528,6 +536,7 @@ span.txtnon {
528536
.res_button_wrap > span {
529537
display: inline-block;
530538
margin: 10px 0 0 12px;
539+
color: var(--clap-text-color);
531540
}
532541
.res_button_wrap.clap_wrap {
533542
margin: 10px 0 0;
@@ -536,6 +545,9 @@ span.txtnon {
536545
.ref-target-do-submission {
537546
text-decoration: none;
538547
}
548+
.ref-target-do-submission:hover {
549+
color: var(--clap-text-color);
550+
}
539551
}
540552
.res_notice_wrap {
541553
text-align: right;
@@ -547,12 +559,12 @@ form.res_button {
547559
}
548560
form.res_button input {
549561
padding: 1px 12px;
550-
margin: 1em 0 1em;
562+
margin: 1.2em 0 0.8em;
551563
}
552564
/* 返信フォーム */
553565
form.res_form {
554566
text-align: right;
555-
margin: 16px 0 5px;
567+
margin: 1em 0 5px;
556568
}
557569
table.resform {
558570
margin: 0 0 0 auto;

petitnote/template/basic/parts/threads_loop.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ <h3 class="imginfo_wrap">
168168
<?php endif; ?>
169169

170170
<!-- 最後のループの時にhr -->
171-
<?php if ($i === $last_key && ($res['img'] || $resmode)): ?>
171+
<?php if ($i === $last_key && $resmode): ?>
172172
<!-- 投稿可能件数日数の罫線との重複回避 -->
173173
<?php $maxres_current = (int)$max_res - (int)$i; ?>
174174
<?php if ((($maxres_current > 20) && empty($ress[0]['time_left_to_close_the_thread'])) || $adminpost || !$resform || $res_max_over): ?>

0 commit comments

Comments
 (0)