View Single Post
Old 08-31-2022, 05:53 PM   #1
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 781
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
CSS to Approximate a Telegram?

Occasionally, I run into books where the author wants to show a telegram (wire, Western Union, etc.). Since I strip out embedded fonts (and read with a specific font set on my Kobo Forma), I can't really use a monospaced, san-serif font to show that. Anyone have any thoughts on some CSS to approximate a line or two of such a thing? Right now, as a first shot kludge, I'm considering something like:
Code:
.telegram {
	/* Style to look like a telegram */
    display: block;
    font-family: "Courier New", monospace, Georgia, "Times New Roman", sans-serif; (<-- just in case)
	font-variant:	small-caps;
	letter-spacing: -1px;
	margin-left:	2em;
	margin-right:	2em;
    text-indent: 0;
    }

Last edited by enuddleyarbl; 09-02-2022 at 03:32 PM.
enuddleyarbl is offline   Reply With Quote