/*****************************************************************************
It is adviced to place the sIFR JavaScript calls in this file, keeping it
separate from the `sifr.js` file. That way, you can easily swap the `sifr.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `sifr.js`.

That said, you're of course free to merge the JavaScript files. Just make sure
the copyright statement in `sifr.js` is kept intact.
*****************************************************************************/

var Quicksand = { src: themeDirectory + 'sifr/fonts/Quicksand.swf' };
var QuicksandBold = { src: themeDirectory + 'sifr/fonts/QuicksandBold.swf' };

sIFR.activate(Quicksand, QuicksandBold);

sIFR.replace(Quicksand, {
  selector: '.home #content h2',
  css: '.sIFR-root { background-color: none; color: #91bae3; text-align: right; letter-spacing: -2 }',
  wmode: 'transparent'
});

sIFR.replace(Quicksand, {
  selector: '#content h2',
  css: '.sIFR-root { background-color: none; color: #91bae3; letter-spacing: -2 }',
  wmode: 'transparent'
});

sIFR.replace(QuicksandBold, {
  selector: '#content .post h3',
  css: '.sIFR-root { background-color: none; color: #91bae3; letter-spacing: -1 }',
  wmode: 'transparent'
});

sIFR.replace(QuicksandBold, {
  selector: '#sidebar h3',
  css: '.sIFR-root { background-color: none; color: #91bae3; letter-spacing: -1 }',
  tuneHeight: -2,
  wmode: 'transparent'
});
