Hi I need help with editing style.css for epub files
I place fonts to /Fonts in root PRS-300 and then make custom css with this atributes:
@ Font-face {
font-family:-ua-default;
font-weight: normal;
font-style: normal;
src: url (res: / / / Data/Fonts/Helvetica_LT_65_Medium.ttf);
}
@ Font-face {
font-family:-ua-default;
font-weight: bold;
font-style: normal;
src: url (res: / / / Data/Fonts/Helvetica_LT_75_Bold.ttf);
}
@ Font-face {
font-family:-ua-default;
font-weight: normal;
font-style: italic;
src: url (res: / / / Data/Fonts/Helvetica_LT_66_Medium_Italic.ttf);
}
@ Font-face {
font-family:-ua-default;
font-weight: bold;
font-style: italic;
src: url (res: / / / Data/Fonts/Helvetica_LT_76_Bold_Italic.ttf);
}
@ Font-face {
font-family: "sans-serif1";
src: url (res: / / / opt/sony/ebook/FONT/tt0003m_.ttf);
}
h1 {
font-family: sans-serif1, sans-serif;
}
body {
font-family: "-ua-default", serif;
font-size: 1.2em;
margin-right: 0;
margin-left: 0;
margin-top: 0;
line-height: 130%;
}
is this correct?
Placing for custom css : database/system/PRSPlus/epub/custom.css
THX
Last edited by raiderkilo; 09-21-2011 at 01:32 PM.
|