ryanve / action

Extensible HTML5 WordPress parent theme
http://actiontheme.com
5 stars 1 forks source link

stylesheet [media] types #5

Open ryanve opened 11 years ago

ryanve commented 11 years ago

Action uses #2 stylesheets for mainly for maintainability and modularity. A positive side-effect is that the 2nd sheet is only loaded on applicable media types.

<link rel='stylesheet' href='/wp-content/themes/action/base.css'>
<link rel='stylesheet' href='/wp-content/themes/action/style.css' media='screen'>

Maybe [media="screen, projection, print, tv"] is appropriate but its hard to decide without access to other types. Which types should the theme include by default? Test media types and the demo site.

ryanve commented 11 years ago

airve.com/mq confirms that Opera full-screen uses "projection" and FF/IE8/Chrome full-screen use "screen". 2009 concurs.