Skip to content

Commit d1da3c1

Browse files
committed
fix aunでいただいた、ユニット余白以外の修正箇所に対応
1 parent 3282d22 commit d1da3c1

File tree

12 files changed

+37
-36
lines changed

12 files changed

+37
-36
lines changed

src/develop/include/category/list-side.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<ul class="border-b border-solid border-gray-200 text-sm text-gray-900">
66
<!-- END ul#front --><!-- BEGIN li#front -->
77
<li class="py-2 border-t border-solid border-gray-200 [&>ul]:border-b-0 [&>ul>li]:border-t-0 [&>ul>li]:py-0 [&>ul>li]:pl-3"><!-- END li#front --><!-- BEGIN category:veil -->
8-
<a href="{url}" class="flex items-center gap-3 py-2 hover:opacity-70">
9-
<span class="icon text-gray-400 mr-1">
8+
<a href="{url}" class="flex items-center gap-1.5 py-2 hover:opacity-70">
9+
<span class="icon text-gray-400 flex-none">
1010
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-3">
1111
<path stroke-linecap="round" stroke-linejoin="round" d="m8.25 4.5 7.5 7.5-7.5 7.5" />
1212
</svg>

src/develop/include/entry/body.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<span>この記事は最終更新日から<span id="js-outdated-year"></span>年以上経過しています。</span>
2020
</p>
2121
<!-- BEGIN title:veil -->
22-
<h1 class="font-bold text-2xl entry-title"><a href="{titleUrl}">{title}</a></h1>
22+
<h1 class="font-bold text-2xl entry-title">{title}</h1>
2323
<!-- END title:veil -->
2424
<div class="md:flex items-center flex-wrap gap-4 mt-4 text-gray-500 text-sm">
2525
<!-- BEGIN pdate:veil -->
@@ -30,10 +30,10 @@ <h1 class="font-bold text-2xl entry-title"><a href="{titleUrl}">{title}</a></h1>
3030
<!-- END udate:veil -->
3131
</div>
3232
<!-- BEGIN_IF [%{CID}/nem] -->
33-
<p class="mt-4"><a href="{url}" class="text-indigo-600 font-bold">%{CATEGORY_NAME}</a></p>
33+
<p class="mt-4 break-words"><a href="{url}" class="text-indigo-600 font-bold">%{CATEGORY_NAME}</a></p>
3434
<!-- END_IF -->
3535
<!-- BEGIN tag:veil -->
36-
<ul class="flex flex-wrap gap-3 mt-4 text-gray-900">
36+
<ul class="flex flex-wrap gap-x-4 gap-y-1 mt-4 text-gray-900">
3737
<!-- BEGIN tag:loop -->
3838
<li><a href="{url}" class="hover:opacity-70">#{name}</a></li>
3939
<!-- END tag:loop -->

src/develop/include/entry/summary-card.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<!-- END notFound -->
88

99
<!-- BEGIN_MODULE Touch_Keyword -->
10-
<p class="text-gray-900 text-xl font-bold mb-8">%{KEYWORD} の検索結果:{itemsAmount}件</p>
10+
<p class="text-gray-900 text-2xl font-bold mb-8">%{KEYWORD} の検索結果:{itemsAmount}件</p>
1111
<!-- END_MODULE Touch_Keyword -->
1212

1313
<!-- BEGIN unit:loop -->
14-
<div class="grid grid-cols-12 pb-10 gap-8">
14+
<div class="grid grid-cols-12 pb-10 gap-y-8 gap-x-4 sm:gap-8">
1515
<!-- BEGIN entry:loop -->
1616
<div class="flex flex-col items-start space-y-3 col-span-12 {{column_class|default('sm:col-span-6')}}">
1717
<a href="{url}" class="block w-full text-sm hover:opacity-70">

src/develop/include/entry/tag-relational-card.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- BEGIN_MODULE Entry_TagRelational id="{{module_id}}" -->
22
<h2 class="text-lg font-bold">関連記事</h2>
3-
<p class="mt-3 mb-8"><span>この記事のハッシュタグ</span><!-- BEGIN_MODULE Tag_Cloud ctx="eid/%{EID}" --><span class="flex my-0.5 md:my-0 md:inline md:ml-3"><!-- BEGIN tag:loop --><span class="mr-3"><a href="{path}" class="text-gray-500 underline hover:no-underline">#{name}</a></span><!-- END tag:loop --></span><!-- END_MODULE Tag_Cloud --><span>から関連する記事を表示しています。</span></p>
3+
<p class="mt-3 mb-8"><span>この記事のハッシュタグ</span><!-- BEGIN_MODULE Tag_Cloud ctx="eid/%{EID}" --><span class="flex my-0.5 md:my-0 md:inline md:ml-3"><!-- BEGIN tag:loop --><span class="mr-3"><a href="{path}" class="text-gray-500 no-underline hover:opacity-70">#{name}</a></span><!-- END tag:loop --></span><!-- END_MODULE Tag_Cloud --><span>から関連する記事を表示しています。</span></p>
44
<div>
55
@include("/admin/module/setting.html")
66

src/develop/include/footer.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<!-- BEGIN_MODULE Blog_Field ctx="bid/1" -->
77
<!-- BEGIN sns:veil -->
88
<div class="flex justify-center mt-6 space-x-6">
9-
<!-- BEGIN twitter_account:veil -->
10-
<a href="https://x.com/{twitter_account}" class="block hover:opacity-70">
9+
<!-- BEGIN x_account:veil -->
10+
<a href="https://x.com/{x_account}" class="block hover:opacity-70">
1111
<img src="/images/icons/x.svg" alt="X(旧Twitter)" class="w-6 h-6 mx-auto">
1212
</a>
13-
<!-- END twitter_account:veil -->
13+
<!-- END x_account:veil -->
1414
<!-- BEGIN facebook_account:veil -->
1515
<a href="https://www.facebook.com/{facebook_account}" class="block hover:opacity-70">
1616
<img src="/images/icons/facebook.svg" alt="Facebook" class="w-6 h-6 mx-auto">
@@ -24,7 +24,7 @@
2424
</div>
2525
<!-- END sns:veil -->
2626

