From 437c403830bfd2cf7a6f2e202223292f9b64970c Mon Sep 17 00:00:00 2001 From: zenn Date: Mon, 13 Apr 2026 16:30:38 +0900 Subject: [PATCH] =?UTF-8?q?v0.1.8=20=EB=A9=94=EC=9D=B8=20=ED=9E=88?= =?UTF-8?q?=EC=96=B4=EB=A1=9C=20=EB=B0=8F=20=EC=B9=B4=EB=93=9C=20=EB=94=94?= =?UTF-8?q?=ED=85=8C=EC=9D=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/built/screen.css | 117 +++++++++++++++++++++++++++++++++- package.json | 2 +- partials/home/hero.hbs | 2 +- partials/home/tabbed-feed.hbs | 16 +++-- partials/lists/post-items.hbs | 9 ++- 5 files changed, 134 insertions(+), 12 deletions(-) diff --git a/assets/built/screen.css b/assets/built/screen.css index 9443fc4..623f4cf 100644 --- a/assets/built/screen.css +++ b/assets/built/screen.css @@ -593,6 +593,11 @@ input { font-weight: 800; } +.hero__title em { + font-style: italic; + font-weight: 700; +} + .hero__description, .section-description { max-width: 620px; @@ -654,12 +659,19 @@ input { gap: 18px; } +.tab-row-wrap { + display: flex; + align-items: flex-end; + justify-content: space-between; + gap: 14px; + padding-bottom: 14px; + border-bottom: 1px solid var(--border); +} + .tab-row { display: flex; flex-wrap: wrap; gap: 22px; - padding-bottom: 14px; - border-bottom: 1px solid var(--border); } .tab-row__button { @@ -677,6 +689,54 @@ input { border-color: var(--accent); } +.view-toggle { + display: inline-flex; + align-items: center; + gap: 8px; + padding: 8px 10px; + border: 1px solid var(--border); + border-radius: 14px; + background: var(--surface); + color: var(--text-soft); + cursor: pointer; +} + +.view-toggle__grid { + position: relative; + display: block; + width: 14px; + height: 14px; +} + +.view-toggle__grid::before, +.view-toggle__grid::after { + content: ""; + position: absolute; + left: 0; + width: 14px; + height: 2px; + background: currentColor; + border-radius: 999px; +} + +.view-toggle__grid::before { + top: 3px; + box-shadow: 0 6px 0 currentColor; +} + +.view-toggle__grid::after { + top: 0; + left: 0; + width: 2px; + height: 14px; + box-shadow: 6px 0 0 currentColor; +} + +.view-toggle__chevron { + font-size: 14px; + line-height: 1; +} + .tab-panel { display: none; } @@ -735,6 +795,7 @@ input { gap: 8px; color: var(--text-soft); font-size: 13px; + align-items: center; } .meta-pill { @@ -748,6 +809,26 @@ input { font-weight: 700; } +.meta-item { + display: inline-flex; + align-items: center; + gap: 6px; +} + +.meta-item + .meta-item::before, +.meta-pill + .meta-item::before, +.meta-item + .meta-pill::before { + content: "/"; + color: var(--border-strong); + margin-right: 2px; +} + +.meta-item__icon { + font-size: 11px; + line-height: 1; + color: var(--text-dim); +} + .category-overview { display: grid; } @@ -825,6 +906,10 @@ input { letter-spacing: 0.06em; } +.social-row a:hover { + color: var(--text); +} + .recommended-list { margin: 0; padding: 0; @@ -844,6 +929,22 @@ input { text-overflow: ellipsis; } +.recommended-list li { + position: relative; + padding-left: 16px; +} + +.recommended-list li::before { + content: ""; + position: absolute; + left: 0; + top: 11px; + width: 6px; + height: 6px; + border-radius: 999px; + background: var(--surface-strong); +} + .author-feature { display: flex; gap: 14px; @@ -1232,6 +1333,10 @@ input { grid-template-columns: 1fr; gap: 10px; } + + .tab-row-wrap { + align-items: center; + } } @media (max-width: 640px) { @@ -1269,4 +1374,12 @@ input { .post-title { font-size: 2.15rem; } + + .tab-row-wrap { + gap: 10px; + } + + .view-toggle { + padding: 8px; + } } diff --git a/package.json b/package.json index 6ae972f..65d4e61 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghost-theme-thred-clone", - "version": "0.1.7", + "version": "0.1.8", "private": true, "description": "A Ghost theme inspired by the Thred reference layout.", "keywords": [ diff --git a/partials/home/hero.hbs b/partials/home/hero.hbs index 40e9dde..ad251cb 100644 --- a/partials/home/hero.hbs +++ b/partials/home/hero.hbs @@ -1,5 +1,5 @@
-

{{@site.title}} ideas published for meaningful conversation, discussed and shaped by the community

+

Ideas published for meaningful conversation, discussed and shaped by the community

{{#if @site.description}}

{{@site.description}}

{{/if}} diff --git a/partials/home/tabbed-feed.hbs b/partials/home/tabbed-feed.hbs index 42ea994..6479cb1 100644 --- a/partials/home/tabbed-feed.hbs +++ b/partials/home/tabbed-feed.hbs @@ -1,9 +1,15 @@
-
- - - - +
+
+ + + + +
+
diff --git a/partials/lists/post-items.hbs b/partials/lists/post-items.hbs index 4057aba..71478b2 100644 --- a/partials/lists/post-items.hbs +++ b/partials/lists/post-items.hbs @@ -12,10 +12,13 @@

{{title}}

{{#if excerpt}}

{{excerpt words="22"}}

{{/if}}
- - {{#primary_author}}{{name}}{{/primary_author}} + + {{#primary_author}}{{name}}{{/primary_author}} {{#primary_tag}}{{name}}{{/primary_tag}} - {{#if comments}}{{comment_count empty="0" singular="" plural="" autowrap="false"}}{{/if}} + + + {{#if comments}}{{comment_count empty="0" singular="" plural="" autowrap="false"}}{{else}}0{{/if}} +