View Single Post
Old 08-11-2020, 12:08 PM   #4
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 474
Karma: 3972002
Join Date: May 2013
Location: Ontario, Canada
Device: Pop_Os!, Kobo Forma
Quote:
Originally Posted by pdurrant View Post
You would need to mark up the text, putting every character into its own span

<span class="L">L</span><span class="I">i</span><span class="K">k</span><span class="E">e</span> <span class="T">t</span><span class="H">h</span><span class="I">i</span><span class="S">s</span>.

and then have CSS assigning colors to the classes

span.A { color : rgb(0,0,255); }
span.B { color : rgb(0,255,0); }
span.C { color : rgb(255,0,0); }
etc.

It will increase the size of the book a lot!
You could do that with search and replace, once the css is set up, so at least you wouldn't have to edit every letter in the book. But why?
retiredbiker is offline   Reply With Quote