Huang Xin
|
3e4b7ebb13
|
css: remove unintended indent for images, closes #1567 (#1568)
* chore: target Android SDK to version 36
* css: remove unintended indent for images, closes #1567
|
2025-07-10 12:05:07 +02:00 |
|
Huang Xin
|
aafcab8232
|
layout: fix dimension of inline images, closes #1555 (#1560)
|
2025-07-09 09:52:51 +02:00 |
|
Huang Xin
|
68d57da9ca
|
perf: speed up opening for large MOBI books, closes #1544 (#1547)
|
2025-07-07 10:15:54 +02:00 |
|
Huang Xin
|
c6a638dbfd
|
compat: footnote img size, closes #1518 (#1519)
|
2025-07-02 18:55:09 +02:00 |
|
Huang Xin
|
8eefba2bee
|
feat: add an option to show/hide original text in translation, also closes #1492 (#1511)
|
2025-07-02 07:27:05 +02:00 |
|
Huang Xin
|
0514bed5b7
|
css: fix for legacy epub image dimension, closes #1507 (#1508)
|
2025-07-01 09:46:27 +02:00 |
|
Huang Xin
|
4447dd7b9a
|
css: fix unintended font size adjust in scrolled mode on iOS, closes #1438 (#1440)
|
2025-06-21 13:25:46 +02:00 |
|
Huang Xin
|
2dcb5d7c1e
|
sync: add network timeout of sync to 5 sec (#1432)
* sync: add network timeout of sync to 5 sec
* css: minor tweaks on headings and list
|
2025-06-20 16:45:10 +02:00 |
|
Huang Xin
|
f0d3c9dd4e
|
fix: transform vw/vh to pixels correctly, closes #1420 (#1421)
* i18n: update translations
* fix: transform vw/vh to pixels correctly, closes #1420
|
2025-06-19 10:53:58 +02:00 |
|
Huang Xin
|
07f74d8858
|
settings: individually adjust top, bottom, left, and right margins on the reader page (#1410)
|
2025-06-18 10:55:24 +02:00 |
|
Huang Xin
|
467e80cd4b
|
fix: various fixes on text selector in TTS mode and normal image height (#1390)
|
2025-06-13 17:28:21 +02:00 |
|
James Sizeland
|
3cae183f51
|
feat: add syntax highlighting (#1386)
* add highlightjs
* add github light and dark theme
* inject style classes
* fix typo
* remove conflicting style overrides
* add highlightjs function and language list
* add language select setting
* add language select input
* add watcher to rerender page on changes to language select
* lockfile update
* rename highlightCode variables
* reorder code languages alphabetically
* copy translation style for highlight selector
* move code highlighting below theme color section
* move highlighting toggle logic into settings component
* add conditional statement to docLoadHandler manageSyntaxHighlighting
* reorder imports
* switch to media query for dark mode
* combine useEffect callbacks for code highlighting
* add feature line about code highlighting
* fix table tabbing
|
2025-06-13 14:40:18 +02:00 |
|
James Sizeland
|
28c6c1ec58
|
css: add more aggressive overrides for background and text colour (#1384)
* add more aggressive overrides for background and text colour
* reduce styles changes
|
2025-06-12 14:24:50 +02:00 |
|
Huang Xin
|
e46d01448b
|
css: handle inline image height (#1379)
|
2025-06-10 08:43:00 +02:00 |
|
Huang Xin
|
648d9ec260
|
css: unset justify text align when overriding layout, closes #1338 (#1358)
|
2025-06-06 12:08:53 +02:00 |
|
Huang Xin
|
debd60fb70
|
css: inline image only as direct children of p and span, closes #1340 (#1341)
|
2025-06-05 07:47:56 +02:00 |
|
Huang Xin
|
dfa17c1c0b
|
css: auto height for single images in anchor (#1337)
|
2025-06-04 20:08:16 +02:00 |
|
Huang Xin
|
db955d2c8c
|
feat: add an option to override book fg/bg color, closes #1328 (#1335)
|
2025-06-04 18:58:53 +02:00 |
|
Huang Xin
|
146a71fdef
|
font: load CJK fonts only in CJK env or the book has CJK languages, closes #1298 (#1323)
|
2025-06-03 08:55:40 +02:00 |
|
Huang Xin
|
b497ddacac
|
css: add margin for div only when overriding layout, closes #1286 (#1309)
|
2025-06-02 07:59:58 +02:00 |
|
Huang Xin
|
b37a804192
|
css: enhanced compatibility with the text-indent CSS property, closes #1267 (#1271)
|
2025-05-29 08:53:58 +02:00 |
|
Huang Xin
|
aa62ebd3f0
|
css: unchange color for anchor children, unchange only image dimension in span, closes #1251 and #1252 (#1256)
|
2025-05-28 08:04:09 +02:00 |
|
Huang Xin
|
6b033f7509
|
translator: post-process translated text for punctuation spacing (#1245)
|
2025-05-27 14:32:25 +02:00 |
|
Huang Xin
|
35735cd931
|
fix: skip speech when the text is empty at the end of some chapters, closes #1231 (#1243)
|
2025-05-26 16:03:43 +02:00 |
|
Huang Xin
|
699a01c78f
|
feat: support full book translation to bilingual books, closes #398 (#1240)
|
2025-05-26 12:23:33 +02:00 |
|
Huang Xin
|
e238b49fbf
|
feat: add an option to invert image color in dark mode (#1223)
|
2025-05-22 10:38:09 +02:00 |
|
Huang Xin
|
66744108e2
|
css: unset link color in footnotes in dark mode for safari (#1221)
|
2025-05-22 09:09:02 +02:00 |
|
Huang Xin
|
ed6c92a65a
|
css: don't override body background, closes #1206 (#1208)
Revisit #1151.
|
2025-05-20 15:11:36 +02:00 |
|
Huang Xin
|
5373b67aae
|
css: get rid of most overriding for background color, closes #1162 (#1164)
|
2025-05-16 08:23:34 +02:00 |
|
Huang Xin
|
ddc9673260
|
css: compat for background colors in chapter headers of Feedbooks eBooks (#1163)
|
2025-05-16 03:29:07 +02:00 |
|
Huang Xin
|
602be376a1
|
css: include additional weight variants for built-in fonts (#1158)
|
2025-05-15 05:04:16 +02:00 |
|
Huang Xin
|
348d743e82
|
css: styling adjustments for better compatibility with Gutenberg eBooks (#1154)
This also closes #1153, #1148, #1147 and the css problem in #1151.
|
2025-05-14 14:55:07 +02:00 |
|
Huang Xin
|
d96fb32bcf
|
fix: apply layout styles to div tag, closes #1130 (#1142)
|
2025-05-13 13:48:21 +02:00 |
|
Huang Xin
|
2e46bc1627
|
css: get rid of hardcoded font color only when overriding font, closes #1095 (#1120)
|
2025-05-11 14:34:51 +02:00 |
|
Huang Xin
|
2a624ef57a
|
css: only override background color in dark mode, closes #1066 (#1117)
|
2025-05-11 09:33:03 +02:00 |
|
Huang Xin
|
3756bec66c
|
css: special case for align center and zero text indent (#1105)
|
2025-05-09 14:40:55 +02:00 |
|
Huang Xin
|
3e1d03dc17
|
css: override text align and fix hardcoded text intent (#1104)
|
2025-05-09 14:20:38 +02:00 |
|
Huang Xin
|
2006baac4b
|
revert: unbreak style overriding, closes #1058 and closes #1075 (#1091)
|
2025-05-07 19:56:14 +02:00 |
|
Huang Xin
|
0d4f61f08a
|
compat: fix insane img dimension might cause layout miscalculation, closes #1073 (#1090)
|
2025-05-07 18:33:13 +02:00 |
|
Huang Xin
|
6b3d41a4b8
|
fix: styling links and also the content of links, closes #1057 (#1083)
|
2025-05-07 12:46:28 +02:00 |
|
Huang Xin
|
8f0982ae33
|
fix: replace bg color only for non-default theme color, closes #1049 (#1053)
|
2025-05-06 18:16:00 +02:00 |
|
Huang Xin
|
c326ad402d
|
fix: calculate vw/vh size from iframe viewport, closes #1027 (#1045)
|
2025-05-06 09:32:01 +02:00 |
|
Huang Xin
|
27df89e261
|
fix: override text-indent when overriding book layout, closes #1026 (#1038)
|
2025-05-05 11:58:49 +02:00 |
|
Huang Xin
|
b1ea729a54
|
fix: also overriding anchor color when overriding font in dark mode, closes #995 (#1000)
|
2025-04-30 06:19:32 +02:00 |
|
Huang Xin
|
d3eff19ab9
|
fix: filter out some non-free fonts on Android and Linux, closes #994 (#999)
|
2025-04-29 20:02:54 +02:00 |
|
Huang Xin
|
3cb37bca5d
|
feat: add GuanKiapTsingKhai-T in the CJK fonts list, closes #884 (#914)
|
2025-04-19 18:00:35 +02:00 |
|
Huang Xin
|
cf66665096
|
feat: immersive UI in reader page on iOS and Android, closes #886 and closes #864 (#911)
|
2025-04-19 16:43:39 +02:00 |
|
Huang Xin
|
d4af2d3ef5
|
feat: also add sans-serif CJK fonts (#853)
|
2025-04-09 16:03:24 +02:00 |
|
Huang Xin
|
612302f42f
|
feat: add LXGW WenKai TC in CJK fonts list (#847)
|
2025-04-09 05:57:06 +02:00 |
|
Huang Xin
|
0ead07e704
|
fix: don't reset all font-size and font color when override book style (#842)
|
2025-04-09 01:55:36 +02:00 |
|