hdoc-tools 0.41.7 → 0.41.9

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": "hdoc-tools",
3
- "version": "0.41.7",
3
+ "version": "0.41.9",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {
@@ -30,7 +30,8 @@
30
30
  ],
31
31
  "scripts": {
32
32
  "preinstall": "node validateNodeVer",
33
- "test": "echo \"Error: no test specified\" && exit 1"
33
+ "test": "echo \"Error: no test specified\" && exit 1",
34
+ "postinstall": "puppeteer browsers install chrome@131.0.6778.204"
34
35
  },
35
36
  "author": "Hornbill Technologies Ltd",
36
37
  "license": "ISC",
@@ -36,8 +36,6 @@ main {
36
36
  display: block;
37
37
  }
38
38
 
39
-
40
- /* NWJ - comment out while test gerrys chatgpt styles
41
39
  h1,
42
40
  h2,
43
41
  h3,
@@ -46,10 +44,9 @@ h5,
46
44
  h6 {
47
45
  margin: 0;
48
46
  line-height: normal;
49
- font-size: revert;
47
+ font-size: revert; /* let browser handle it */
50
48
  font-weight: 400;
51
49
  }
52
- */
53
50
 
54
51
  p {
55
52
  margin: 0;
@@ -232,10 +229,6 @@ p {
232
229
  overflow-wrap: break-word;
233
230
  }
234
231
 
235
- /* billythefish */
236
- /* styles from gerrys chatgpt recommendation */
237
- /* Base (adjust if your body size differs) */
238
- html { font-size: 16px; }
239
232
  :root{
240
233
  /* Tweak the min/max to taste; ratio ≈ 1.25 across levels */
241
234
  --h1-min: 2.0rem; --h1-max: 3.0rem; /* 32–48 */
@@ -245,7 +238,8 @@ html { font-size: 16px; }
245
238
  --h5-min: 1.05rem; --h5-max: 1.2rem; /* 16.8–19.2 */
246
239
  --h6-min: 0.95rem; --h6-max: 1.05rem; /* 15.2–16.8 */
247
240
  }
248
- h1,h2,h3,h4,h5,h6{
241
+
242
+ h3,h4 {
249
243
  font-family: var(--hb-heading, inherit);
250
244
  line-height: 1.15;
251
245
  margin-top: 2.2em; /* consistent vertical rhythm */
@@ -258,10 +252,10 @@ h1{
258
252
  line-height: 1.1;
259
253
  margin-top: 0; /* article title at top */
260
254
  }
261
- h2{
255
+ h2:not(.title){
262
256
  font-size: clamp(var(--h2-min), 1.5vw + 0.9rem, var(--h2-max));
263
257
  font-weight: 700;
264
- border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
258
+ /*border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);*/
265
259
  padding-bottom: 0.2em;
266
260
  }
267
261
  h3{
@@ -272,13 +266,13 @@ h4{
272
266
  font-size: clamp(var(--h4-min), 0.8vw + 0.65rem, var(--h4-max));
273
267
  font-weight: 600;
274
268
  }
275
- h5{
269
+ h5:not(.description){
276
270
  font-size: clamp(var(--h5-min), 0.6vw + 0.6rem, var(--h5-max));
277
271
  font-weight: 550;
278
272
  color: color-mix(in srgb, currentColor 85%, #000 15%);
279
273
  }
280
- h6{
281
- font-size: clamp(var(--h6-min), 0.4vw + 0.55rem, var(--h6-max));
274
+ h6:not(.description){
275
+ font-size: clamp(var(--h6-min), 0.4vw + 0.5rem, var(--h6-max));
282
276
  font-weight: 600;
283
277
  text-transform: uppercase; /* differentiate without shrinking */
284
278
  letter-spacing: 0.06em;
@@ -2,7 +2,6 @@
2
2
  * Headings
3
3
  * -------------------------------------------------------------------------- */
4
4
 
5
- /* NWJ - comment out while test gerrys chatgpt styles
6
5
  .HTL-doc h1,
7
6
  .HTL-doc h2,
8
7
  .HTL-doc h3,
@@ -40,8 +39,10 @@
40
39
  font-size: 18px;
41
40
  left: -25px;
42
41
  top: 52%;
43
- width: 32px;
42
+ width: 32px;
43
+ /*so will over lap headre slightly - stops flicker when hover out of header into anchor */
44
44
  opacity: 0;
45
+ /*hidden */
45
46
  }
46
47
 
47
48
  .HTL-doc h3 .header-anchor {
@@ -50,9 +51,10 @@
50
51
  left: -25px;
51
52
  top: 5px;
52
53
  width: 32px;
54
+ /*so will over lap headre slightly - stops flicker when hover out of header into anchor */
53
55
  opacity: 0;
56
+ /*hidden */
54
57
  }
55
- */
56
58
 
57
59
 
58
60
  .HTL-doc h1:hover .header-anchor,
@@ -64,7 +66,6 @@
64
66
  opacity: 1;
65
67
  }
66
68
 
67
- /* NWJ - comment out while test gerrys chatgpt styles
68
69
  @media (min-width: 768px) {
69
70
  .HTL-doc h1 {
70
71
  letter-spacing: -0.02em;
@@ -72,7 +73,6 @@
72
73
  font-size: 32px;
73
74
  }
74
75
  }
75
- */
76
76
 
77
77
  /**
78
78
  * Paragraph and inline elements
@@ -245,11 +245,6 @@
245
245
  {
246
246
  border-radius: 50%;
247
247
  }
248
- .dark .userprofile .svg-prof
249
- {
250
- /*filter: invert(2);*/
251
-
252
- }
253
248
 
254
249
  /* theme switcher */
255
250
  .theme-switch {
package/ui/index.html CHANGED
@@ -159,7 +159,7 @@
159
159
  <div class="toolbar-middle hb-center-v hb-container-expand">
160
160
 
161
161
  <h2 class="title">{{docApp.title}}</h2>
162
- <h6 class="description">{{docApp.description}}</h6>
162
+ <h5 class="description">{{docApp.description}}</h5>
163
163
 
164
164
  <!-- could generate nav bar based on library settings -->
165
165
  <!--