MediaWiki 配置
更改字体大小
直接修改MW所使用的皮肤方案的样式文件,比如"Vector"皮肤的样式文件为:{$MW}/skins/vector/screen.css。例如想增大"<pre></pre>"标记的字体太小,在样式文件中进行下面的修改即可:
pre, code, tt, kbd, samp {
/*
* It's important for this rule to first reference an actual font name, some browsers will render the monospace text
* too small otherwise, namely Firefox, Chrome and Safari
*/
font-family: monospace, "Courier New";
font-size: 100%; /* 设置字体大小 */
}
/*
* It's important for this rule to first reference an actual font name, some browsers will render the monospace text
* too small otherwise, namely Firefox, Chrome and Safari
*/
font-family: monospace, "Courier New";
font-size: 100%; /* 设置字体大小 */
}