27-
<small class="block mt-6 text-base leading-6 text-center text-gray-400">
27+
<small class="block mt-6 text-sm leading-6 text-center text-gray-400">
2828
{site_footer}
2929
</small>
3030
<!-- END_MODULE Blog_Field -->

src/develop/include/header.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<header class="max-lg:sticky top-0 left-0 z-10 w-full shadow-sm bg-white">
22
<div class="container">
3-
<div class="flex items-center justify-between gap-x-4 w-full leading-6 text-gray-900">
3+
<div class="flex items-center justify-between gap-x-4 w-full leading-6 text-gray-900 min-h-14">
44
<!-- BEGIN_MODULE Blog_Field ctx="bid/1" -->
55

66
<div class="font-extrabold lg:w-auto text-2xl md:mb-0">
@@ -24,15 +24,15 @@
2424
</div>
2525
</nav>
2626

27-
<button class="js-menu-toggle flex flex-col items-center items-end justify-center w-10 h-10 -mt-1 text-indigo-600 cursor-pointer lg:hidden hover:bg-gray-100">
27+
<button class="js-menu-toggle flex flex-col items-center -mr-4 justify-center w-14 h-14 -mt-1 text-indigo-600 cursor-pointer lg:hidden hover:bg-gray-100">
2828
<svg class="w-6 h-6 [.is-active_&]:hidden" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor">
2929
<path d="M4 6h16M4 12h16M4 18h16"></path>
3030
</svg>
31-
31+
3232
<svg class="hidden w-6 h-6 [.is-active_&]:block" fill="none" stroke="currentColor" viewBox="0 0 24 24">
3333
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
3434
</svg>
3535
</button>
3636
</div>
3737
</div>
38-
</header>
38+
</header>

src/develop/include/parts/navigation-sp.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,21 @@
3636
<!-- BEGIN_MODULE Blog_Field ctx="bid/1" -->
3737
<ul class="flex items-center gap-x-8 p-4">
3838
<li>
39-
<a href="{x_account}" class="block">
39+
<a href="https://x.com/{x_account}" class="block">
4040
<img src="/images/icons/x.svg" width="24" height="24" alt="Xアカウント">
4141
</a>
4242
</li>
4343
<li>
44-
<a href="{facebook_account}" class="block">
44+
<a href="https://www.facebook.com/{facebook_account}" class="block">
4545
<img src="/images/icons/facebook.svg" width="24" height="24" alt="Facebookアカウント">
4646
</a>
4747
</li>
4848
<li>
49-
<a href="{github_account}" class="block">
49+
<a href="https://github.com/{github_account}" class="block">
5050
<img src="/images/icons/github.svg" width="24" height="24" alt="Githubアカウント">
5151
</a>
5252
</li>
5353
</ul>
5454
<!-- END_MODULE Blog_Field -->
5555
</div>
56-
</div>
56+
</div>

src/develop/include/parts/pager.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<!-- END lastPage:veil -->
3838

3939
<!-- BEGIN forwardLink -->
40-
<li class="w-9 h-full md:border-l border-gray-200">
40+
<li class="w-9 h-full border-l border-gray-200">
4141
<a href="{url}" class="relative flex justify-center items-center w-full h-full group text-gray-900 hover:bg-indigo-600 hover:text-white" aria-label="次の{forwardNum}件を見る">
4242
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2.5" stroke="currentColor" class="size-4">
4343
<path stroke-linecap="round" stroke-linejoin="round" d="m8.25 4.5 7.5 7.5-7.5 7.5" />

src/develop/include/parts/search-keyword.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<form action="%{HOME_URL}blogs/" method="post" role="search">
22
<input type="hidden" name="bid" value="%{BID}">
3-
<input type="hidden" name="cid" value="%{CID}">
4-
<div class="relative w-full max-w-xs mx-auto">
5-
<input type="text" name="keyword" placeholder="検索キーワード" value="%{KEYWORD}" class="flex w-full h-10 px-3 pr-10 py-2 bg-white border rounded-md border-gray-200 ring-offset-background placeholder:text-neutral-500 focus:border-gray-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-neutral-400 disabled:cursor-not-allowed disabled:opacity-50">
3+
<div class="relative w-full mx-auto">
4+
<input type="text" name="keyword" placeholder="検索キーワード" value="%{KEYWORD}" class="flex w-full h-10 px-3 pr-10 py-2 bg-white border rounded-md border-gray-200 ring-offset-background placeholder:text-gray-400 focus:border-gray-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-neutral-400 disabled:cursor-not-allowed disabled:opacity-50 text-gray-900">
65
<button type="submit" name="ACMS_POST_2GET" class="absolute inset-y-0 right-3 text-gray-900">
76
<span class="sr-only">検索</span>
87
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">

src/develop/include/tag/cloud-side.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@include("/admin/module/setting.html")
44
<ul class="flex flex-wrap items-center gap-3 text-gray-900">
55
<!-- BEGIN tag:loop -->
6-
<li class="tagSize{level}"><a href="%{CATEGORY_URL}tag/{name}/" title="{amount}件" class="hover:opacity-70">#{name}</a></li>
6+
<li class="tagSize{level}"><a href="/tag/{name}/" title="{amount}件" class="hover:opacity-70">#{name}</a></li>
77
<!-- END tag:loop -->
88
</ul>
99
</div>

0 commit comments

Comments
 (0)