I think you are taking a wrong direction for using the asset-pipeline in general . If you are about to use the pipeline , you just have to keep the application.css
- this is a manifest file , that you use to include your css
files . My advice is to move your link href=
from view and use the manifest file (application.css) like this :
*= require_self
*= require foundation
*= require mobile_size
....
*= require_tree
What you are including now are precompiled css files (notice the hash prefixes) and every time you modify your assets , the hash prefix will change .
The same is the situation with .js
files - you have to include them in application.js
manifest file .
EDIT : The idea of using SASS (3.2) and media-queries (as described in this CSS-tricks article, regards to @penner) would fit nicely in this case.