Skip to content

Instantly share code, notes, and snippets.

@eduardodx
Created December 13, 2012 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eduardodx/4279471 to your computer and use it in GitHub Desktop.
Save eduardodx/4279471 to your computer and use it in GitHub Desktop.
This is my css for reading ebooks in Calibre.
/**
* Font: EB Garamond <http://www.georgduffner.at/ebgaramond/>
* and use of 2 columns
*/
html {
line-height: 1.5em;
text-align: justify;
font-family: "EB Garamond" !important;
text-indent: 2em;
/* iPad
background-color: #f5efdc;
color: #000;
*/
/* Kindle
background-color: #fbf0d7;
color: #453722;
*/
/* Readable
background-color: rgb(247, 247, 247);
color: rgb(43, 55, 61);
*/
/* iPad + Kindle */
background-color: #f5efdc;
color: #453722;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment