Thread: Firefox 4 User userChrome.css & UI Font size
for years i've been been using same userchrome.css custom font layout in firefox.
however, firefox 4 doesn't use userchrome.css file customize font layout.
what?
searching google, found stylish add-on firefox 4 & 5 , worked.
after install stylish, here's have to:
1. go tools, add-on's
2. click preferences beside stylish
3. select "write new style" , paste attached css info below.
4. save (under whatever name wish , add tags if desired).
5. done
should in windows.
(ps. make sure have ms core fonts installed)
sudo apt-get install msttcorefonts
stylish code:
/*
* edit file , copy userchrome.css your
* profile-directory/chrome/
*/
/*
* file can used customize of mozilla's user interface
* should consider using !important on rules want to
* override default settings.
*/
/*
* not remove @namespace line -- it's required correct functioning
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace xul */
/*
* possible accessibility enhancements:
*/
/*
* make default font sizes 20 pt:
*
* * {
* font-size: 20pt !important
* }
*/
/*
* make menu items in particular 15 pt instead of default size:
*/
* menubar > menu,menupopup > menuitem > menupopup >*
menubar, menubutton, menulist, menu, menuitem {
font-size: 3mm !important
}
*
/* set font tabs' text */
.tab-text
{
font-size: 8.5pt !important;
}
/* change fontsize on text icons, navigation, personal bookmarks,
not affect menu bar */
.toolbarbutton-text {-moz-appearance: none !important;
font-size: 8.5pt !important;}
/ * give location (url) bar fixed-width font
*
* #urlbar {
* font-family: monospace !important;
* }
*/
/*
* eliminate throbber , annoying movement:
*
#throbber-box {
display: none !important;
}
*/
/*
* more examples see http://www.mozilla.org/unix/customizing.html
*/
Forum The Ubuntu Forum Community Other Discussion and Support Tutorials Outdated Tutorials & Tips Firefox 4 User userChrome.css & UI Font size
Ubuntu
Comments
Post a Comment