dotcss is a Google Chrome extension that imports .css
files in ~/.css
based on their filename.
If you go to https://github.com
, dotcss will load ~/.css/github.com.css
.
This makes it super simple to change and improve the look of your favourite pages.
Chrome extensions can't access the local filesystem, so dotcss runs a tiny web server on port 1243 that serves files out of the ~/.css
folder
- OS X or Linux
- Ruby 1.8 or newer
- rake (
gem install rake
) - Google Chrome
/usr/local/bin
in your$PATH
- on Linux:
exo-open
(Can be found in exo-utils on Ubuntu. Required until Bug #378783 in xdg-utils is fixed.)
git clone http://github.com/stewart/dotcss.git
cd dotcss
rake install
Multiple versions of Chrome installed? Drag builds/dotcss.crx
to whichever is your favourite.
If your CSS isn't working, it means one of three things:
- Your selectors are off - by this, I mean either you're trying to style the wrong element, or your selector isn't specific enough to override the existing CSS
- Inline styles are preventing you from styling the element
- dotcss fucked up
The first two are more likely than the third, but if you run into something weird, please file an issue and I'll try to help you.
rake uninstall
- Chris Wanstrath for dotjs, which 90% of this is based on.