Notice: The devs are no longer actively involved in the forum, so any bug reports regarding the Stylish extension or this website should be sent to them directly at
Changing your Avatar.
The only way to currently change a forum avatar is through The email address used for your account must be one of the email addresses that is registered to your Gravatar account.

Changing font size in the editor

edited March 2007 in
How can I change the font size in the editor? It looks fine on my desktop but barely readable on my laptop.

I tried using font-size:20px and this but neither one does anything.

@namespace url(;
#stylish .textbox-textarea{font-size:x-large !important;}


  • edited March 2007
    Try this...

    @namespace url(; @-moz-document domain("") { #short-description, #long-description, #css { font-size: 20pt !important; } }
  • @namespace url(; @namespace html url(""); @-moz-document url(chrome://stylish/content/stylish-edit.xul) { #code html|*.textbox-textarea { font-size: 20px !important; } }
    Can anyone actually explain what happened here? I just adapted the code from Greg S' textbox, broken security userstyle.
  • For the Stylish Editor I use this (works for 0.4 and 0.5)

    @namespace url(; @-moz-document url(chrome://stylish/content/stylish-edit.xul), url(chrome://stylish/content/edit.xul) { #description { font-family: lucida console !important; font-size: 10pt !important; } #code { font-family: lucida console !important; font-size: 10pt !important; } }
  • Thanks. Ultimately this worked -

    @namespace url(;
    #stylish .textbox-input-box{font-size:large !important;}

    But it only works on my desktop, not on the laptop. Stylish.rdf is identical on both computers but they have different userChrome.css because they use different themes. I still can't get it to work on the laptop but I suspect something else in userChrome.css is interfering with it.
  • Speaking of fonts, I just thought I'd share my favorite monospaced font, "Dina":

    It's similar to Lucida Console, but better distinguishes between stuff like the number zero (0) and the capital letter O, so it's a bit better for programming. The only down side is that there's three sizes, 8pt, 9pt and 10pt...and only 8pt and 10pt look good.

    Consolas is also another good programming font, but it requires Windows XP with ClearType enabled, or Windows Vista. You can find it easily on Google.
Sign In or Register to comment.