コンテンツにスキップ

化粧品紹介 / 共通CSSと設定

この作例の全ページに共通するCSSとプロジェクト設定です。CSSは製品のbusinessプリセットを拡張します。個別ページのソースと組み合わせて使います。

作例一覧へ戻る

/* 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;}
{
  "schemaVersion": 1,
  "name": "design-cosmetics-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": []
  }
}