@pageboard/html 0.14.29 → 0.14.31

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.
@@ -4,6 +4,7 @@ exports.strong = {
4
4
  contents: "text*",
5
5
  inplace: true,
6
6
  inline: true,
7
+ excludes: 'light',
7
8
  group: "inline nolink",
8
9
  icon: '<i class="icon bold"></i>',
9
10
  tag: 'strong,b',
@@ -41,6 +42,7 @@ exports.light = {
41
42
  contents: "text*",
42
43
  inline: true,
43
44
  inplace: true,
45
+ excludes: 'strong',
44
46
  group: "inline nolink",
45
47
  html: '<span class="lighter"></span>'
46
48
  };
@@ -52,18 +54,20 @@ exports.sup = {
52
54
  contents: "text*",
53
55
  inline: true,
54
56
  inplace: true,
57
+ excludes: 'sub',
55
58
  group: "inline nolink",
56
59
  tag: 'sup',
57
60
  html: '<sup></sup>'
58
61
  };
59
62
 
60
63
  exports.sub = {
61
- title: "Inf",
64
+ title: "Sub",
62
65
  priority: 105,
63
66
  icon: '<i class="subscript icon"></i>',
64
67
  contents: "text*",
65
68
  inline: true,
66
69
  inplace: true,
70
+ excludes: 'sup',
67
71
  group: "inline nolink",
68
72
  tag: 'sub',
69
73
  html: '<sub></sub>'
@@ -291,3 +295,16 @@ exports.color = { // deprecated
291
295
  group: "inline nolink",
292
296
  html: '<span class="[color] color"></span>'
293
297
  };
298
+
299
+ exports.notranslate = {
300
+ title: "Untranslatable",
301
+ priority: 110,
302
+ contents: "text*",
303
+ inplace: true,
304
+ inline: true,
305
+ group: "inline nolink",
306
+ icon: '<i class="large translate icon"></i>',
307
+ tag: 'span[translate="no"]',
308
+ html: '<span translate="no"></span>'
309
+ };
310
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pageboard/html",
3
- "version": "0.14.29",
3
+ "version": "0.14.31",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "repository": {
package/ui/site.css CHANGED
@@ -22,7 +22,7 @@ body {
22
22
  overflow-x: hidden;
23
23
  min-width: 320px;
24
24
  background: #FFFFFF;
25
- font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
25
+ font-family: Arial, sans-serif;
26
26
  font-size: 14px;
27
27
  line-height: 1.4285em;
28
28
  color: rgb(0 0 0 / 87%);
@@ -43,7 +43,7 @@ h4,
43
43
  h5 {
44
44
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
45
45
  line-height: 1.2857em;
46
- margin: calc(2rem - 0.1428em) 0 1rem;
46
+ margin: calc(2rem - 0.1429em) 0em 1rem;
47
47
  font-weight: bold;
48
48
  padding: 0;
49
49
  }
@@ -106,7 +106,33 @@ p:last-child {
106
106
  text-align:justify;
107
107
  }
108
108
 
109
-
109
+ span.lighter {
110
+ font-weight:lighter;
111
+ }
112
+ span.black {
113
+ color: black;
114
+ }
115
+ span.white {
116
+ color: white;
117
+ }
118
+ span.red {
119
+ color: red;
120
+ }
121
+ span.orange {
122
+ color: orange;
123
+ }
124
+ span.yellow {
125
+ color: yellow;
126
+ }
127
+ span.green {
128
+ color: green;
129
+ }
130
+ span.blue {
131
+ color: blue;
132
+ }
133
+ span.purple {
134
+ color: purple;
135
+ }
110
136
 
111
137
  /*-------------------
112
138
  Links