搜尋 Mozilla 技術支援網站

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

了解更多

How do I change the NewTabPage tile shadow colors

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

I would like to change the border/shadow colors that appear when hovering over a tile on the new tab page , ideally using usercontent.css

I would like to change the border/shadow colors that appear when hovering over a tile on the new tab page , ideally using usercontent.css

所有回覆 (3)

more options

You can view the source code for the newTab.css file here:

chrome://browser/content/newtab/newTab.css

BTW, the correct file name is userContent.css - the C for Content has to be upper-case or Firefox won't use that file.

And if you aren't familiar with css, check out this website - https://userstyles.org/ - for pre-made "styles" that can be used with Stylish or be put in a userContent.css file with a little editing to make it "yours".

more options

Thanks, I got some ideas from https://userstyles.org/ searching for about:newtab - working through them and slowly getting there! (also, thanks for the case typo)

more options

See also:

  • chrome://browser/skin/newtab/newTab.css