I’m hopeful

Code font size is poor on B&N nook (v1 and Simple Touch).

I find the font size used for code is ridiculously hard to read on my nook (both my v1 and simple touch). By changing the font size from a fixed 10pt to a relative 0.9em in the epub's CSS file for both the "pre" and "code" elements, I found that the code is much more readable:


/* Extracted code begins */

/* code */

pre {
white-space: pre-wrap;
font-family: "Liberation Mono", monospace;
margin: 10px 0 10px 20px;
font-size: 0.9em; /* original: 10pt */
display: block;
}

code {
font-family: "Liberation Mono", monospace;
font-size: 0.9em; /* original: 10pt */
}

/* Extracted code ends */


This also gives the user the capability to control the font size. As most web devs will tell you... fixed font sizes are "bad."

Just a suggestion...

Thank you,
Brett
1 person likes
this idea
+1
Reply