diff --git a/blocks/benchmark_table.ninjatpl b/blocks/benchmark_table.ninjatpl index f2f9c28..ade9045 100644 --- a/blocks/benchmark_table.ninjatpl +++ b/blocks/benchmark_table.ninjatpl @@ -1 +1 @@ -
{% if heading %}

{{ eyebrow|default:"Benchmarks" }}

{{ heading }}

{% endif %}{% if rows %}{% for row in rows %}
{{ row.label }}{{ row.value }}{% if row.unit %} {{ row.unit }}{% endif %}
{% endfor %}{% else %}

No benchmark rows yet.

{% endif %}{% if note %}

{{ note }}

{% endif %}
+
{% if heading %}

{{ eyebrow|default:"Benchmarks" }}

{{ heading }}

{% endif %}{% if rows %}{% for row in rows %}
{{ row.label }}{{ row.value }}{% if row.unit %} {{ row.unit }}{% endif %}
{% endfor %}{% else %}

No benchmark rows yet.

{% endif %}{% if note %}

{{ note }}

{% endif %}
diff --git a/manifest.yaml b/manifest.yaml index 93fc732..66fac6d 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -141,7 +141,6 @@ css: .sc-content-well { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; box-sizing: border-box; } .sc-measure { max-width: 70ch; } .sc-article-measure { max-width: 72ch; } - .sc-swiss-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 1.5rem; } .sc-section { padding-top: 3.5rem; padding-bottom: 3.5rem; } .sc-section-tight { padding-top: 2.75rem; padding-bottom: 2.75rem; } .sc-hairline { border: 1px solid hsl(var(--border)); } @@ -203,15 +202,6 @@ css: .sc-media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; } .sc-img-empty { display: block; width: 100%; aspect-ratio: 4 / 3; background-color: hsl(var(--muted)); border: 1px solid hsl(var(--border)); } - /* --- Responsive grids --- */ - .sc-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(1, minmax(0, 1fr)); } - @media (min-width: 640px) { .sc-grid-2, .sc-grid-3, .sc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } } - @media (min-width: 1024px) { .sc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } } - .sc-leadership-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(1, minmax(0, 1fr)); } - @media (min-width: 640px) { .sc-leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } - @media (min-width: 1024px) { .sc-leadership-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } - @media (min-width: 1280px) { .sc-leadership-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } } - /* --- Chrome: navbar --- */ .sc-navbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; } .sc-brand { font-family: var(--font-heading, "Inter", system-ui, sans-serif); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; color: hsl(var(--foreground)); text-decoration: none; display: inline-flex; align-items: center; gap: 0.625rem; } @@ -243,9 +233,6 @@ css: /* --- Chrome: footer --- */ .sc-footer { background-color: hsl(var(--background)); color: hsl(var(--foreground)); border-top: 2px solid hsl(var(--accent)); padding: 3.5rem 0 2.5rem; } - .sc-footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(1, minmax(0, 1fr)); } - @media (min-width: 640px) { .sc-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } } - @media (min-width: 1024px) { .sc-footer-cols { grid-template-columns: 2fr repeat(3, 1fr); } } .sc-footer-head { font-family: var(--font-heading, "Inter", system-ui, sans-serif); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: hsl(var(--muted-foreground)); margin: 0 0 0.875rem; } .sc-footer-link { display: block; font-size: 0.9375rem; color: hsl(var(--foreground)); text-decoration: none; padding: 0.25rem 0; } .sc-footer-link:hover { color: hsl(var(--accent)); } @@ -255,8 +242,6 @@ css: .sc-hero { padding: 5rem 0; } .sc-hero-headline { font-family: var(--font-heading, "Inter", system-ui, sans-serif); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(2.5rem, 6vw, 4.5rem); color: hsl(var(--foreground)); margin: 0; } .sc-hero-sub { font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.5; color: hsl(var(--muted-foreground)); margin: 1.25rem 0 0; } - .sc-hero-split { display: grid; gap: 3rem; grid-template-columns: repeat(1, minmax(0, 1fr)); align-items: center; } - @media (min-width: 1024px) { .sc-hero-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* --- Marketing: logo strip --- */ .sc-logo { filter: grayscale(1); opacity: 0.65; transition: filter 200ms ease, opacity 200ms ease; } @@ -347,9 +332,6 @@ css: .sc-post-title:hover { color: hsl(var(--accent)); } .sc-post-meta { font-family: var(--font-mono, "JetBrains Mono", ui-monospace, monospace); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: hsl(var(--muted-foreground)); } .sc-post-excerpt { color: hsl(var(--muted-foreground)); font-size: 0.9375rem; line-height: 1.6; } - .sc-post-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(1, minmax(0, 1fr)); } - @media (min-width: 640px) { .sc-post-grid-2, .sc-post-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } } - @media (min-width: 1024px) { .sc-post-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } } .sc-tag { display: inline-block; font-family: var(--font-mono, "JetBrains Mono", ui-monospace, monospace); font-size: 0.75rem; letter-spacing: 0.04em; padding: 0.1875rem 0.5rem; border: 1px solid hsl(var(--border)); border-radius: 3px; color: hsl(var(--muted-foreground)); text-decoration: none; } .sc-tag:hover { border-color: hsl(var(--accent)); color: hsl(var(--accent)); } .sc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: hsl(var(--muted-foreground)); } @@ -456,7 +438,6 @@ css: .sc-spec-value { text-align: right; white-space: nowrap; padding: 0.625rem 0.375rem 0.625rem 1rem; color: hsl(var(--foreground)); font-variant-numeric: tabular-nums; font-weight: 500; } .sc-spec-unit { text-align: left; white-space: nowrap; width: 1%; padding: 0.625rem 0.5rem 0.625rem 0; color: hsl(var(--muted-foreground)); font-size: 0.75rem; } - .sc-bench-row { display: grid; grid-template-columns: 1fr auto; gap: 0.375rem 1rem; align-items: baseline; margin-bottom: 1rem; } .sc-bench-name { font-family: var(--font-body, "Inter", system-ui, sans-serif); font-size: 0.9375rem; color: hsl(var(--foreground)); } .sc-bench-value { font-family: var(--font-mono, ui-monospace, monospace); font-variant-numeric: tabular-nums; font-weight: 500; color: hsl(var(--foreground)); } .sc-bench-track { grid-column: 1 / -1; height: 6px; background-color: hsl(var(--muted)); border-radius: 2px; overflow: hidden; } diff --git a/templates/overrides/scifi-clean/blog-hero.ninjatpl b/templates/overrides/scifi-clean/blog-hero.ninjatpl index bb35ccf..97e6feb 100644 --- a/templates/overrides/scifi-clean/blog-hero.ninjatpl +++ b/templates/overrides/scifi-clean/blog-hero.ninjatpl @@ -1 +1 @@ -
{% if title %}

