@neo4j-antora/pdf-generator 0.1.7 → 0.1.8

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": "@neo4j-antora/pdf-generator",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Generates a PDF export from an Antora docset, styled to match the real Neo4j docs site, via @antora/assembler + @antora/pdf-extension and asciidoctor-web-pdf",
5
5
  "main": "extension.js",
6
6
  "files": [
@@ -28,5 +28,10 @@
28
28
  "@neo4j-documentation/macros": "1.0.4",
29
29
  "@neo4j-documentation/remote-include": "1.0.0",
30
30
  "node-html-parser": "9.0.4"
31
+ },
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "git+https://github.com/neo4j/docs-tools.git",
35
+ "directory": "pdf-generator"
31
36
  }
32
37
  }
@@ -354,6 +354,32 @@ tr { break-inside: avoid; }
354
354
  .admonitionblock.note td.content > .title,
355
355
  .admonitionblock.tip td.content > .title { color: var(--brand-primary-strong); }
356
356
 
357
+ /* quoteblocks - includes a page's own [abstract]/{description} block (every page
358
+ authors `[abstract]\n{description}` right after its own title), which Asciidoctor
359
+ renders as a plain, unstyled quoteblock - this theme never styled quoteblocks at all,
360
+ so it rendered as nothing but the renderer's own default blockquote indent, no visual
361
+ distinction from body text. Styled as a neutral callout box, same visual language as a
362
+ plain (non-colored) admonition above, matching how the real site styles this exact
363
+ block (#preamble .abstract) as a distinct box rather than a plain paragraph. */
364
+ .quoteblock { break-inside: avoid-page; margin: 1em 0; }
365
+ .quoteblock blockquote {
366
+ margin: 0;
367
+ border-left: 3pt solid var(--brand-border-strong);
368
+ padding: 8pt 12pt;
369
+ background: var(--brand-bg-strong);
370
+ font-style: italic;
371
+ color: var(--brand-text-weak);
372
+ }
373
+ .quoteblock blockquote .paragraph:last-child { margin-bottom: 0; }
374
+ .quoteblock .attribution {
375
+ margin-top: 6pt;
376
+ font-size: 9.5pt;
377
+ font-style: normal;
378
+ color: var(--brand-text-weaker);
379
+ text-align: right;
380
+ }
381
+ .quoteblock .attribution cite { font-style: italic; }
382
+
357
383
  /* lists */
358
384
  .ulist, .olist, .dlist { margin: 0.5em 0; }
359
385