View Single Post
Old 09-30-2010, 07:50 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,099
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Shadowman123 View Post
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.
theducks is online now   Reply With Quote