{{ title }}

{% endif %}{% if subtitle %}

{{ subtitle }}

{% endif %}
{% if posts %}
{% for post in posts %}
{% if post.featured_image_url %}{{ post.title }}{% endif %}

{{ post.title }}

{% if showExcerpt and post.excerpt %}

{{ post.excerpt }}

{% endif %}
{% endfor %}
{% endif %}
+
{% if title %}

{{ title }}

{% endif %}{% if subtitle %}

{{ subtitle }}

{% endif %}
{% if posts %}
{% for post in posts %}
{% if post.featured_image_url %}{{ post.title }}{% endif %}

{{ post.title }}

{% if showExcerpt and post.excerpt %}

{{ post.excerpt }}

{% endif %}
{% endfor %}
{% endif %}
diff --git a/templates/overrides/scifi-clean/contact-card.ninjatpl b/templates/overrides/scifi-clean/contact-card.ninjatpl index b347818..05f0d20 100644 --- a/templates/overrides/scifi-clean/contact-card.ninjatpl +++ b/templates/overrides/scifi-clean/contact-card.ninjatpl @@ -2,7 +2,7 @@
{% if heading %}

{{ heading }}

{% endif %} {% if description %}

{{ description }}

{% endif %} -
+
{% for channel in channels %}
{% if channel.icon %}::{{ channel.icon }}:sm::{% endif %}
diff --git a/templates/overrides/scifi-clean/event-list.ninjatpl b/templates/overrides/scifi-clean/event-list.ninjatpl index 1c7e4fd..6e0d0c1 100644 --- a/templates/overrides/scifi-clean/event-list.ninjatpl +++ b/templates/overrides/scifi-clean/event-list.ninjatpl @@ -3,7 +3,7 @@ {% if heading %}

