summaryrefslogtreecommitdiff
path: root/sass/_code.scss
diff options
context:
space:
mode:
authortanaka takashi <isazaka@gmail.com>2026-08-22 00:18:56 +0900
committertanaka takashi <isazaka@gmail.com>2026-08-22 00:19:26 +0900
commit9f2fb3bda733c32995c008bd0f40365e43c348da (patch)
tree663a6b48ec83b2b6ba2c998dcfed89e0bb29f172 /sass/_code.scss
parent31b19ee74469c23633bbea4e021d91ddd8c34e3a (diff)
feat: Zolaで「たかしの記録」を構築
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の成功を確認
Diffstat (limited to 'sass/_code.scss')
-rw-r--r--sass/_code.scss38
1 files changed, 38 insertions, 0 deletions
diff --git a/sass/_code.scss b/sass/_code.scss
new file mode 100644
index 0000000..bc83892
--- /dev/null
+++ b/sass/_code.scss
@@ -0,0 +1,38 @@
+code,
+pre {
+ font-family: var(--font-mono);
+}
+
+.prose code:not(pre code) {
+ padding: 0.1em 0.3em;
+ border: var(--rule);
+ background: var(--color-surface);
+ font-size: 0.88em;
+}
+
+.prose pre {
+ width: 100%;
+ max-width: 100%;
+ overflow-x: auto;
+ padding: 1rem 1.15rem;
+ border: var(--rule);
+ background: var(--color-surface);
+ font-size: 0.88rem;
+ line-height: 1.65;
+}
+
+.giallo-l {
+ display: inline-block;
+ min-height: 1lh;
+ width: 100%;
+}
+
+.giallo-ln {
+ display: inline-block;
+ min-width: 3ch;
+ margin-right: 0.4em;
+ padding: 0.4em;
+ opacity: 0.8;
+ text-align: right;
+ user-select: none;
+}