Skip to content

Commit 1ba225f

Browse files
committed
Correct Chinese para indent
Re #86
1 parent 274ce9b commit 1ba225f

7 files changed

Lines changed: 19 additions & 18 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Readium CSS provides styles for reflowable text:
1515
- media overlays and user highlights;
1616
- a set of baselines and recommendations for accessibility, overrides, and internationalization.
1717

18-
**Readium CSS is currently in alpha** (version `1.0.0-alpha.6`).
18+
**Readium CSS is currently in alpha** (version `1.0.0-beta.1`).
1919

2020
## License
2121

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

Lines changed: 4 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/src/ReadiumCSS-default-cjk-horizontal.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
--RS__secondaryColor: ;
3535
}
3636

37+
:root:lang(zh) {
38+
--RS__paraIndent: 2em;
39+
}
40+
3741
/* STYLES */
3842

3943
/* Typo */
@@ -68,11 +72,6 @@ p {
6872
text-indent: var(--RS__paraIndent);
6973
}
7074

71-
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p,
72-
hr + p {
73-
text-indent: 0;
74-
}
75-
7675
pre {
7776
font-family: var(--RS__codeFontFamily);
7877
}

css/src/ReadiumCSS-default-cjk-vertical.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
--RS__secondaryColor: ;
3535
}
3636

37+
:root:lang(zh) {
38+
--RS__paraIndent: 2em;
39+
}
40+
3741
:lang("mn-Mong") {
3842
--RS__baseFontSize: 100%;
3943
}

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Readium CSS provides styles for reflowable text:
1313
- media overlays and user highlights;
1414
- a set of baselines and recommendations for accessibility, overrides, and internationalization.
1515

16-
**Readium CSS is currently in alpha** (version `1.0.0-alpha.6`).
16+
**Readium CSS is currently in alpha** (version `1.0.0-beta.1`).
1717

1818
## Contents
1919

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "readium-css",
33
"description": "A set of reference stylesheets for EPUB Reading Systems",
4-
"version": "1.0.0-alpha.6",
4+
"version": "1.0.0-beta.1",
55
"homepage": "https://github.com/readium/readium-css",
66
"license": "BSD-3-Clause",
77
"keywords": [

0 commit comments

Comments
 (0)