diff --git a/docs/screenshots/issue-161-footer-mobile.png b/docs/screenshots/issue-161-footer-mobile.png new file mode 100644 index 0000000..57b7999 Binary files /dev/null and b/docs/screenshots/issue-161-footer-mobile.png differ diff --git a/docs/screenshots/issue-161-footer-pc.png b/docs/screenshots/issue-161-footer-pc.png new file mode 100644 index 0000000..3d53706 Binary files /dev/null and b/docs/screenshots/issue-161-footer-pc.png differ diff --git a/docs/screenshots/issue-163-share-mobile.png b/docs/screenshots/issue-163-share-mobile.png new file mode 100644 index 0000000..57d41eb Binary files /dev/null and b/docs/screenshots/issue-163-share-mobile.png differ diff --git a/docs/screenshots/issue-163-share-pc.png b/docs/screenshots/issue-163-share-pc.png new file mode 100644 index 0000000..ef14178 Binary files /dev/null and b/docs/screenshots/issue-163-share-pc.png differ diff --git a/docs/screenshots/issue-163-share-textarea-mobile.png b/docs/screenshots/issue-163-share-textarea-mobile.png new file mode 100644 index 0000000..23d04fb Binary files /dev/null and b/docs/screenshots/issue-163-share-textarea-mobile.png differ diff --git a/docs/screenshots/issue-163-share-textarea-pc.png b/docs/screenshots/issue-163-share-textarea-pc.png new file mode 100644 index 0000000..8086126 Binary files /dev/null and b/docs/screenshots/issue-163-share-textarea-pc.png differ diff --git a/docs/screenshots/issue-166-after-about.png b/docs/screenshots/issue-166-after-about.png new file mode 100644 index 0000000..fafdb63 Binary files /dev/null and b/docs/screenshots/issue-166-after-about.png differ diff --git a/docs/screenshots/issue-166-after-ranking-mobile.png b/docs/screenshots/issue-166-after-ranking-mobile.png new file mode 100644 index 0000000..cc463f8 Binary files /dev/null and b/docs/screenshots/issue-166-after-ranking-mobile.png differ diff --git a/docs/screenshots/issue-166-after-ranking.png b/docs/screenshots/issue-166-after-ranking.png new file mode 100644 index 0000000..a0a24ee Binary files /dev/null and b/docs/screenshots/issue-166-after-ranking.png differ diff --git a/docs/screenshots/issue-166-after-sanpai.png b/docs/screenshots/issue-166-after-sanpai.png new file mode 100644 index 0000000..2bd870e Binary files /dev/null and b/docs/screenshots/issue-166-after-sanpai.png differ diff --git a/docs/screenshots/issue-166-after-top-mobile.png b/docs/screenshots/issue-166-after-top-mobile.png new file mode 100644 index 0000000..19f0eb6 Binary files /dev/null and b/docs/screenshots/issue-166-after-top-mobile.png differ diff --git a/docs/screenshots/issue-166-after-top.png b/docs/screenshots/issue-166-after-top.png new file mode 100644 index 0000000..807e81d Binary files /dev/null and b/docs/screenshots/issue-166-after-top.png differ diff --git a/docs/screenshots/issue-166-before-about.png b/docs/screenshots/issue-166-before-about.png new file mode 100644 index 0000000..029ea77 Binary files /dev/null and b/docs/screenshots/issue-166-before-about.png differ diff --git a/docs/screenshots/issue-166-before-ranking.png b/docs/screenshots/issue-166-before-ranking.png new file mode 100644 index 0000000..ef7908a Binary files /dev/null and b/docs/screenshots/issue-166-before-ranking.png differ diff --git a/web/assets/css/color.css b/web/assets/css/color.css index 2aa5476..3d48b29 100644 --- a/web/assets/css/color.css +++ b/web/assets/css/color.css @@ -1,34 +1,44 @@ -.text-twitter { - color: #1da1f2; -} -.text-facebook { - color: #1778f2; -} -.text-hatena { - color: #1da1f2; -} -.text-github { - color: #333; -} -.text-connpass { - color: #666; -} +/* デザイントークン(#166) + 基準は「夜の神社×暖色」(おみくじ演出・実績カード群のトーン)。 + 色はここで一元管理し、各所ではトークンを参照する */ +:root { + /* ベース */ + --color-text: #ffffff; + --color-text-muted: #9a9a9a; + --color-link: #cccccc; + + /* サーフェス(GitHub実績カード等と同系のダークカード) */ + --color-surface: #0d1117; + --color-surface-border: #30363d; -.bg-twitter { - background-color: #1da1f2; + /* アクセント(提灯・鈴の金に合わせた琥珀) */ + --color-accent: #e0a83c; + --color-accent-hover: #c98f2a; + --color-accent-soft: #ffcf6b; + + /* SNSブランド色 */ + --color-x: #000000; + --color-bluesky: #0085ff; + --color-facebook: #1778f2; + --color-github: #333333; + --color-discord: #5865f2; + + /* レイアウト */ + --width-content: 600px; } -.bg-facebook { - background-color: #1778f2; + +.bg-x { + background-color: var(--color-x); } -.bg-line { - background-color: #00B900; +.bg-bluesky { + background-color: var(--color-bluesky); } -.bg-hatena { - background-color: #1da1f2; +.bg-facebook { + background-color: var(--color-facebook); } .bg-github { - background-color: #333; + background-color: var(--color-github); } .bg-discord { - background-color: #5865F2; + background-color: var(--color-discord); } diff --git a/web/assets/css/common.css b/web/assets/css/common.css index 8912cdf..91f8c65 100644 --- a/web/assets/css/common.css +++ b/web/assets/css/common.css @@ -2,11 +2,17 @@ body { background-image: url(/background.png); background-repeat: repeat; background-size: 8%; - color: #fff; + color: var(--color-text); } a { - color: #ccc; + color: var(--color-link); +} + +/* インラインコード(aboutの`でばっぐ神社とは`等)。 + Bootstrap既定のピンクをやめ、サイトの暖色トーンに合わせる */ +code { + color: var(--color-accent-soft); } .w-35 { @@ -20,3 +26,52 @@ a { .h-min-100vh { min-height: 100vh; } + +/* 本文系コンテンツの標準幅(インラインstyleのmax-width散在を置き換える) */ +.content-narrow { + max-width: var(--width-content); + margin-left: auto; + margin-right: auto; +} + +/* ダークカード(GitHub実績カード・参拝の草と同系のサーフェス) */ +.card-shrine { + background-color: var(--color-surface); + border: 1px solid var(--color-surface-border); + border-radius: 0.5rem; + color: var(--color-text); +} + +/* セクション見出し(実績カード群の見出しと同じ、太字ゴシック) */ +.section-title { + font-size: 1.35rem; + font-weight: 700; +} + +/* 主要アクション(参拝・おみくじ・鈴)は琥珀のボタン。汎用はBootstrap標準のまま */ +.btn-accent { + color: #1a1206; + font-weight: 700; + background-color: var(--color-accent); + border-color: var(--color-accent); +} +.btn-accent:hover, +.btn-accent:focus, +.btn-accent:active { + color: #1a1206; + background-color: var(--color-accent-hover); + border-color: var(--color-accent-hover); +} + +/* ボタンに見えない強調ラベル(「でばっぐのうりょく」等) */ +.label-accent { + color: var(--color-accent-soft); + font-weight: 700; + letter-spacing: 0.08em; +} + +/* 経験値バー等の進捗もトーンを揃える */ +.progress-bar { + background-color: var(--color-accent); + color: #1a1206; +} diff --git a/web/assets/css/font.css b/web/assets/css/font.css index 5e1c926..23b83d7 100644 --- a/web/assets/css/font.css +++ b/web/assets/css/font.css @@ -5,6 +5,7 @@ body { font-family: var(--font-family-sans-serif); + line-height: 1.75; } h1, h2, h3, h4, h5, h6 { diff --git a/web/components/CommonFooter.vue b/web/components/CommonFooter.vue index fd91aa9..b4cb8a6 100644 --- a/web/components/CommonFooter.vue +++ b/web/components/CommonFooter.vue @@ -22,33 +22,21 @@
diff --git a/web/components/GithubStats.vue b/web/components/GithubStats.vue index f6e8782..89dfe0c 100644 --- a/web/components/GithubStats.vue +++ b/web/components/GithubStats.vue @@ -1,7 +1,7 @@