@jinntec/jinntap 1.25.0 → 1.26.0

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.
@@ -189,7 +189,7 @@ tei-dateline {
189
189
  }
190
190
 
191
191
  tei-opener {
192
- margin-bottom: 1rem;
192
+ margin: .75rem 0 1rem 0;
193
193
  }
194
194
 
195
195
  tei-closer {
@@ -220,11 +220,11 @@ tei-note::before {
220
220
 
221
221
  tei-note::before {
222
222
  content: '?';
223
- margin-right: 0.5em;
223
+ margin-right: 0.5rem;
224
224
  }
225
225
  tei-note[n]::before {
226
226
  content: attr(n);
227
- margin-right: 0.5em;
227
+ margin-right: 0.5rem;
228
228
  }
229
229
 
230
230
  tei-note[_reference]::before {
@@ -236,7 +236,7 @@ tei-note:not([_reference]) {
236
236
  }
237
237
 
238
238
  tei-anchor {
239
- font-size: 0.8em;
239
+ font-size: 0.85rem;
240
240
  vertical-align: super;
241
241
  cursor: pointer;
242
242
  line-height: 1;
@@ -326,6 +326,25 @@ tei-p.is-empty::before {
326
326
  pointer-events: none;
327
327
  }
328
328
 
329
+ a.reference::after {
330
+ content: '↗';
331
+ margin-left: 4px;
332
+ font-size: 0.75rem;
333
+ vertical-align: super;
334
+ text-decoration: none;
335
+ transition: all 0.2s ease;
336
+ display: inline-block;
337
+ pointer-events: auto;
338
+ position: relative;
339
+ z-index: 1;
340
+ }
341
+
342
+ a.reference:hover::after {
343
+ color: #004499;
344
+ transform: scale(1.1);
345
+ cursor: pointer;
346
+ }
347
+
329
348
  tei-ref {
330
349
  color: var(--pico-primary);
331
350
  text-decoration: underline;
package/dist/jinn-tap.css CHANGED
@@ -33,6 +33,10 @@ jinn-tap .editor-area, jinn-tap .code-area {
33
33
  min-height: 1rem;
34
34
  }
35
35
 
36
+ jinn-tap .code-area {
37
+ text-wrap: wrap;
38
+ }
39
+
36
40
  jinn-tap .jinn-tap-aside {
37
41
  grid-area: aside;
38
42
  background: var(--jinn-tap-background-color, white);