Skip to content

Commit df31743

Browse files
JayPanozgithub-actions[bot]
authored andcommitted
Update dist
1 parent c7fa0d6 commit df31743

4 files changed

Lines changed: 45 additions & 53 deletions

File tree

css/dist/ReadiumCSS-after.css

Lines changed: 17 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -325,34 +325,15 @@ body{
325325
}
326326

327327
:root[style*="--USER__textAlign"] body,
328-
:root[style*="--USER__textAlign"] *:not(blockquote):not(figcaption) p,
329-
:root[style*="--USER__textAlign"] li{
328+
:root[style*="--USER__textAlign"] p:not(blockquote p):not(figcaption p):not(hgroup p),
329+
:root[style*="--USER__textAlign"] li,
330+
:root[style*="--USER__textAlign"] dd{
330331
text-align:var(--USER__textAlign) !important;
331332
-moz-text-align-last:auto !important;
332333
-epub-text-align-last:auto !important;
333334
text-align-last:auto !important;
334335
}
335336

336-
:root[style*="--USER__textAlign: justify"] body,
337-
:root[style*="--USER__textAlign:justify"] body{
338-
-webkit-hyphens:auto;
339-
-moz-hyphens:auto;
340-
-ms-hyphens:auto;
341-
-epub-hyphens:auto;
342-
hyphens:auto;
343-
}
344-
345-
:root[style*="--USER__textAlign: left"] body,
346-
:root[style*="--USER__textAlign:left"] body,
347-
:root[style*="--USER__textAlign: right"] body,
348-
:root[style*="--USER__textAlign:right"] body{
349-
-webkit-hyphens:none;
350-
-moz-hyphens:none;
351-
-ms-hyphens:none;
352-
-epub-hyphens:none;
353-
hyphens:none;
354-
}
355-
356337
:root[style*="--USER__bodyHyphens"]{
357338
-webkit-hyphens:var(--USER__bodyHyphens) !important;
358339
-moz-hyphens:var(--USER__bodyHyphens) !important;
@@ -470,19 +451,23 @@ body{
470451
:root[style*="--USER__wordSpacing"] h6,
471452
:root[style*="--USER__wordSpacing"] p,
472453
:root[style*="--USER__wordSpacing"] li,
473-
:root[style*="--USER__wordSpacing"] div{
454+
:root[style*="--USER__wordSpacing"] div,
455+
:root[style*="--USER__wordSpacing"] dt,
456+
:root[style*="--USER__wordSpacing"] dd{
474457
word-spacing:var(--USER__wordSpacing);
475458
}
476459

477-
:root[style*="--USER__letterSpacing"] h1,
478-
:root[style*="--USER__letterSpacing"] h2,
479-
:root[style*="--USER__letterSpacing"] h3,
480-
:root[style*="--USER__letterSpacing"] h4,
481-
:root[style*="--USER__letterSpacing"] h5,
482-
:root[style*="--USER__letterSpacing"] h6,
483-
:root[style*="--USER__letterSpacing"] p,
484-
:root[style*="--USER__letterSpacing"] li,
485-
:root[style*="--USER__letterSpacing"] div{
460+
:root[style*="--USER__wordSpacing"] h1,
461+
:root[style*="--USER__wordSpacing"] h2,
462+
:root[style*="--USER__wordSpacing"] h3,
463+
:root[style*="--USER__wordSpacing"] h4,
464+
:root[style*="--USER__wordSpacing"] h5,
465+
:root[style*="--USER__wordSpacing"] h6,
466+
:root[style*="--USER__wordSpacing"] p,
467+
:root[style*="--USER__wordSpacing"] li,
468+
:root[style*="--USER__wordSpacing"] div,
469+
:root[style*="--USER__wordSpacing"] dt,
470+
:root[style*="--USER__wordSpacing"] dd{
486471
letter-spacing:var(--USER__letterSpacing);
487472
font-variant:none;
488473
}

css/dist/cjk-horizontal/ReadiumCSS-after.css

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -372,15 +372,17 @@ body{
372372
font-optical-sizing:var(--USER__fontOpticalSizing) !important;
373373
}
374374

375-
:root[style*="--USER__letterSpacing"] h1,
376-
:root[style*="--USER__letterSpacing"] h2,
377-
:root[style*="--USER__letterSpacing"] h3,
378-
:root[style*="--USER__letterSpacing"] h4,
379-
:root[style*="--USER__letterSpacing"] h5,
380-
:root[style*="--USER__letterSpacing"] h6,
381-
:root[style*="--USER__letterSpacing"] p,
382-
:root[style*="--USER__letterSpacing"] li,
383-
:root[style*="--USER__letterSpacing"] div{
375+
:root[style*="--USER__wordSpacing"] h1,
376+
:root[style*="--USER__wordSpacing"] h2,
377+
:root[style*="--USER__wordSpacing"] h3,
378+
:root[style*="--USER__wordSpacing"] h4,
379+
:root[style*="--USER__wordSpacing"] h5,
380+
:root[style*="--USER__wordSpacing"] h6,
381+
:root[style*="--USER__wordSpacing"] p,
382+
:root[style*="--USER__wordSpacing"] li,
383+
:root[style*="--USER__wordSpacing"] div,
384+
:root[style*="--USER__wordSpacing"] dt,
385+
:root[style*="--USER__wordSpacing"] dd{
384386
letter-spacing:var(--USER__letterSpacing);
385387
font-variant:none;
386388
}

css/dist/cjk-vertical/ReadiumCSS-after.css

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -360,15 +360,17 @@ body{
360360
font-optical-sizing:var(--USER__fontOpticalSizing) !important;
361361
}
362362

363-
:root[style*="--USER__letterSpacing"] h1,
364-
:root[style*="--USER__letterSpacing"] h2,
365-
:root[style*="--USER__letterSpacing"] h3,
366-
:root[style*="--USER__letterSpacing"] h4,
367-
:root[style*="--USER__letterSpacing"] h5,
368-
:root[style*="--USER__letterSpacing"] h6,
369-
:root[style*="--USER__letterSpacing"] p,
370-
:root[style*="--USER__letterSpacing"] li,
371-
:root[style*="--USER__letterSpacing"] div{
363+
:root[style*="--USER__wordSpacing"] h1,
364+
:root[style*="--USER__wordSpacing"] h2,
365+
:root[style*="--USER__wordSpacing"] h3,
366+
:root[style*="--USER__wordSpacing"] h4,
367+
:root[style*="--USER__wordSpacing"] h5,
368+
:root[style*="--USER__wordSpacing"] h6,
369+
:root[style*="--USER__wordSpacing"] p,
370+
:root[style*="--USER__wordSpacing"] li,
371+
:root[style*="--USER__wordSpacing"] div,
372+
:root[style*="--USER__wordSpacing"] dt,
373+
:root[style*="--USER__wordSpacing"] dd{
372374
letter-spacing:var(--USER__letterSpacing);
373375
font-variant:none;
374376
}

css/dist/rtl/ReadiumCSS-after.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,9 @@ body{
325325
}
326326

327327
:root[style*="--USER__textAlign"] body,
328-
:root[style*="--USER__textAlign"] *:not(blockquote):not(figcaption) p,
329-
:root[style*="--USER__textAlign"] li{
328+
:root[style*="--USER__textAlign"] p:not(blockquote p):not(figcaption p):not(hgroup p),
329+
:root[style*="--USER__textAlign"] li,
330+
:root[style*="--USER__textAlign"] dd{
330331
text-align:var(--USER__textAlign) !important;
331332
-moz-text-align-last:auto !important;
332333
-epub-text-align-last:auto !important;
@@ -385,7 +386,9 @@ body{
385386
:root[style*="--USER__wordSpacing"] h6,
386387
:root[style*="--USER__wordSpacing"] p,
387388
:root[style*="--USER__wordSpacing"] li,
388-
:root[style*="--USER__wordSpacing"] div{
389+
:root[style*="--USER__wordSpacing"] div,
390+
:root[style*="--USER__wordSpacing"] dt,
391+
:root[style*="--USER__wordSpacing"] dd{
389392
word-spacing:var(--USER__wordSpacing);
390393
}
391394

0 commit comments

Comments
 (0)