Quote:
Originally Posted by Carl314
What does "css styles" mean? Only inline CSS? Virtually all of my e-books use CSS style sheets, which Cool Reader does not appear to support.
|
I mean default styles for formats.
When opening file, CoolReader loads corresponding .css file (e.g. txt.css for txt, epub.css for epub, rtf.css for rtf) from /.cr3/, or from package if external file is not found.
This loaded style is used as base style.
If some additional style is defined for document (e.g. element style attribute specified, or document specific stylesheet), additional styles override base styles.
If document specific style is not loaded/used, it's a bug. Could you provide some samples of such files?
Supported subset of CSS is described on
SF Wiki
TXT files are actually being converted internally into fb2 like XML format.
So you can define style p {} for paragraphs and title {} for headings.
Sample .css files can be found in SourceForge GIT repository.