Quote:
Originally Posted by Hitch
In ePUB3, or ePUB2?
Hitch
|
Here are the media queries that validated in both ePub 2 and ePub 3. I converted the ePub 3 eBook to ePub 2 and it validates no problem. Maybe you last did it with an older epubscheck.
Code:
@media amzn-kf8 {
div.body {
margin: 0 0 0 0;
}
body {
margin: 0 1.2em 0 1.2em;
}
img.epub {
display: none;
}
img.sign-up {
width: 3.5em;
display: inline;
}
img.fb {
width: 1em;
display: inline;
}
}
@media amzn-mobi {
div.body {
margin: 0 0 0 0;
}
body {
margin: 0 1.2em 0 1.2em;
}
img.epub {
display: none;
}
img.sign-up {
width: 3.5em;
display: inline;
}
img.fb {
width: 1em;
display: inline;
}
sup {
vertical-align: super;
font-size: 0.65em;
}
sub {
vertical-align: sub;
font-size: 0.65em;
}
}