いかたけの備忘録

忘れっぽい

CSSをいじる

前使ってたテーマ(hatena-skyだったかな)に対して、「文字の幅もうちょっと広い方がいいな」と思ってテーマ変更したのが事の始まり。
デフォルトで薄い灰色だった文字色に対して「白の方が見やすそうだな」と思ってCSSで文字色変更しようとしてなかなかうまくいかず
最終的にCSSの設定に強引に!important(重要やから他の設定は無視しろ、の意)を埋め込むことで解決に持ち込ました。
設定→プレビューを繰り返したせいでやたらとページビューが増え、3桁に届きそうです。

一応、今の設定をはっつけます
1.フッタ

</div>
<div class="sidebar">
<hatena name="profile">
<hatena name="section" template="hatena-module">
<hatena name="calendar" template="dropdown">
<hatena name="photo" template="hatena-module">
<hatena name="comment" template="hatena-module">
<hatena name="trackback" template="hatena-module">
<hatena name="pv" template="hatena-module">
<hatena name="antenna" template="hatena-module">
</div>

2.CSS

a.keyword, a.edit {
color:#ffffff !important; text-underline-color:#ffffff !important;
text-decoration:none !important; border-bottom:1px #c0c0c0 solid !important;
}
a {color:#ffffff !important; text-underline-color:#ffffff !important;}
span {color:#ffffff !important;}
div {color:#ffffff !important;}
BODY {color: #ffffff;}
div.main, div.section, h2{color: #ffffff;}
h1 {color: #ffffff !important;}

ちなみに今のテーマは「nyoro」というそうです。にょろーん