搜尋 Mozilla 技術支援網站

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

了解更多

How can I view web pages in Segoe UI *Light*, please?

  • 2 回覆
  • 4 有這個問題
  • 2 次檢視
  • 最近回覆由 rootof

more options

I am looking for a way to make the Segoe UI Light font available to the Options dialogue in Firefox. I am already using this attractive font in Thunderbird.

I am looking for a way to make the Segoe UI Light font available to the Options dialogue in Firefox. I am already using this attractive font in Thunderbird.

被選擇的解決方法

To Firefox, Segoe UI and Segoe UI Light are the same font family. The former is used for normal weight, while the latter is used for lighter weight.

1. Install the Stylish add-on.

2. If you want to ignore fonts specified by web pages and use Segoe UI Light for all elements if possible, paste the following in a new style and save it.


@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("http") {

* {
  font-family: "Segoe UI" !important;
  font-weight: 300 !important;
}

}

3. If you only want to use Segoe UI Light when the web page doesn't specify a particular font (e.g. Wikipedia), use the same style as above, but delete both instances of !important

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

所有回覆 (2)

more options

選擇的解決方法

To Firefox, Segoe UI and Segoe UI Light are the same font family. The former is used for normal weight, while the latter is used for lighter weight.

1. Install the Stylish add-on.

2. If you want to ignore fonts specified by web pages and use Segoe UI Light for all elements if possible, paste the following in a new style and save it.


@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("http") {

* {
  font-family: "Segoe UI" !important;
  font-weight: 300 !important;
}

}

3. If you only want to use Segoe UI Light when the web page doesn't specify a particular font (e.g. Wikipedia), use the same style as above, but delete both instances of !important

more options

@Gingerbread_Man

Many thanks indeed for your helpful solution - J P D would be proud of you!

I particularly like the fact that (presumably) this approach could be used to apply other fonts and weights to Firefox.