Re: [css-document-class] defining basic style

* Sanja Bonic wrote:
>in LaTeX we have \documentclass{<classname>} to define the text's basic 
>look. Has there ever been any interest in or discussion about defining a 
>basic set of style names (like article, minimal, report, thesis, book, 
>slides, etc)?
>
>I'm thinking of something like this to be included in the HTML head:
>
><style>
>document-style {screen: book, paper: minimal, slides: presentation}
></style>

That's basically something like

  @import url("book") screen;
  @import url("minimal") print;
  @import url("slides") projection;

There have been and are many efforts to create re-usable style sheets,
an early one is <http://www.w3.org/StyleSheets/Core/>, similarily some
browsers come with pre-defined style sheets, e.g. Opera "Classic" lets
users choose specialised style sheets for high contrast and similar
things. There are probably mountains of "WordPress themes".
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
D-10243 Berlin · PGP Pub. KeyID: 0xA4357E78 · http://www.bjoernsworld.de
 Available for hire in Berlin (early 2015)  · http://www.websitedev.de/ 

Received on Thursday, 5 February 2015 09:47:57 UTC