// ==UserScript==
// @name          Hesari
// @namespace     http://www.biomi.org
// @description   Käytettävyysparannuksia HS:n uusille sivuille (12.1.2006)
// @include       http://hs.fi*
// @include       http://www.hs.fi*
// @include       http://blogit.hs.fi*
// @include       http://www.helsinginsanomat.fi/*
// ==/UserScript==

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

addGlobalStyle('body { font-size: 113% ! important; }');
addGlobalStyle('a:link { color: #009 ! important; text-decoration: underline ! important; }');
addGlobalStyle('a:visited { color: #606 ! important; text-decoration: underline ! important; }');
addGlobalStyle('a:active { color: #00f ! important; text-decoration: underline ! important; }');
addGlobalStyle('a:hover { color: #00f ! important; text-decoration: underline ! important; }');
addGlobalStyle('.newsList { position: absolute ! important; top: 125px ! important; left: 605px ! important; padding: 0.5em; background-color: #fff; padding: 0.5em; line-height: 130%; }');
addGlobalStyle('.newsList a:link { color: #00c ! important; }');

// Mainokset ja välkyttimet hiiteen (Jere Majava)
addGlobalStyle('EMBED, OBJECT, IFRAME { display: none; ! important; }');
addGlobalStyle('.contentAdCenter, #frameTopAd, #right { display: none; ! important; }');


