I really like the epub output for Royal Road (some tools struggled to preserve e.g. italicized text formatting), but I'd like to preserve an author's center-aligned text, and none of my attempts so far have worked.
Example from
this chapter): text with a dynamically generated class and a style="text-align: center" CSS attribute.
What I've tried:
1)
<-> Doesn't work, but then again, it's not an HTML tag.
2)
Code:
[epub]
add_to_output_css:
p[style*="text-align: center"] { text-align: center !important; }
3)
Code:
## Outright overwrite output_css by removing the "text-align: justify" part from "body":
[epub]
output_css:
body { background-color: #%(background_color)s;
margin: 2%%;
adobe-hyphenate: none; }
[...]
---
I would be thankful for any advice.
PS: Any time I want to test a change to personal.ini, I currently delete and then redownload the entire fic. Is there a way to test settings, e.g. by downloading a single chapter, rather than an entire fic?