W3C home > Mailing lists > Public > public-digipub-ig@w3.org > October 2015

RE: Is there a CSS media query for EPUB (or, later, PWP)?

From: Leonard Rosenthol <lrosenth@adobe.com>
Date: Fri, 30 Oct 2015 21:15:18 +0000
To: Ivan Herman <ivan@w3.org>, Dave Cramer <Dave.Cramer@hbgusa.com>
CC: Elika Etemad <fantasai@inkedblade.net>, W3C Digital Publishing IG <public-digipub-ig@w3.org>
Message-ID: <BLUPR0201MB1505224E0F81D4DE72A82B2BCD2F0@BLUPR0201MB1505.namprd02.prod.outlook.com>
Epub isn’t media – itmdpesnt belong in an MQ.  If you look at the differences between MQ3 and MQ4 you’ll see how they’ve (rightly) simplified it to only includes a core set of thongs

From: Ivan Herman [mailto:ivan@w3.org]
Sent: Friday, October 30, 2015 3:58 PM
To: Dave Cramer <Dave.Cramer@hbgusa.com>
Cc: Elika Etemad <fantasai@inkedblade.net>; W3C Digital Publishing IG <public-digipub-ig@w3.org>
Subject: Is there a CSS media query for EPUB (or, later, PWP)?

Dave,

the subject line may just show my ignorance. But is there such a beast? Should there be?

I was looking at the proposal for a new style sheet for W3C documents. A sample document is at:

http://fantasai.inkedblade.net/style/design/w3c-restyle/2016/sample


There is  really neat trick, which is based on media queries, on pushing the TOC on the left of the screen (if it is large enough), or to have a small sign on the lower left hand corner of the screen for a narrow screen. It is neat, but if the document is converted into an EPUB, it becomes unnecessary. After all, the EPUB structure requires a TOC; in many respect, that TOC on the left reproduces what Reading Systems do (and they do no matter what). The cleanest would be to control that via a media query…

Just an idea very early in the morning:-)

Ivan

----
Ivan Herman, W3C
Digital Publishing Lead
Home: http://www.w3.org/People/Ivan/

mobile: +31-641044153
ORCID ID: http://orcid.org/0000-0003-0782-2704




Received on Friday, 30 October 2015 21:15:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 25 April 2017 10:44:33 UTC