@writedocs/generator 0.18.0 → 0.19.0

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": "@writedocs/generator",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "Static site generator for docs — a writedocs.json + MDX folder in, a static site out.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -114,7 +114,7 @@ export const SCALAR_REFERENCE_RULES = [
114
114
  [`${R} .operation-title`, '--font-size: 1.5rem; --font-weight: 700; line-height: 1.6;', "an operation's title: the site's h2"],
115
115
  [`${R} .markdown`, '--markdown-line-height: 1.6; color: var(--wd-text);', "text: the site's line height and text color (Scalar's is the heading color)"],
116
116
  [`${R} .section`, 'padding-block: 2.75rem;', "the space around a section: the site's before an h2"],
117
- [`${R} .introduction-section`, 'padding-top: 1.5rem;', "the reference's title where the site's h1 is"],
117
+ [`${R} .introduction-section`, 'padding-top: 3.5rem;', "the reference's title where the site's h1 is"],
118
118
  [`${R} .introduction-section .section-content`, 'position: relative;', 'so the version badges can sit above the title'],
119
119
  [`${R} .introduction-section .section-content > :first-child:has(.badge)`, 'position: absolute; bottom: 100%; margin-bottom: 0.5rem;', "the version badges above the title, without pushing it down"],
120
120
  ];