Quote:
Originally Posted by Shadowman123
Hello,
Maybe somebody can help with with the following question:
I have tried to use the new functionality "Tweak Epub" and opened the CSS file with Wordpad.
I would like to change some of the font sizes but I'm a bit confused with all the sections in the CSS and what they refer to in the "real" document.
It seems the sections are numbered. For example:
.calibre1 {
font-size: 1.125em
}
.calibre2 {
font-size: 1em
}
.calibre3 {
font-size: 0.75em
}
.calibre4 {
display: block;
page-break-before: always
}
.calibre5 {
color: windowtext;
display: none;
text-decoration: none
}
Is there a simple Editor with Preview where I can see the result of the changes I make in the CSS without having to rebuild the epub every time??
Thank you for your help.
|
CSS is like paint by the numbers pictures.
You look at the picture, and find the number (or word. technically "
string") attached (class="
string") to the text you want to modify.
Be reminded that the "C" in CSS stands for Cascade.. Your text "class" may be affected by changes on the layers surrounding you layer of interest

, and there could possibly still be more inner layers that will be affected.
Going back to your original Stylesheet: (which did not show the standard outermost layer: "calibre", which sets the basic overall L+F of the "page".
3 font sizes called out. with no other attributes

No clues here.