2002/02/17 (日)

2002-02-17:Mozilla のフォント変更

Debian マシンに入れている Mozilla 0.9.8 でメニューバーやフォームに使われるフォントが [編集]→[設定]→[フォント] では変更できなかったのでいろいろ試行錯誤。
メニューバーの方は .mozilla/default/[hoge]/chrome/ 以下のuserChrome.css に

* {
  font-family: helvetica,sans-serif       !important;
  font-size:   12pt                       !important;
}

と、フォームまわりの方は同じディレクトリの userContent.css に

input,textarea,select {
  font-family: helvetica,sans-serif       !important;
  font-size:   12pt                       !important;
  background-color: rgb(200, 255, 220)    !important;
}

と記述することで期待通りの表示になった。ついでにフォームは背景色をつけてみる。

comment