File last modified on August 18, 2022

epub3.css

No modifications should be made to epub3.css. If a tweak, suggestion or error is found within the file then an issue should be filled out so the file can be revisioned and the tag epub3.css should be added to the issue.

Currently the epub3.css is compressed but there is no requirement to compress any supporting CSS files, such as the file idGeneratedStyles.css that is the common naming convention from InDesign.

If a style from the epub3.css is needing a change, in the title's custom stylesheet use the !important rule.

For example in epub3.css you'll see the style for <a> color as inherit:

css
1
a {
2
text-decoration: none;
3
color: inherit;
4
}

To override this color, in your custom stylesheet (example with idGeneratedStyles.css) you would code it as color:

css
1
a {
2
color: #aeaeae !important;
3
}

Since epub3.css is a template file it is suggested that this file be added to BBEdit's Stationary Folder.

Last build: Thursday, 08/18/2022, 01:01:08 AM