LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 595|回复: 1

[求助]SuSE 9.1下修改Mozilla菜单字体遇到的问题.

[复制链接]
发表于 2004-5-6 09:45:27 | 显示全部楼层 |阅读模式
SuSE 9.1,桌面分辩率为1400X1050X85Hz,新安装了Mozilla 1.7 RC1,发觉Mozilla的菜单字体太小,想调大它,找了些资料,编辑了一个css文件.内容如下:

/*  
  * Edit this file and copy it as userChrome.css into your  
  * profile-directory/chrome/  
  */  
   
  /*  
  * This file can be used to customize the look of Mozilla's user interface  
  * You should consider using !important on rules which you want to  
  * override default settings.  
  */  
   
  /*  
  * Do not remove the @namespace line -- it's required for correct functioning  
  */  
  @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */  
   
   
  /*  
  * Some possible accessibility enhancements:  
  */  
  /*  
  * Make all the default font sizes 20 pt:  
  */  
  {  
????font-size: 10pt !important  
  }  
   
  /* Set font size and family for dialogs  
  * and other miscellaneous text  
  */  
  window {  
???font-size: 10pt !important;  
???font-family: Tahoma !important;  
  }  
   
  /*  
  * Make menu items in particular 15 pt instead of the default size:  
  */  
???menupopup > * {  
????font-size: 10pt;  
????font-family: Tahoma !important;  
  }  
   
  /*  
  * Give the Location (URL) Bar a fixed-width font  
  */  
  #urlbar {  
?????font-family: Tahoma !important;  
?????font-size: 10pt  
  }  
   
   
  /*  
  * Eliminate the throbber and its annoying movement:  
  */  
  #throbber-box {  
????display: none !important;  
  }  
   
  /* Kill all tab icons, no matter what */  
   
  .tabbrowser-tabs .tab-icon {  
???display: none;  
  }  
   
  /* Show icons (no matter what) when hovering over the tab */  
   
  .tabbrowser-tabs *|tab:hover .tab-icon {  
???display: -moz-box;  
  }  
   
   
  /* Make menus big, pretty and readable (like the old SGI look):  
  * menubar isn't used after 12/19 builds, but is needed for NS6;  
  * the rest are for post-12/19  
  */  
  menubar, menubutton, menulist, menu, menuitem {  
???font-family: Tahoma !important;  
???font-size: 10pt !important;  
  }  
   
  /*  
  * For more examples see http://www.mozilla.org/unix/customizing.html   
  */  
 楼主| 发表于 2004-5-6 09:46:08 | 显示全部楼层
将它命名为userChrome.css,不知道该放到哪个目录下。这是Mozilla官方参考页面:
http://www.mozilla.org/unix/customizing.html

Mozilla 1.7 RC1的安装目录是/usr/local/mozilla,我就把这个css文件拷贝到/usr/local/mozilla/chrome目录下,但启动后似乎没有什么效果,不知道错在哪里,请各位高手指点一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表