@press2ai/theme-specialist-glossy 0.11.2 → 0.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@press2ai/theme-specialist-glossy",
3
- "version": "0.11.2",
3
+ "version": "0.11.4",
4
4
  "description": "Classless, AI-first glossy theme. Framework-agnostic templates (Hono, Astro, raw HTML). Semantic HTML, Schema.org microdata, JSON-LD — built for LLM crawlers.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/ai.ts CHANGED
@@ -59,7 +59,7 @@ export function getAiManifest(opts: {
59
59
 
60
60
  powered_by: {
61
61
  name: '@press2ai/theme-specialist-glossy',
62
- version: '0.11.2',
62
+ version: '0.11.4',
63
63
  homepage: 'https://github.com/press2ai/theme-specialist-glossy',
64
64
  },
65
65
 
@@ -269,8 +269,9 @@ section:has(> article[itemscope]) > article[itemscope] > a:last-child {
269
269
  section:has(> article[itemscope]) > article[itemscope] > a:last-child:hover { color: var(--ink); gap: 4px; }
270
270
 
271
271
  /* Single trainer — Swiss design */
272
+ main:has(> article) { margin-inline: 0; }
272
273
  main > article {
273
- max-width: var(--w-8); margin-inline: auto;
274
+ max-width: var(--w-8);
274
275
  padding: var(--g5) 0;
275
276
  }
276
277
  main > article > header { padding-bottom: var(--g4); margin-bottom: var(--g4); border-bottom: 2px solid var(--ink); }
@@ -1,5 +1,6 @@
1
- export const css = `main > article {
2
- max-width: var(--w-8); margin-inline: auto;
1
+ export const css = `main:has(> article) { margin-inline: 0; }
2
+ main > article {
3
+ max-width: var(--w-8);
3
4
  padding: var(--g5) 0;
4
5
  }
5
6
  main > article > header { padding-bottom: var(--g4); margin-bottom: var(--g4); border-bottom: 2px solid var(--ink); }
@@ -12,7 +12,7 @@ export interface LayoutProps {
12
12
  footerContent?: string;
13
13
  }
14
14
 
15
- const THEME_VERSION = '0.11.2';
15
+ const THEME_VERSION = '0.11.4';
16
16
 
17
17
  export function layout(props: LayoutProps, body: string): string {
18
18
  const {