❗❗DOES NOT WORK AS OF CHROME 32 SEE https://stackoverflow.com/a/21210882❗❗
Simple system to manage small css changes around the internet.
I like the idea of dotCss (and dotJs) I just don't think you should run a server just to serve css files :-/.
This works with Chrome Default Styles sheets and a tiny extension. The chrome exention just gives the website a class we can target. You can read more about the extension over at dotcss-ish
- Pull this repo into .css
git clone git@github.com:ericduran/dotcss-ish.git ~/.css
- Symlink your chrome Default styles directory to ~/.css
ln -s ~/Library/Application\ Support/Google/Chrome/Default/User\ StyleSheets ~/.css
- compass compile
- Install dotcss-ish chrome extension.
- Visit chrome://extensions/
- Drag
dotcss-ish.crx
into the page.
The chrome extention just adds the hostname of the site as a class to you document. Except it replaces "." with "-".
/* Use the hostname as a class */
.mycloud-pointhq-com {
.free {
display: none;
}
}
The last step is running compass compile
. To update your actual Custom.css file.