From 9f2fb3bda733c32995c008bd0f40365e43c348da Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Sat, 22 Aug 2026 00:18:56 +0900 Subject: feat: Zolaで「たかしの記録」を構築 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Specifications.mdとDesign.mdを実装の基準として、個人アーカイブサイトをZola 0.23.3向けに構築する。 - Home、Notes、Software、About、Tagsの情報設計と専用URLを追加 - Notesの年別アーカイブ、タグ分類、目次、脚注、参考文献、更新日表示を実装 - Softwareの一覧・詳細、cgit/GitHub情報、Notesとの明示的な相互参照を実装 - Tera 2 componentによる再帰TOCと共通partialsを追加 - Minimal Editorial ArchiveのSCSS、レスポンシブ表示、アクセシビリティ対応を追加 - OS設定とlocalStorageに対応するLight/Darkテーマ切替を外部JavaScriptで実装 - Atom/RSS、sitemap、robots.txt、404、favicon、syntax highlightingを設定 - メールアドレスをzola.tomlへ一元化し、AboutとFooterから参照 - 表示名・内部ディレクトリ・変数・URLをSoftware/softwareへ統一 - public/をGit管理対象外とし、外部CDNやNode.js依存を導入しない - zola checkおよびzola buildの成功を確認 --- sass/_base.scss | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 sass/_base.scss (limited to 'sass/_base.scss') diff --git a/sass/_base.scss b/sass/_base.scss new file mode 100644 index 0000000..d460c41 --- /dev/null +++ b/sass/_base.scss @@ -0,0 +1,47 @@ +body { + min-height: 100vh; + overflow-x: hidden; + overflow-wrap: anywhere; + background: var(--color-bg); + color: var(--color-text); + font-family: var(--font-sans); + font-size: 1rem; + line-height: 1.75; + text-rendering: optimizeLegibility; +} + +main, +article, +section, +div { + min-width: 0; +} + +a { + color: var(--color-link); + text-decoration-line: underline; + text-decoration-thickness: 0.075em; + text-underline-offset: 0.18em; +} + +a:hover { + color: var(--color-link-hover); +} + +:focus-visible { + outline: 3px solid var(--color-focus); + outline-offset: 3px; +} + +::selection { + background: var(--color-link); + color: var(--color-bg); +} + +.external-link::after { + display: inline-block; + margin-left: 0.2em; + content: "↗"; + font-size: 0.78em; + text-decoration: none; +} -- cgit v1.2.3