LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: herberteuler

修改 Firefox 和 Mozilla 菜单和对话框字体的方法

[复制链接]
发表于 2004-10-7 11:00:01 | 显示全部楼层
图呢?


怎么删贴?
发表于 2004-10-7 11:03:48 | 显示全部楼层

我晕,帖图这么麻烦

我晕,帖图这么麻烦

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-10-7 11:09:04 | 显示全部楼层

谢谢楼主及各位大虾!

但我的 vi /.mozilla/firefox/default.bao/userChrome.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: 20pt !important;
font-family:SimSun !important
}

/*
* Make menu items in particular 15 pt instead of the default size:
*
"userChrome.css" [dos] 55L, 1158C 15,15 顶端
发表于 2004-10-7 11:35:48 | 显示全部楼层
应该是vi /.mozilla/firefox/default.bao/chrome/userChrome.css
发表于 2004-10-7 13:01:13 | 显示全部楼层
除了这个还有另外几个呢,我把同名的所有文件都照板修改过了,没发现什么作用,不过我有一次修改gtkrc文件倒是起过一点作用。
 楼主| 发表于 2004-10-7 13:03:40 | 显示全部楼层
还有,
1. 在主目录下,不在根目录下。
2. 字号 20 可能太大了,我只是举个例子。
3. 字体 SimSun 我这里安装了,你应该换成你已经安装的字体。
 楼主| 发表于 2004-10-7 13:04:58 | 显示全部楼层

回复: 谢谢楼主及各位大虾!

最初由 linuxjerry 发表
* {
font-size: 20pt !important;
font-family:SimSun !important
}


如果你想修改界面全部的字体,应该有个 * 在这里。
 楼主| 发表于 2004-10-7 14:06:58 | 显示全部楼层
修改完成后的界面像是下面这样:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-10-8 10:51:09 | 显示全部楼层
明白,谢谢!
原来是要一个*啊,加上这个星星之后就起作用了。我一直把/**/当注释,没想到它还有其他含义。
不过要说简单的话可能about:config更简单一点。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-10-8 11:25:32 | 显示全部楼层
看看偶改出来的效果:
mozilla-1.7.3
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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