高級時計の販売資料 / 共通CSSと設定
この作例の全ページに共通するCSSとプロジェクト設定です。CSSは製品のbusinessプリセットを拡張します。個別ページのソースと組み合わせて使います。
design/theme.css
「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:#6c5635;--text:#28241f;--muted:#6f685c;--background:#fcfaf6;}h1{font-family:"PS Serif",serif;font-size:37pt;line-height:1.2;letter-spacing:.025em;font-weight:400;margin-bottom:22pt;}h2{font-family:"PS Serif",serif;font-size:17pt;font-weight:400;border-bottom:1pt solid #c9b998;margin-top:24pt;}p{max-width:145mm;}table{font-size:10pt;border:none;}th{background:#fcfaf6;border-bottom:1pt solid #9d8b68;}td{padding:11pt;border:none;border-bottom:.5pt solid #ddd5c5;}figure{margin:25pt 0;}blockquote{font-family:"PS Serif",serif;font-size:14pt;background:transparent;border-left:1pt solid #9d8b68;padding:12pt 18pt;}
.illustration-panel img{width:100%;max-height:70mm;object-fit:contain;}.illustration-panel figcaption{font-size:9pt;line-height:1.4;}
.wworpoint/project.json
「.wworpoint/project.json」の節へ{
"schemaVersion": 1,
"name": "design-luxury-ja",
"entry": "document.md",
"document": {
"mode": "paged",
"lang": "ja-JP",
"defaultPage": {
"size": "A4",
"orientation": "portrait"
}
},
"theme": {
"preset": "business",
"entry": "design/theme.css"
},
"output": {
"directory": "dist",
"formats": [
"pdf"
]
},
"security": {
"html": "none",
"sharedAssetRoots": []
}
}