スナックelve 本店

バツイチ40代女の日記です

はてなブログの記事に表示したはてぶコメントのタイトル部分の色が変えられた話

www.secret-base.org
というわけで阿豆らいち (id:AzuLitchi)さんに暴投したのですがナイスキャッチでフォローありがとうございます。

今のところうちの設定は↓な感じです。初回読み込み時は失敗することが多いのでやっぱディレイは200msec必要か・・・と悩んでるところ。
紫龍・・・じゃないやw 紫雲カラーの人は参考にしてくれぃ。a:hover? なんでそんなものを必要だと思ったのか忘れたぞい(鬼)

そっす

<script type="text/javascript">
$(window).load(function(){
setTimeout(function(){
var hatebucontainer = $('iframe.hatena-bookmark-comment-iframe').contents().find('div#hatena-bookmark-container');
var hatebucontainer_a = $('iframe.hatena-bookmark-comment-iframe').contents().find('div#hatena-bookmark-container a');
var hatebuTitle = $('iframe.hatena-bookmark-comment-iframe').contents().find('div.hatena-bookmark-title');
var hatebuTitle_a = $('iframe.hatena-bookmark-comment-iframe').contents().find('div.hatena-bookmark-title a');
var hatebu_users = $('iframe.hatena-bookmark-comment-iframe').contents().find('div.hatena-bookmark-title span');
var hatebuButton = $('iframe.hatena-bookmark-comment-iframe').contents().find('div.hatena-bookmark-addcomment');
var hatebuButton_a = $('iframe.hatena-bookmark-comment-iframe').contents().find('div.hatena-bookmark-addcomment a');
hatebucontainer.css({
'color':'#37c',
'border-radius':'0'
});
hatebucontainer_a.css({
'color':'#333'
});
hatebuTitle.css({
'color':'#333',
'border':'none',
'background':'linear-gradient(to bottom, #dec6eb, #eee)',
'border-radius':'0'
});
hatebuTitle_a.css({
'color':'#333'
});
hatebu_users.css({
'color':'#333'
});
hatebuButton.css({
'border-radius':'4px'
});
hatebuButton_a.css({
'border':'none',
'background-color':'#dec6eb',
'color':'#333',
'font-weight':'normal'
});
},100);
});