Cosmetics presentation / Shared CSS and settings
These are the CSS and project settings shared by all pages of this example. The CSS extends the product’s business preset. Use them together with the individual page sources.
design/theme.css
Section titled “design/theme.css”/* Original sample CSS, extends business preset. */
.ps-mode-paged{font-size:11pt;line-height:1.6;}.ps-mode-paged .ps-fixed>.ps-body{padding:18mm 18mm;}
:root{--accent:#974967;--text:#4d2f3c;--muted:#765565;--background:#fff9fb;}h1{font-size:32pt;line-height:1.2;letter-spacing:.01em;color:#974967;}h2{font-size:15pt;color:#974967;border-bottom:1pt solid #dfb2c4;}table{font-size:10pt;}th{background:#f5d7e2;color:#5b3445;}td{padding:10pt;border-color:#e8c4d2;}blockquote{border:1pt solid #d2a0b6;border-radius:14pt;padding:12pt;background:#fce9f0;color:#644153;}figure{margin:14pt 0;}
.illustration-panel img{width:100%;max-height:55mm;object-fit:contain;}.illustration-panel figcaption{font-size:9pt;line-height:1.4;}
.wworpoint/project.json
Section titled “.wworpoint/project.json”{
"schemaVersion": 1,
"name": "design-cosmetics-en",
"entry": "document.md",
"document": {
"mode": "paged",
"lang": "en-US",
"defaultPage": {
"size": "A4",
"orientation": "portrait"
}
},
"theme": {
"preset": "business",
"entry": "design/theme.css"
},
"output": {
"directory": "dist",
"formats": [
"pdf"
]
},
"security": {
"html": "none",
"sharedAssetRoots": []
}
}