View Single Post
Old 09-21-2011, 01:30 PM   #2668
raiderkilo
Connoisseur
raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.raiderkilo is not intimidated by interfenestral monkeys.
 
raiderkilo's Avatar
 
Posts: 81
Karma: 26768
Join Date: Nov 2009
Location: Slovakia
Device: PRS-350 "PRS+"
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.
raiderkilo is offline   Reply With Quote