@hanology/cham-browser 0.4.40 → 0.4.42

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": "@hanology/cham-browser",
3
- "version": "0.4.40",
3
+ "version": "0.4.42",
4
4
  "description": "CHAM — browser-compatible parser, serializer, and site generator for Classical Han Annotated Markdown",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -221,7 +221,7 @@ onBeforeUnmount(() => {
221
221
  border-bottom: 1px solid var(--border-light);
222
222
  font-size: 14px;
223
223
  color: var(--ink-mid);
224
- letter-spacing: 0.5px;
224
+ letter-spacing: 1.5px;
225
225
  line-height: 1.8;
226
226
  }
227
227
  .ann-entry:last-child { border-bottom: none; padding-bottom: 0; }
@@ -252,7 +252,7 @@ onBeforeUnmount(() => {
252
252
  .ann-kind.etymology { background: #6b5b95; color: #fff; }
253
253
  .ann-kind.note,
254
254
  .ann-kind.definition { background: var(--ink); color: var(--paper); }
255
- .ann-kind.commentary { background: #c0392b; color: #fff; }
255
+ .ann-kind.commentary { background: #c0392b; color: #fff; align-self: center; }
256
256
  .ann-kind.translation { background: #2c6e49; color: #fff; }
257
257
  .ann-kind.person { background: var(--ann-person); color: #fff; }
258
258
  .ann-kind.place { background: var(--ann-place); color: #fff; }
@@ -264,7 +264,7 @@ onBeforeUnmount(() => {
264
264
  font-size: 10px;
265
265
  font-family: var(--sans);
266
266
  color: var(--ink-faint);
267
- padding: 1px 5px;
267
+ padding: 5px 2px;
268
268
  border: 1px solid var(--border-light);
269
269
  border-radius: 2px;
270
270
  letter-spacing: 0.5px;
@@ -273,6 +273,7 @@ onBeforeUnmount(() => {
273
273
  .ann-text {
274
274
  white-space: pre-line;
275
275
  line-height: 1.8;
276
+ padding-top: 5px;
276
277
  }
277
278
 
278
279
  /* ─── Floating card ─── */
@@ -443,7 +444,6 @@ onBeforeUnmount(() => {
443
444
  /* ─── Vertical mode ─── */
444
445
  .ann-card.vertical {
445
446
  flex-direction: row-reverse;
446
- overflow: hidden;
447
447
  }
448
448
 
449
449
  .ann-card.vertical .ann-card-head {
@@ -476,7 +476,7 @@ onBeforeUnmount(() => {
476
476
  .ann-card.vertical .ann-entry {
477
477
  flex-shrink: 0;
478
478
  border-bottom: none;
479
- padding: 0 10px;
479
+ margin: 0 3px;
480
480
  border-right: 1px solid var(--border-light);
481
481
  writing-mode: vertical-rl;
482
482
  text-orientation: mixed;