更改字体大小

直接修改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%; /* 设置字体大小 */
}

 

 

相关文章:

  • 2022-12-23
  • 2022-01-22
  • 2021-12-09
  • 2022-01-17
  • 2021-06-22
  • 2021-06-09
  • 2021-09-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2021-07-15
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
相关资源
相似解决方案