You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css/dist/ReadMe.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,6 @@ Disabled user settings:
27
27
-`hyphens`;
28
28
-`letter-spacing`.
29
29
30
-
Added user settings:
31
-
32
-
-`font-variant-ligatures` (mapped to `--USER__ligatures` CSS variable).
33
-
34
30
## CJK
35
31
36
32
Chinese, Japanese, Korean, and Mongolian can be either written `horizontal-tb` or `vertical-*`. Consequently, there are stylesheets for horizontal and vertical writing modes.
Copy file name to clipboardExpand all lines: docs/CSS08-defaults.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -261,7 +261,7 @@ The typeface for code snippets. The value can be another variable e.g. `var(-RS_
261
261
262
262
The scale to be used for computing all elements’ `font-size`. Since those font sizes are computed dynamically, you can set a smaller type scale when the user sets one of the largest font sizes.
263
263
264
-
Possible values: `1`|`1.067`|`1.125`|`1.2` (suggested default) |`1.25`|`1.333`|`1.414`|`1.5`|`1.618`
264
+
Possible values: `1`/`1.067`/`1.125`/`1.2` (suggested default) /`1.25`/`1.333`/`1.414`/`1.5`/`1.618`
Override class: Chrome (should be applied by any means necessary)
75
75
@@ -249,7 +249,7 @@ The user can set `text-align` and `hyphens` for body copy contents.
249
249
--USER__textAlign
250
250
```
251
251
252
-
Possible values: `left` (LTR) or `right` (RTL) |`start` (logical property resolving to `left` in LTR, `right` in RTL) |`justify`
252
+
Possible values: `left` (LTR) or `right` (RTL) /`start` (logical property resolving to `left` in LTR, `right` in RTL) /`justify`
253
253
254
254
Override class: User settings advanced (optional but should be applied by any means necessary if provided to users)
255
255
@@ -261,7 +261,7 @@ Note: the value `start` can be used to let all rendering engines, excepted Tride
261
261
--USER__bodyHyphens
262
262
```
263
263
264
-
Possible Values: `auto`|`none`
264
+
Possible Values: `auto`/`none`
265
265
266
266
Override class: User settings advanced (optional but should be applied by any means necessary if provided to users)
267
267
@@ -279,9 +279,9 @@ The user can set `font-family`, `font-size` and `line-height` for body copy cont
279
279
--USER__fontFamily
280
280
```
281
281
282
-
Possible values: `var(--RS__oldStyleTf)`|`var(--RS__modernTf)`|`var(--RS__sansTf)`|`var(--RS__humanistTf)`|`<string>`
282
+
Possible values: `var(--RS__oldStyleTf)`/`var(--RS__modernTf)`/`var(--RS__sansTf)`/`var(--RS__humanistTf)`/`<string>`
283
283
284
-
For Japanese, possible values become: `var(--RS__serif-ja)` (horizontal writing) |`var(--RS__sans-serif-ja)` (horizontal writing) |`var(--RS__serif-ja-v)` (vertical writing) |`var(--RS__sans-serif-ja-v)` (vertical writing) |`<string>`
284
+
For Japanese, possible values become: `var(--RS__serif-ja)` (horizontal writing) /`var(--RS__sans-serif-ja)` (horizontal writing) /`var(--RS__serif-ja-v)` (vertical writing) /`var(--RS__sans-serif-ja-v)` (vertical writing) /`<string>`
285
285
286
286
Required flag: none
287
287
@@ -365,13 +365,13 @@ Recommended values: a range from `0` to `0.5rem`. Increments are left to impleme
365
365
366
366
Override class: User settings advanced (optional but should be applied by any means necessary if provided to users)
367
367
368
-
#### Arabic Ligatures
368
+
#### Ligatures
369
369
370
370
```
371
371
--USER__ligatures
372
372
```
373
373
374
-
Possible values: `none`|`common-ligatures`
374
+
Possible values: `none`/`common-ligatures`
375
375
376
376
Override class: User settings advanced (optional but should be applied by any means necessary if provided to users)
377
377
@@ -391,7 +391,7 @@ Rendering engines and browsers enable optical sizing by default for fonts that h
391
391
392
392
When optical sizing is used, small text sizes are often rendered with thicker strokes and larger serifs, whereas larger text is often rendered more delicately with more contrast between thicker and thinner strokes.
393
393
394
-
Possible values: `none`|`auto` (default)
394
+
Possible values: `none`/`auto` (default)
395
395
396
396
Required flag: none
397
397
@@ -417,7 +417,7 @@ Override class: User settings advanced (optional but should be applied by any me
417
417
--USER__fontWidth
418
418
```
419
419
420
-
Possible values: `ultra-condensed`|`extra-condensed`|`condensed`|`semi-condensed`|`normal`|`semi-expanded`|`expanded`|`extra-expanded`|`ultra-expanded`|`percentage` e.g. `50%`, `125%`
420
+
Possible values: `ultra-condensed`/`extra-condensed`/`condensed`/`semi-condensed`/`normal`/`semi-expanded`/`expanded`/`extra-expanded`/`ultra-expanded`/`percentage` e.g. `50%`, `125%`
421
421
422
422
**Warning: the percentage values depend on the variable font you may be using.** You can use services such as [Wakamai Fondue](https://wakamaifondue.com) to get the values.
423
423
@@ -453,7 +453,7 @@ This will apply a `mix-blend-mode` of `multiply` with a transparent background t
453
453
--USER__darkenImages
454
454
```
455
455
456
-
Possible values: `readium-darken-on`|`percentage` e.g. `50%`.
456
+
Possible values: `readium-darken-on`/`percentage` e.g. `50%`.
457
457
458
458
This will apply a `brightness` filter with the percentage value it’s given, or a preset of `80%` if using it as a flag.
459
459
@@ -463,7 +463,7 @@ This will apply a `brightness` filter with the percentage value it’s given, or
463
463
--USER__invertImages
464
464
```
465
465
466
-
Possible values: `readium-invert-on`|`percentage` e.g. `50%`.
466
+
Possible values: `readium-invert-on`/`percentage` e.g. `50%`.
467
467
468
468
This will apply an `invert` filter with the percentage value it’s given, or a preset of `100%` if using it as a flag.
469
469
@@ -473,7 +473,7 @@ If you want to only invert gaiji (valid Japanese character as `img`), you can us
473
473
--USER__invertGaiji
474
474
```
475
475
476
-
Possible values: `readium-invertGaiji-on`|`percentage` e.g. `50%`.
476
+
Possible values: `readium-invertGaiji-on`/`percentage` e.g. `50%`.
477
477
478
478
This will apply an `invert` filter with the percentage value it’s given, or a preset of `100%` if using it as a flag, only to `img class="gaiji"`.
Copy file name to clipboardExpand all lines: docs/CSS14-user_settings_recs.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -215,11 +215,11 @@ It is very rare authors’ will use those CSS properties for body copy. They may
215
215
216
216
In any case, implementers should force those settings for body copy.
217
217
218
-
## Ligatures (Arabic & Persian scripts)
218
+
## Ligatures
219
219
220
220
### User’s intent
221
221
222
-
The user intends to disable ligatures. This setting applies to the Arabic and Persian scripts, and is believed to help dyslexic readers as `word-spacing` in Latin.
222
+
The user intends to disable ligatures. This setting applies to the Latin, Arabic and Persian scripts. In the two latter, it is believed to help dyslexic readers as `word-spacing` in Latin.
Copy file name to clipboardExpand all lines: docs/CSS18-further_details.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ The typeface for code snippets. The value can be another variable e.g. `var(-RS_
48
48
49
49
The scale to be used for computing all elements’ `font-size`. Since those font sizes are computed dynamically, you can set a smaller type scale when the user sets one of the largest font sizes.
50
50
51
-
Possible values: `1`|`1.067`|`1.125` (suggested default) |`1.2`|`1.25`|`1.333`|`1.414`|`1.5`|`1.618`
51
+
Possible values: `1`/`1.067`/`1.125` (suggested default) /`1.2`/`1.25`/`1.333`/`1.414`/`1.5`/`1.618`
52
52
53
53
The suggested default will accomodate most configurations, from small to large screens.
0 commit comments