Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

Need help with userChrome.css I am trying to change the interface fonts to a Bolder font

  • 3 답장
  • 1 이 문제를 만남
  • 73 보기
  • 최종 답변자: pocat

more options

I just contributed to Thunderbird and and will contribute more if I can change the fonts used in the interface menus and toolbars. I am visually impaired and am unlikely to be able to see Thunderbird's menus at all a year from now. I tried creating a userChrome.css file but it has no effect so there must be something wrong with it. This is what I have:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /*

* 
* change font for ALL UI elements  does not affect content
*/
  • {

font-size: 14pt !important;

 	font-family: "Arial Nova" !important; 
       font-weight: bold !important;
 } 

/*

*   Threads and folder panes   
  • /

.tree-rows {

 font-size: 14px !important;

}

/*

* Menu Bar font 

menubar > menu {

  font-size: 14pt !important;
   font-weight: bold !important;

}

  1. tabs-toolbar .tab-text {

font-size: 14pt !important; font-weight: bold !important; }

I got this code from a few examples I found. Any help getting this to work would be appreciated a great deal.

I just contributed to Thunderbird and and will contribute more if I can change the fonts used in the interface menus and toolbars. I am visually impaired and am unlikely to be able to see Thunderbird's menus at all a year from now. I tried creating a '''userChrome.css''' file but it has no effect so there must be something wrong with it. This is what I have: @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* * * change font for ALL UI elements does not affect content */ * { font-size: 14pt !important; font-family: "Arial Nova" !important; font-weight: bold !important; } /* * Threads and folder panes */ .tree-rows { font-size: 14px !important; } /* * Menu Bar font * menubar > menu { font-size: 14pt !important; font-weight: bold !important; } #tabs-toolbar .tab-text { font-size: 14pt !important; font-weight: bold !important; } I got this code from a few examples I found. Any help getting this to work would be appreciated a great deal.

선택된 해결법

This approach makes fonts bigger, but not bolder: This is a general step that increases fonts somewhat. It may do what you wish. In tools>settings>general scroll to bottom where config editor is. the entry to change is layout.css.devPixelsPerPx the default is -1. Try maybe changing to 1 or 2 and see how that looks, but be careful if you set too high. I suggest 1.1 for a start.

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (3)

more options

선택된 해결법

This approach makes fonts bigger, but not bolder: This is a general step that increases fonts somewhat. It may do what you wish. In tools>settings>general scroll to bottom where config editor is. the entry to change is layout.css.devPixelsPerPx the default is -1. Try maybe changing to 1 or 2 and see how that looks, but be careful if you set too high. I suggest 1.1 for a start.

more options

This code enlarges the Menu Bar and submenu fonts, and makes them bold (see picture):

/* Menu Bar font */
menubar > menu
{ font-size: 18pt !important;
font-weight: bold !important;
}

/* Submenus and context menus font */
menupopup,popup {
    font-size: 12pt !important;
    font-weight: bold !important;
}

Changing the Mail Toolbar buttons is a bit more complex, but I suggest using the Phoenity Icons add-on as first step in making them more visible.

more options

The change in pixels was great. With that I can even see the smaller text. I also enabled legacy using the Config Editor. I had found some examples for my userChrome.css but did not know that I needed to enable legacy to get it to work. Thanks much.