@t8/docsgen 0.1.79 → 0.1.81

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/dist/bin.js CHANGED
@@ -825,7 +825,7 @@ ${intro || features || note ? `
825
825
  </main>
826
826
  </div>
827
827
 
828
- ${[description, intro, features].some((s) => s.includes("<pre><code ")) ? getInjectedContent(ctx, "index", ":has-code") || defaultCodeStyleContent : ""}
828
+ ${[description, intro, features, note].some((s) => s.includes("<pre><code ")) ? getInjectedContent(ctx, "index", ":has-code") || defaultCodeStyleContent : ""}
829
829
  ${counterContent}
830
830
  ${getInjectedContent(ctx, "index", "body")}
831
831
  </body>
@@ -102,16 +102,20 @@ header {
102
102
  }
103
103
  .description {
104
104
  font-size: 1.1em;
105
+ padding: 0.2rem 0;
105
106
  margin: 0;
106
107
  }
107
108
  .description p {
108
- margin-top: 0;
109
+ margin: 0;
110
+ }
111
+ .description p + p {
112
+ margin-top: 0.75em;
109
113
  }
110
114
  .actions {
111
115
  --r: 1em;
112
116
 
113
117
  font-size: 1.25em;
114
- margin: 0.5em 0;
118
+ margin: 1.5rem 0;
115
119
  }
116
120
  .actions a.button {
117
121
  min-width: 32%;
@@ -196,7 +200,7 @@ section.intro .section-content {
196
200
  --list-padding-x: 1.25rem;
197
201
  --list-item-padding-x: 0.35rem;
198
202
 
199
- margin: 2em 0;
203
+ margin: 1em 0;
200
204
  }
201
205
  .features h2 {
202
206
  font-size: 1.25em;
@@ -231,7 +235,7 @@ section.intro .section-content {
231
235
  list-style: disc;
232
236
  }
233
237
  .note {
234
- margin: 1.5em 0;
238
+ margin: 1em 0;
235
239
  }
236
240
  @media (max-width: 840px) {
237
241
  .note {
@@ -241,7 +245,7 @@ section.intro .section-content {
241
245
  p.installation {
242
246
  font-size: 1.25em;
243
247
  text-align: center;
244
- margin: 1em 0;
248
+ margin: 0;
245
249
  }
246
250
  .installation code {
247
251
  background: transparent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t8/docsgen",
3
- "version": "0.1.79",
3
+ "version": "0.1.81",
4
4
  "description": "",
5
5
  "main": "dist/bin.js",
6
6
  "bin": {
@@ -230,7 +230,7 @@ ${
230
230
  </div>
231
231
 
232
232
  ${
233
- [description, intro, features].some((s) => s.includes("<pre><code "))
233
+ [description, intro, features, note].some((s) => s.includes("<pre><code "))
234
234
  ? getInjectedContent(ctx, "index", ":has-code") || defaultCodeStyleContent
235
235
  : ""
236
236
  }
package/src/css/index.css CHANGED
@@ -102,16 +102,20 @@ header {
102
102
  }
103
103
  .description {
104
104
  font-size: 1.1em;
105
+ padding: 0.2rem 0;
105
106
  margin: 0;
106
107
  }
107
108
  .description p {
108
- margin-top: 0;
109
+ margin: 0;
110
+ }
111
+ .description p + p {
112
+ margin-top: 0.75em;
109
113
  }
110
114
  .actions {
111
115
  --r: 1em;
112
116
 
113
117
  font-size: 1.25em;
114
- margin: 0.5em 0;
118
+ margin: 1.5rem 0;
115
119
  }
116
120
  .actions a.button {
117
121
  min-width: 32%;
@@ -196,7 +200,7 @@ section.intro .section-content {
196
200
  --list-padding-x: 1.25rem;
197
201
  --list-item-padding-x: 0.35rem;
198
202
 
199
- margin: 2em 0;
203
+ margin: 1em 0;
200
204
  }
201
205
  .features h2 {
202
206
  font-size: 1.25em;
@@ -231,7 +235,7 @@ section.intro .section-content {
231
235
  list-style: disc;
232
236
  }
233
237
  .note {
234
- margin: 1.5em 0;
238
+ margin: 1em 0;
235
239
  }
236
240
  @media (max-width: 840px) {
237
241
  .note {
@@ -241,7 +245,7 @@ section.intro .section-content {
241
245
  p.installation {
242
246
  font-size: 1.25em;
243
247
  text-align: center;
244
- margin: 1em 0;
248
+ margin: 0;
245
249
  }
246
250
  .installation code {
247
251
  background: transparent;