Skip to content

Instantly share code, notes, and snippets.

@imginohu
Created June 29, 2013 06:13
Show Gist options
  • Save imginohu/5890070 to your computer and use it in GitHub Desktop.
Save imginohu/5890070 to your computer and use it in GitHub Desktop.
Optimized css for epub exported by readability in NOOK Touch
@font-face {
font-family: "DroidFont", serif, sans-serif;
font-weight: normal;
font-style: normal;
src: url(res:///system/fonts/DroidSansFallback.ttf);
}
@font-face {
font-family: "DroidFont", serif, sans-serif;
font-weight: bold;
font-style: normal;
src: url(res:///system/fonts/DroidSansFallback.ttf);
}
@font-face {
font-family: "DroidFont", serif, sans-serif;
font-weight: normal;
font-style: italic;
src: url(res:///system/fonts/DroidSansFallback.ttf);
}
@font-face {
font-family: "DroidFont", serif, sans-serif;
font-weight: bold;
font-style: italic;
src: url(res:///system/fonts/DroidSansFallback.ttf);
}
body {
font-family: "DroidFont", serif;
}
#rdb-digest-controls {
background: #efefef;
text-align: center;
padding-bottom: 15px;
}
ul.rdb-article-controls {
margin: 0;
padding: 0;
text-align: left;
list-style: none;
}
ul.rdb-article-controls li {
width: 40%;
margin: 0;
padding: 5px;
display: inline;
}
#rdb-article-controls a, ul.rdb-article-controls a {
color: black;
text-decoration: none;
}
code {
white-space: pre;
}
pre {
white-space: pre-wrap;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment