View Single Post
Old 05-02-2013, 09:05 AM   #9
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,830
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Hi Doitsu,

Your solution is correct but maybe it could be a bit simpler Let's see:

Code:
@media not amzn-mobi {
   span.sc { font-variant: small-caps;}
}

@media amzn-mobi { 
   span.sc {font-size: 0.7em; text-transform: uppercase;}
}

<p>M<span class="sc">oralist</span> and philosophers have adjudged those who throw temptation in the way of the erring, equally guilty with those who are thereby led into evil.</p>
That works for both, .kf8 and .mobi files.

But if the ebook is exclusively for privately use and the device that we use it supports the .kf8 format, then there is no need to use media queries; just using "font-variant: small-caps;" will be enough
RbnJrg is offline   Reply With Quote