Ruby on Rails
Saturday, January 21, 2012
Hello,I'm using blueprint and the css looks like this:
<link rel="stylesheet" href="./css/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print">
<!--[if lt IE 8]><link rel="stylesheet" href="./css/ie.css" type="text/css" media="screen, projection"><![endif]-->
<link rel="stylesheet" href="./themes/default/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="./themes/pascal/pascal.css" type="text/css" media="screen" />
<link rel="stylesheet" href="./themes/orman/orman.css" type="text/css" media="screen" />
<link rel="stylesheet" href="./nivo-slider.css" type="text/css" media="screen" />
for rails 3.1, it has asset pipleline ,compiles all the css into one large css file,
so how do I handle conditional including stylesheet like <!--[if lt IE 8]>,
and how do I handle proper different media like that?
(besides, each css file has some additionaly meta like @charset "utf-8";
when it compiles together, does those files conflict with each other?
Thanks!.
| |
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment