Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [css]

`CSS` or "Cascading Style Sheets" is a language for describing the look and formatting of a document. It is often used in web pages or XML.

11
votes
2answers
4k views

Can custom fonts be embedded in mobi or epub books targeting eink readers?

Assuming that I am targeting non-tablet eBook readers such as Kindle and nook, is it possible to layout a book with some text in the default font of the device and some paragraphs in a special font ...
4
votes
1answer
4k views

footnote as popup in epub

In an ebook I bought, if you click on the number of a footnote the text of the note appears as a popup, and you may choose to close the popup or go to the chapter with footnotes. I noticed this ...
9
votes
1answer
4k views

Any opensource or free css stylesheets for books?

I am creating epub using sigil. Every book has almost (if not all) same elements: Headings, paragraphs, images, tables, quotes, boxes, notes, footnotes, references, bibliography etc. I don't have a ...
7
votes
2answers
3k views

Moon+ Reader — what kind of CSS support? formatting tips?

A friend recommended Moon+ Reader for android and I was initially impressed by all the features and controls. Then I checked how my own published books render in Moon+. I saw lots of weird things. ...
2
votes
0answers
57 views

How well does Google Play Books support page-oriented css? (i.e., page breaks)

While testing ebooks, I have been finding deficiencies in css support in Google Play Books. Namely, this doesn't work: h2 { page-break-before: always; } GPB's support for embedded ...
4
votes
2answers
868 views

Media queries to distinguish between Kindle e-inks vs non-e-inks

I would like to separate styles (colors) for e-ink Kindles and the rest. It could be quite easy if monochrome or color queries worked. As far as I know, I have to use a workaround. It is said Kindle ...