Chinaunix首页 | 论坛 | 博客
  • 博客访问: 100982695
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类: LINUX

2008-03-29 13:49:27

 来源: 作者:lication

简单的配置就是在首选项中设置好使用雅黑字体,网页和邮件就基本上已经全部可用雅黑来显示了

但是菜单栏和插件栏仍然是原来的字体,很不雅观,这时使用如下方法:

分别找到在你的主目录下找到.mozilla/firefox/hhiszzo7.default/chrome和/home/xelnaga/.thunderbird/yk0zvgpc.default/chrome目录

没有的话就新建一个。

然后分别在这两个目录中新建同一文件userChrome.css

配置文件比较简单,用于指定字体种类和大小,很容易看懂,如果想使用其他字体,可以参照修改

CODE:
/*
* 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(""); /* set default namespace to XUL */


/*
* Some possible accessibility enhancements:
*/
* {
font-size: 10pt !important;
}
* {
font-family: Microsoft YaHei !important;
}
/*
* Make all the default font sizes 20 pt:
*
* * {
* font-size: 20pt !important
* }
*/
/*
* Make menu items in particular 15 pt instead of the default size:
*
* menupopup > * {
* font-size: 15pt !important
* }
*/
/*
* Give the Location (URL) Bar a fixed-width font
*
* #urlbar {
* font-family: monospace !important;
* }
*/

/*
* Eliminate the throbber and its annoying movement:
*
* #throbber-box {
* display: none !important;
* }
*/

/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/


最后,重新启动程序,就可以了!

在Fedora 8系统环境下通过!

阅读(509) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~