Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:56:44 +08:00
commit 5e6eb99dc0
25 changed files with 4597 additions and 0 deletions

View File

@@ -0,0 +1,127 @@
/* Google Fontsから日本語フォントを読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
/* --- 色やフォントの基本設定 --- */
:root {
--color-background: #f8f8f4;
--color-foreground: #3a3b5a;
--color-heading: #4f86c6;
--color-hr: #000000;
--font-default: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}
/* --- スライド全体のスタイル --- */
section {
background-color: var(--color-background);
color: var(--color-foreground);
font-family: var(--font-default);
font-weight: 400;
box-sizing: border-box;
border-bottom: 8px solid var(--color-hr);
position: relative;
line-height: 1.7;
font-size: 22px;
padding: 56px;
}
section:last-of-type {
border-bottom: none;
}
/* --- 見出しのスタイル --- */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
color: var(--color-heading);
margin: 0;
padding: 0;
}
/* タイトルページ(h1)のスタイル */
h1 {
font-size: 56px;
line-height: 1.4;
text-align: left;
}
/* 通常スライドのタイトル(##) */
h2 {
position: absolute;
top: 40px;
left: 56px;
right: 56px;
font-size: 40px;
padding-top: 0;
padding-bottom: 16px;
}
/* h2の疑似要素(::after)を使って、短い線を実装 */
h2::after {
content: '';
position: absolute;
left: 0;
bottom: 8px;
width: 60px;
height: 2px;
background-color: var(--color-hr);
}
/* h2と後続コンテンツの間のスペースを確保 */
h2 + * {
margin-top: 112px;
}
/* サブ見出し (例: 目的, 目標) */
h3 {
color: var(--color-foreground);
font-size: 28px;
margin-top: 32px;
margin-bottom: 12px;
}
/* --- リストのスタイル --- */
ul, ol {
padding-left: 32px;
}
li {
margin-bottom: 10px;
}
/* フッターとして機能する、太い青いラインを実装 */
footer {
font-size: 0;
color: transparent;
position: absolute;
left: 56px;
right: 56px;
bottom: 40px;
height: 8px;
background-color: var(--color-heading);
}
/* --- 特別なクラス --- */
section.lead {
border-bottom: 8px solid var(--color-hr);
}
/* タイトルページではフッターラインを非表示にする */
section.lead footer {
display: none;
}
section.lead h1 {
margin-bottom: 24px;
}
section.lead p {
font-size: 24px;
color: var(--color-foreground);
}
/* ガイドライン用のスタイル */
.bad-example {
background-color: #fbe9e7;
color: #c62828;
padding: 8px 16px;
border-radius: 4px;
}