{{ heading }}

{% endif %} {% if intro %}

{{ intro }}

{% endif %} {% if layout == "cards" %} -
+
{% for event in events %}{% if not (hidePast and event.past) %}
{% if event.media %}
{% img event.media alt=event.title|default:"" class="sc-event-media" %}
{% endif %}
diff --git a/templates/overrides/scifi-clean/feature-grid.ninjatpl b/templates/overrides/scifi-clean/feature-grid.ninjatpl index 4b44bcb..e390c53 100644 --- a/templates/overrides/scifi-clean/feature-grid.ninjatpl +++ b/templates/overrides/scifi-clean/feature-grid.ninjatpl @@ -3,5 +3,5 @@ {% if eyebrow %}

{{ eyebrow }}

{% endif %} {% if heading %}

{{ heading }}

{% endif %} {% if intro %}

{{ intro }}

{% endif %} -{% if items %}
{% for item in items %}
{% if item.icon %}{% else %}{% endif %}{% if item.title %}

{% if item.linkUrl %}{{ item.title }}{% else %}{{ item.title }}{% endif %}

{% endif %}{% if item.text %}

{{ item.text }}

{% endif %}{% if item.linkUrl and item.linkLabel %}{{ item.linkLabel }}::lucide:arrow-right:sm::{% endif %}
{% endfor %}
{% endif %} +{% if items %}
{% for item in items %}
{% if item.icon %}{% else %}{% endif %}{% if item.title %}

{% if item.linkUrl %}{{ item.title }}{% else %}{{ item.title }}{% endif %}

{% endif %}{% if item.text %}

{{ item.text }}

{% endif %}{% if item.linkUrl and item.linkLabel %}{{ item.linkLabel }}::lucide:arrow-right:sm::{% endif %}
{% endfor %}
{% endif %}
diff --git a/templates/overrides/scifi-clean/featured-posts.ninjatpl b/templates/overrides/scifi-clean/featured-posts.ninjatpl index 52ffbdc..e0bc838 100644 --- a/templates/overrides/scifi-clean/featured-posts.ninjatpl +++ b/templates/overrides/scifi-clean/featured-posts.ninjatpl @@ -1 +1 @@ -
{% if heading %}

{{ heading }}

{% endif %}
{% for post in posts %}
{% if showFeaturedImage and post.featured_image_url %}{{ post.title }}{% endif %}

{{ post.title }}

{% if showExcerpt and post.excerpt %}

{{ post.excerpt }}

{% endif %}
{% endfor %}
+
{% if heading %}

{{ heading }}

{% endif %}
{% for post in posts %}
{% if showFeaturedImage and post.featured_image_url %}{{ post.title }}{% endif %}

{{ post.title }}

{% if showExcerpt and post.excerpt %}

{{ post.excerpt }}

{% endif %}
{% endfor %}
diff --git a/templates/overrides/scifi-clean/footer.ninjatpl b/templates/overrides/scifi-clean/footer.ninjatpl index 3ae865a..f26771d 100644 --- a/templates/overrides/scifi-clean/footer.ninjatpl +++ b/templates/overrides/scifi-clean/footer.ninjatpl @@ -1,6 +1,6 @@ {# footer override — schematic-grid footer chrome from CONTENT fields (brand, contact, newsletter, legal); menu columns / social / legal rows render from the footer providers (empty today, forward-correct). #}