Stylish changed PM UI font

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

tkrojam_1

Stylish changed PM UI font

Unread post by tkrojam_1 » 2017-03-15, 13:59

Hi all,

I use extension "Stylish" to change the global font type for all sites by this script:
Image

The font effect is active but, however, it also changed PM UI font:
Image

Original:
Image

Could anyone suggest me script prevent it from changing PM UI font?

Thanks in advance :)

JustOff

Re: Stylish changed PM UI font

Unread post by JustOff » 2017-03-15, 19:42

Just add this at the top of your script:

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);
See also:
https://github.com/stylish-userstyles/s ... namespaces
https://github.com/stylish-userstyles/s ... bal-styles

tkrojam_1

Re: Stylish changed PM UI font

Unread post by tkrojam_1 » 2017-03-16, 01:45

JustOff wrote:Just add this at the top of your script:

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);
See also:
https://github.com/stylish-userstyles/s ... namespaces
https://github.com/stylish-userstyles/s ... bal-styles
Wow, awesome! It works, except the address bar font... :sick:
Image

Original:
Image

What is the final script? :angel:

JustOff

Re: Stylish changed PM UI font

Unread post by JustOff » 2017-03-16, 12:14

tkrojam_1 wrote:What is the final script? :angel:
Try this one:

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix(http) {
  * {font-family: Arial, "Microsoft JhengHei" !important;}
}
See https://github.com/stylish-userstyles/s ... ment-rules

tkrojam_1

Re: Stylish changed PM UI font

Unread post by tkrojam_1 » 2017-03-16, 12:59

JustOff wrote:
tkrojam_1 wrote:What is the final script? :angel:
Try this one:

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix(http) {
  * {font-family: Arial, "Microsoft JhengHei" !important;}
}
See https://github.com/stylish-userstyles/s ... ment-rules
IT WORKS LIKE A CHARMMMMMMMMMM!!! Like your avatar, a CSS wizard.

THANKS A LO :clap: O :thumbup: O :wave: O :D O :) O ;) T :coffee:

tkrojam_1

Re: Stylish changed PM UI font

Unread post by tkrojam_1 » 2017-03-16, 13:50

Just one more thing, how could I export the Style CSS script from PM and import it to IE11? :mrgreen:

Locked