@t8/docsgen 0.1.43 → 0.1.45

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.
@@ -42,6 +42,11 @@ body {
42
42
  align-items: center;
43
43
  justify-content: center;
44
44
  }
45
+ @media (max-width: 840px) {
46
+ .layout {
47
+ min-height: 100vh;
48
+ }
49
+ }
45
50
 
46
51
  main {
47
52
  --max-content-width: 32em;
@@ -141,7 +146,7 @@ section + section {
141
146
  flex-direction: column;
142
147
  align-self: stretch;
143
148
  justify-content: center;
144
- border-left: 0.1em solid var(--b1-medium);
149
+ border-left: 0.1em solid var(--b1-light);
145
150
  }
146
151
  section.intro-title {
147
152
  text-align: center;
@@ -169,40 +174,42 @@ section.intro-title {
169
174
  .features {
170
175
  --link-color: color(from var(--c0) srgb r g b / 0.55);
171
176
  --link-decoration: underline;
177
+ --list-padding-x: 1.25rem;
178
+ --list-item-padding-x: .35rem;
172
179
 
173
180
  margin: 2em 0;
174
181
  }
175
- @media (max-width: 840px) {
176
- .features {
177
- padding: 0;
178
- margin: 0;
179
- }
180
- }
181
182
  .features h2 {
182
- font-size: 1.5em;
183
+ font-size: 1.25em;
183
184
  font-style: italic;
184
- text-align: center;
185
185
  border: none;
186
- padding: 0.1em 0;
186
+ padding: 0.1em calc(var(--list-padding-x) + var(--list-item-padding-x));
187
187
  margin: 0.75em 0 0.5em;
188
188
  }
189
189
  .features > ul {
190
- list-style: none;
190
+ list-style: circle;
191
191
  padding: 0;
192
+ padding-inline-start: var(--list-padding-x);
192
193
  margin: 0.5em 0 0;
193
194
  }
194
195
  .features > ul > li {
195
- background: var(--b1-light);
196
- border-bottom: 0.25em solid var(--b1-medium);
197
- border-radius: 0.5em;
198
- padding: 0.9em 1.2em;
199
- margin: 1em 0;
196
+ padding: 0.25em var(--list-item-padding-x);
197
+ margin: 0;
200
198
  box-sizing: border-box;
201
199
  }
200
+ .features > ul > li + li {
201
+ border-top: 0.15em solid var(--b1-light);
202
+ }
202
203
  @media (max-width: 840px) {
204
+ .features {
205
+ padding: 0 .5em;
206
+ margin: 0;
207
+ }
208
+ .features h2 {
209
+ text-align: center;
210
+ }
203
211
  .features > ul > li {
204
212
  width: 100%;
205
- margin: 0.5em 0;
206
213
  }
207
214
  }
208
215
  .features > ul > li > ul {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t8/docsgen",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
4
4
  "description": "",
5
5
  "main": "dist/bin.js",
6
6
  "bin": {
package/src/css/index.css CHANGED
@@ -42,6 +42,11 @@ body {
42
42
  align-items: center;
43
43
  justify-content: center;
44
44
  }
45
+ @media (max-width: 840px) {
46
+ .layout {
47
+ min-height: 100vh;
48
+ }
49
+ }
45
50
 
46
51
  main {
47
52
  --max-content-width: 32em;
@@ -141,7 +146,7 @@ section + section {
141
146
  flex-direction: column;
142
147
  align-self: stretch;
143
148
  justify-content: center;
144
- border-left: 0.1em solid var(--b1-medium);
149
+ border-left: 0.1em solid var(--b1-light);
145
150
  }
146
151
  section.intro-title {
147
152
  text-align: center;
@@ -169,40 +174,42 @@ section.intro-title {
169
174
  .features {
170
175
  --link-color: color(from var(--c0) srgb r g b / 0.55);
171
176
  --link-decoration: underline;
177
+ --list-padding-x: 1.25rem;
178
+ --list-item-padding-x: .35rem;
172
179
 
173
180
  margin: 2em 0;
174
181
  }
175
- @media (max-width: 840px) {
176
- .features {
177
- padding: 0;
178
- margin: 0;
179
- }
180
- }
181
182
  .features h2 {
182
- font-size: 1.5em;
183
+ font-size: 1.25em;
183
184
  font-style: italic;
184
- text-align: center;
185
185
  border: none;
186
- padding: 0.1em 0;
186
+ padding: 0.1em calc(var(--list-padding-x) + var(--list-item-padding-x));
187
187
  margin: 0.75em 0 0.5em;
188
188
  }
189
189
  .features > ul {
190
- list-style: none;
190
+ list-style: circle;
191
191
  padding: 0;
192
+ padding-inline-start: var(--list-padding-x);
192
193
  margin: 0.5em 0 0;
193
194
  }
194
195
  .features > ul > li {
195
- background: var(--b1-light);
196
- border-bottom: 0.25em solid var(--b1-medium);
197
- border-radius: 0.5em;
198
- padding: 0.9em 1.2em;
199
- margin: 1em 0;
196
+ padding: 0.25em var(--list-item-padding-x);
197
+ margin: 0;
200
198
  box-sizing: border-box;
201
199
  }
200
+ .features > ul > li + li {
201
+ border-top: 0.15em solid var(--b1-light);
202
+ }
202
203
  @media (max-width: 840px) {
204
+ .features {
205
+ padding: 0 .5em;
206
+ margin: 0;
207
+ }
208
+ .features h2 {
209
+ text-align: center;
210
+ }
203
211
  .features > ul > li {
204
212
  width: 100%;
205
- margin: 0.5em 0;
206
213
  }
207
214
  }
208
215
  .features > ul > li > ul {