While creating a responsive theme (eg. a bootstrap based sub-theme) is there an official/recommended way to organize CSS files for different media queries? In general I put everything into one CSS file.
1. All In One
mytheme.info:
...
stylesheets[all][] = css/style.css
...
style.css:
body { ... }
p { ... }
...
@media (max-width: 767px) {
...
}
@media (min-width: 1024px) {
...
}
2. Separated CSS Files
mytheme.info:
stylesheets[all][] = css/style.css
stylesheets[all][] = css/480.css
stylesheets[all][] = css/720.css
stylesheets[all][] = css/960.css
style.css, 480.css, 720.css ...
3. Separate CSS Files for Each Media Query Defined in .info File
mytheme.info:
stylesheets[all][] = css/style.css
stylesheets[all and (min-width: 480px)][] = css/480.css
stylesheets[all and (min-width: 720px)][] = css/720.css
stylesheets[all and (min-width: 960px)][] = css/960.css
style.css, 480.css, 720.css ...
4. Other?
I wonder what is the recommended way for this or it doesn't matter (structural, performance wise etc).