Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,38 @@
<html lang="ja" dir="ltr">
{% include head.html %}

<style>
/* 段落間のスペースを追加 */
.news-content p {
margin-bottom: 1.5rem;
}
.news-content p:last-child {
margin-bottom: 0;
}

/* 見出しのスタイル */
.news-content h2 {
font-size: 1.75rem;
font-weight: bold;
color: #221C35;
margin-top: 2.5rem;
margin-bottom: 1.25rem;
padding-bottom: 0.5rem;
border-bottom: 3px solid #00AFAA;
}
.news-content h3 {
font-size: 1.375rem;
font-weight: bold;
color: #221C35;
margin-top: 2rem;
margin-bottom: 1rem;
}
.news-content h2:first-child,
.news-content h3:first-child {
margin-top: 0;
}
</style>

<body>
{% include header.html %}
<main class="flex-grow">
Expand Down Expand Up @@ -57,7 +89,7 @@ <h1 class="text-3xl md:text-4xl font-bold mb-4" style="color: #221C35;">{{ page.
</div>

<!-- 本文 -->
<div class="prose prose-lg max-w-none" style="color: #444444;">
<div class="prose prose-lg max-w-none news-content" style="color: #444444;">
{{ content }}
</div>
</article>
Expand Down
1 change: 1 addition & 0 deletions _posts/2025-12-28-website-launched.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ Coolest Projectsは、18歳以下の子どもたちのための世界的な作
作品の応募受付は近日開始予定です。本サイトにて随時情報を更新してまいりますので、ぜひブックマークしてご確認ください。

皆様のご参加を心よりお待ちしております。