View Single Post
Old 02-12-2024, 10:29 AM   #143
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,073
Karma: 147983159
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by paperwhite13 View Post
Mixing full size capitals with small caps is a matter of taste, not of grammar, but anyone is free to quote whatever grammar guide they're using to prove their point.
It's not a matter of grammar. It's how it's written. The question is how to best implement it in an eBook so it works in all cases.

I have found a way that might work.

In the first CSS file.
Code:
small {
  font-size: 0.8333em;
}
in the next CSS file.
Code:
@supports (font-variant: small-caps) {
small {
  font-size: 1em;
  font-variant: small-caps;
  text-transform: lowercase;
}

Now if @supports causes the entire CSS to be ignored in ADE/RMSDK, it won't matter as it's in a separate CSS file.

Last edited by JSWolf; 02-12-2024 at 05:31 PM.
JSWolf is offline   Reply With Quote