搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Part of my userChrome.css file does not execute

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Zenos

more options

I am trying to enlarge the Thunderbird font for the message listing in my inbox, etc., under Windows 10. This is a new computer. Part of my userChrome.css file must be executing, because the background is yellow. But the font and size part has no effect. Here is my file. Thank you very much! Brenda2018

/*

  • Do not remove the @namespace line -- it's required for correct functioning
*/

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

/*Background colour for message list*/

  1. threadTree > treechildren::-moz-tree-row {
   background-color: #fffacd !important;

}

/*

* Make all the default font sizes xxx:
  • /
  • {
   font-family: "Calibri" !important;
   font-size: 10pt !important;   

}

I am trying to enlarge the Thunderbird font for the message listing in my inbox, etc., under Windows 10. This is a new computer. Part of my userChrome.css file must be executing, because the background is yellow. But the font and size part has no effect. Here is my file. Thank you very much! Brenda2018 /* * Do not remove the @namespace line -- it's required for correct functioning */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /*Background colour for message list*/ #threadTree > treechildren::-moz-tree-row { background-color: #fffacd !important; } /* * Make all the default font sizes xxx: */ * { font-family: "Calibri" !important; font-size: 10pt !important; }

被選擇的解決方法

/*

 * Do not remove the @namespace line -- it's required for correct functioning
 */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 
/*Background colour for message list*/
#threadTree > treechildren::-moz-tree-row {
   background-color: #fffacd !important;
}
/* 
 * Make all the default font sizes xxx:
 */
* {
   font-family: "Calibri" !important;
   font-size: 10pt !important;   
}

Grasping at straws here; is the double colon after treechildren correct?

Hint: on this forum, asterisks and hashes are used for lists. Insert a leading space to defeat this and use fixed-width font.

從原來的回覆中察看解決方案 👍 0

所有回覆 (1)

more options

選擇的解決方法

/*

 * Do not remove the @namespace line -- it's required for correct functioning
 */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 
/*Background colour for message list*/
#threadTree > treechildren::-moz-tree-row {
   background-color: #fffacd !important;
}
/* 
 * Make all the default font sizes xxx:
 */
* {
   font-family: "Calibri" !important;
   font-size: 10pt !important;   
}

Grasping at straws here; is the double colon after treechildren correct?

Hint: on this forum, asterisks and hashes are used for lists. Insert a leading space to defeat this and use fixed-width font.