View Single Post
Old 05-29-2010, 03:06 AM   #12
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,843
Karma: 12535517
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by grzy7316 View Post
Ok, so I want to try a custom css file, but I do not know where to start with this. can someon post a sample css file that I can load as my style.css on prs+? after this I should be able to edit it.
This is the one I currently use. I stole much of it and I'm unsure if some of it has any effect, but it certainly does no harm.

Code:
@font-face {
  font-family: "Futura";
  font-weight: normal;
  font-style: normal;
  src: url(res:///Data/fonts/Futura.ttf);
}

@font-face {
  font-family: "Futura";
  font-weight: bold;
  font-style: normal;
  src: url(res:///Data/fonts/Futura-Bold.ttf);
}

@font-face {
  font-family: "Futura";
  font-weight: normal;
  font-style: italic;
  src: url(res:///Data/fonts/Futura-Italic.ttf);
}



/* Standard elements */

html, body { 
font-family: "Futura", sans-serif; 
widows: 0; 
orphans: 0; 
margin: 0; 
padding: 0; 
}

blockquote.message { font-family: monospace; }
blockquote.code { font-family:  monospace; }
code { font-family: monospace; }


h1, h2, h3, h4{ margin: 0; padding: 0; text-indent: 0;}

p {text-indent:1.1em;}
div {text-indent:1.1em;}



/* 
   To increase ePub line height Remove rem slashes 
   surrounding the paragraph and division statements below. 
   Then adjust percentage higher, try 110% to start.
*/



/*

p {
line-height: 110%
}

div {
line-height: 110%
}

*/
DoctorOhh is online now   Reply With Quote