Using the following css in Preferences ==> Editor Settings ==> Change templates:
Code:
h1, h2, h3 {
text-align: center;
}
p {
text-indent: 1.5em;
margin: 0;
}
.scenebreak {
text-align: center;
text-indent: 0%;
margin: 1em;
}
I get the following error when I try to create new css files.
Code:
calibre 2.3* [64bit] isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.8
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && View Manager && Quality Check && Annotations && Diaps Editing Toolbag && Overdrive Link && Goodreads Sync && Kindle Collections && Goodreads
Traceback (most recent call last):
File "C:\Users\seli\git\calibre\src\calibre\gui2\tweak_book\file_list.py", line 761, in accept
File "C:\Users\seli\git\calibre\src\calibre\gui2\tweak_book\templates.py", line 46, in template_for
KeyError: u'\n text-align'
When I revert the template and then manually copy-paste my css in, Check Book reports clean.